IT_Bus::ServerMessageInterceptor Class Reference

#include <it_bus_pdk/interceptor.h>

Inheritance diagram for IT_Bus::ServerMessageInterceptor:

IT_Bus::Interceptor List of all members.

Detailed Description

Base class for server message interceptors.

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

ServerMessageInterceptorm_in_interceptor
 Pointer to the next interceptor in the chain.
ServerMessageInterceptorm_out_interceptor
 Pointer to the previous interceptor in the chain.


Constructor & Destructor Documentation

IT_Bus::ServerMessageInterceptor::ServerMessageInterceptor ( InterceptorFactory factory  ) 

Constructor.

Parameters:
A pointer to an instance of this class' interceptor factory class.


Member Function Documentation

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.


Member Data Documentation

ServerMessageInterceptor* IT_Bus::ServerMessageInterceptor::m_in_interceptor [protected]

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.

ServerMessageInterceptor* IT_Bus::ServerMessageInterceptor::m_out_interceptor [protected]

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.


Generated on Thu Sep 7 11:40:19 2006 for Artix by  doxygen 1.4.7