#include <it_bus_pdk/interceptor.h>
Inheritance diagram for IT_Bus::ServerMessageInterceptor:
Application specific server message interceptors extend this class, providing implementations for the message_received() and message_sent() methods.
Definition at line 109 of file interceptor.h.
Public Member Functions | |
ServerMessageInterceptor () | |
No argument constructor. | |
ServerMessageInterceptor (InterceptorFactory *factory) | |
Constructor. | |
virtual void | message_received (BinaryBuffer &in_message, DispatchInfo &dispatch_context) |
Called when a message is received from a client travelling to the servant. | |
virtual void | send_message (BinaryBuffer &out_message, DispatchInfo &dispatch_context) |
Called when the response is being sent from the servant to the client. | |
Protected Attributes | |
ServerMessageInterceptor * | m_in_interceptor |
Pointer to the next interceptor in the chain. | |
ServerMessageInterceptor * | m_out_interceptor |
Pointer to the previous interceptor in the chain. |
IT_Bus::ServerMessageInterceptor::ServerMessageInterceptor | ( | InterceptorFactory * | factory | ) |
Constructor.
A | pointer to an instance of this class' interceptor factory class. |
virtual void IT_Bus::ServerMessageInterceptor::message_received | ( | BinaryBuffer & | in_message, | |
DispatchInfo & | dispatch_context | |||
) | [virtual] |
Called when a message is received from a client travelling to the servant.
This method must invoke ServerMessageInterceptor::message_received() to call the next interceptor in the chain.
virtual void IT_Bus::ServerMessageInterceptor::send_message | ( | BinaryBuffer & | out_message, | |
DispatchInfo & | dispatch_context | |||
) | [virtual] |
Called when the response is being sent from the servant to the client.
This method must invoke ServerMessageInterceptor::send_message() to call the next interceptor in the chain.
Pointer to the next interceptor in the chain.
This variable is initialized transparently during assembly of the interceptor chain.
Definition at line 172 of file interceptor.h.
Pointer to the previous interceptor in the chain.
This variable is initialized transparently during assembly of the interceptor chain.
Definition at line 180 of file interceptor.h.