IT_Bus::ClientRequestInterceptor Class Reference

#include <it_bus_pdk/interceptor.h>

Inheritance diagram for IT_Bus::ClientRequestInterceptor:

IT_Bus::Interceptor List of all members.

Detailed Description

Base class for client request interceptors.

Application specific client request interceptors extend this class, providing an implementation for the intercept_invoke() method.

Definition at line 366 of file interceptor.h.

Public Member Functions

 ClientRequestInterceptor ()
 No argument constructor.
 ClientRequestInterceptor (InterceptorFactory *factory)
 Constructor.
virtual void intercept_invoke (ClientOperation &data)
 Called by the previous request interceptor in the chain to push the message the next interceptor.

Protected Attributes

ClientRequestInterceptorm_next_interceptor
 Pointer to the next interceptor in the chain.


Constructor & Destructor Documentation

IT_Bus::ClientRequestInterceptor::ClientRequestInterceptor ( InterceptorFactory factory  ) 

Constructor.

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


Member Function Documentation

virtual void IT_Bus::ClientRequestInterceptor::intercept_invoke ( ClientOperation data  )  [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.


Member Data Documentation

ClientRequestInterceptor* IT_Bus::ClientRequestInterceptor::m_next_interceptor [protected]

Pointer to the next interceptor in the chain.

This variable is initialized transparently during assembly of the interceptor chain.

Definition at line 419 of file interceptor.h.


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