TAO::ServerRequestInterceptor_Adapter Class Reference

ServerRequestInterceptor_Adapter. More...

#include <ServerInterceptorAdapter.h>

Collaboration diagram for TAO::ServerRequestInterceptor_Adapter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ServerRequestInterceptor_Adapter (TAO_ServerRequest &server_request)
 Constructor.
bool location_forwarded (void) const
PortableInterceptor Client Side Interception Points
Each of these methods corresponds to a client side interception point.

void receive_request_service_contexts (TAO::ServerRequestInfo *ri ACE_ENV_ARG_DECL)
void receive_request (TAO::ServerRequestInfo *ri ACE_ENV_ARG_DECL)
 This method an "intermediate" server side interception point.
void send_reply (TAO::ServerRequestInfo *ri ACE_ENV_ARG_DECL)
void send_exception (TAO::ServerRequestInfo *ri ACE_ENV_ARG_DECL)
void send_other (TAO::ServerRequestInfo *ri ACE_ENV_ARG_DECL)

Private Attributes

TAO_ServerRequestInterceptor_List::TYPEinterceptors_
 Reference to the list of registered interceptors.
size_t const len_
size_t & stack_size_
bool location_forwarded_

Detailed Description

ServerRequestInterceptor_Adapter.

A convenient helper class to invoke registered server request interceptor(s).


Constructor & Destructor Documentation

TAO::ServerRequestInterceptor_Adapter::ServerRequestInterceptor_Adapter TAO_ServerRequest server_request  ) 
 

Constructor.


Member Function Documentation

ACE_INLINE bool TAO::ServerRequestInterceptor_Adapter::location_forwarded void   )  const
 

Returns true if a LOCATION_FORWARD was generated, and false otherwise.

void TAO::ServerRequestInterceptor_Adapter::receive_request TAO::ServerRequestInfo *ri  ACE_ENV_ARG_DECL  ) 
 

This method an "intermediate" server side interception point.

void TAO::ServerRequestInterceptor_Adapter::receive_request_service_contexts TAO::ServerRequestInfo *ri  ACE_ENV_ARG_DECL  ) 
 

This method implements the "intermediate" server side interception point if the above ifdef is set to 1 and a starting intercetion point if it is not set to 1.

Note:
This method should have been the "starting" interception point according to the interceptor spec. This will be fixed once Bug 1369 is completely done.

void TAO::ServerRequestInterceptor_Adapter::send_exception TAO::ServerRequestInfo *ri  ACE_ENV_ARG_DECL  ) 
 

This method implements one of the "ending" server side interception points.

void TAO::ServerRequestInterceptor_Adapter::send_other TAO::ServerRequestInfo *ri  ACE_ENV_ARG_DECL  ) 
 

This method implements one of the "ending" server side interception points.

void TAO::ServerRequestInterceptor_Adapter::send_reply TAO::ServerRequestInfo *ri  ACE_ENV_ARG_DECL  ) 
 

This method implements one of the "ending" server side interception points.


Member Data Documentation

TAO_ServerRequestInterceptor_List::TYPE& TAO::ServerRequestInterceptor_Adapter::interceptors_ [private]
 

Reference to the list of registered interceptors.

size_t const TAO::ServerRequestInterceptor_Adapter::len_ [private]
 

Cache the length of the interceptor list so that we don't have to compute it at each stage of the current interception.

bool TAO::ServerRequestInterceptor_Adapter::location_forwarded_ [private]
 

True if a PortableInterceptor::ForwardRequest exception was thrown.

size_t& TAO::ServerRequestInterceptor_Adapter::stack_size_ [private]
 

The number of interceptors "pushed" onto the logical flow stack. This is used when unwinding the flow stack.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:10:39 2005 for TAO_PortableServer by  doxygen 1.4.5