IT_Bus::ClientMessageInterceptor Class Reference

#include <it_bus_pdk/interceptor.h>

Inheritance diagram for IT_Bus::ClientMessageInterceptor:

IT_Bus::Interceptor List of all members.

Detailed Description

Base class for client message interceptors.

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

ClientMessageInterceptorm_next_interceptor
 Pointer to the next interceptor in the chain.


Constructor & Destructor Documentation

IT_Bus::ClientMessageInterceptor::ClientMessageInterceptor ( InterceptorFactory factory  ) 

Constructor.

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


Member Function Documentation

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.


Member Data Documentation

ClientMessageInterceptor* IT_Bus::ClientMessageInterceptor::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 356 of file interceptor.h.


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