#include <it_bus_pdk/interceptor.h>
Inheritance diagram for IT_Bus::ClientMessageInterceptor:
Application specific client message interceptors extend this class, providing an implementation for the intercept_invoke() method.
Definition at line 299 of file interceptor.h.
Public Member Functions | |
ClientMessageInterceptor () | |
No argument constructor. | |
ClientMessageInterceptor (InterceptorFactory *factory) | |
Constructor. | |
virtual void | intercept_invoke (const IT_WSDL::WSDLOperation &wsdl_op, BinaryBuffer &request_buffer, BinaryBuffer &response_buffer, ContextContainer *out_container, ContextContainer *in_container) |
Called by the previous request interceptor in the chain to push the message the next interceptor. | |
Protected Attributes | |
ClientMessageInterceptor * | m_next_interceptor |
Pointer to the next interceptor in the chain. |
IT_Bus::ClientMessageInterceptor::ClientMessageInterceptor | ( | InterceptorFactory * | factory | ) |
Constructor.
A | pointer to an instance of this class' interceptor factory class. |
virtual void IT_Bus::ClientMessageInterceptor::intercept_invoke | ( | const IT_WSDL::WSDLOperation & | wsdl_op, | |
BinaryBuffer & | request_buffer, | |||
BinaryBuffer & | response_buffer, | |||
ContextContainer * | out_container, | |||
ContextContainer * | in_container | |||
) | [virtual] |
Called by the previous request interceptor in the chain to push the message the next interceptor.
This method invokes intercept_invoke() on the interceptor pointed to by the variable m_next_interceptor. Processing logic positioned before the call to the next interceptor's intercept_invoke() method is performed as the request leaves the client application. Processing logic positioned after the call to the next interceptor's intercept_invoke() method is performed as the response returns to the client application.
Pointer to the next interceptor in the chain.
This variable is initialized transparently during assembly of the interceptor chain.
Definition at line 356 of file interceptor.h.