TAO::ServerRequestInterceptor_Adapter Class Reference

#include <ServerRequestInterceptor_Adapter.h>

Inheritance diagram for TAO::ServerRequestInterceptor_Adapter:
Inheritance graph
[legend]
Collaboration diagram for TAO::ServerRequestInterceptor_Adapter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~ServerRequestInterceptor_Adapter (void)
virtual void add_interceptor (PortableInterceptor::ServerRequestInterceptor_ptr interceptor)=0
 Register an interceptor.
virtual void add_interceptor (PortableInterceptor::ServerRequestInterceptor_ptr interceptor, const CORBA::PolicyList &policies)=0
 Register an interceptor with policies.
virtual TAO::PICurrent_Impl * allocate_pi_current (void)=0
virtual void deallocate_pi_current (TAO::PICurrent_Impl *picurrent)=0
virtual void execute_command (TAO_ServerRequest &server_request, TAO::Upcall_Command &command)=0
PortableInterceptor Server Side Interception Points

Each of these methods corresponds to a client side interception point.



virtual void tao_ft_interception_point (TAO_ServerRequest &server_request, TAO::Argument *const args[], size_t nargs, void *servant_upcall, CORBA::TypeCode_ptr const *exceptions, CORBA::ULong nexceptions, CORBA::OctetSeq_out oc)=0
virtual void receive_request_service_contexts (TAO_ServerRequest &server_request, TAO::Argument *const args[], size_t nargs, void *servant_upcall, CORBA::TypeCode_ptr const *exceptions, CORBA::ULong nexceptions)=0
virtual void receive_request (TAO_ServerRequest &server_request, TAO::Argument *const args[], size_t nargs, void *servant_upcall, CORBA::TypeCode_ptr const *exceptions, CORBA::ULong nexceptions)=0
 This method an "intermediate" server side interception point.
virtual void send_reply (TAO_ServerRequest &server_request, TAO::Argument *const args[], size_t nargs, void *servant_upcall, CORBA::TypeCode_ptr const *exceptions, CORBA::ULong nexceptions)=0
virtual void send_exception (TAO_ServerRequest &server_request, TAO::Argument *const args[], size_t nargs, void *servant_upcall, CORBA::TypeCode_ptr const *exceptions, CORBA::ULong nexceptions)=0
virtual void send_other (TAO_ServerRequest &server_request, TAO::Argument *const args[], size_t nargs, void *servant_upcall, CORBA::TypeCode_ptr const *exceptions, CORBA::ULong nexceptions)=0

Constructor & Destructor Documentation

virtual TAO::ServerRequestInterceptor_Adapter::~ServerRequestInterceptor_Adapter ( void   )  [virtual]

Member Function Documentation

virtual void TAO::ServerRequestInterceptor_Adapter::add_interceptor ( PortableInterceptor::ServerRequestInterceptor_ptr  interceptor,
const CORBA::PolicyList &  policies 
) [pure virtual]

Register an interceptor with policies.

virtual void TAO::ServerRequestInterceptor_Adapter::add_interceptor ( PortableInterceptor::ServerRequestInterceptor_ptr  interceptor  )  [pure virtual]

Register an interceptor.

virtual TAO::PICurrent_Impl* TAO::ServerRequestInterceptor_Adapter::allocate_pi_current ( void   )  [pure virtual]
virtual void TAO::ServerRequestInterceptor_Adapter::deallocate_pi_current ( TAO::PICurrent_Impl *  picurrent  )  [pure virtual]
virtual void TAO::ServerRequestInterceptor_Adapter::execute_command ( TAO_ServerRequest server_request,
TAO::Upcall_Command &  command 
) [pure virtual]
virtual void TAO::ServerRequestInterceptor_Adapter::receive_request ( TAO_ServerRequest server_request,
TAO::Argument *const   args[],
size_t  nargs,
void *  servant_upcall,
CORBA::TypeCode_ptr const *  exceptions,
CORBA::ULong  nexceptions 
) [pure virtual]

This method an "intermediate" server side interception point.

virtual void TAO::ServerRequestInterceptor_Adapter::receive_request_service_contexts ( TAO_ServerRequest server_request,
TAO::Argument *const   args[],
size_t  nargs,
void *  servant_upcall,
CORBA::TypeCode_ptr const *  exceptions,
CORBA::ULong  nexceptions 
) [pure virtual]

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.
virtual void TAO::ServerRequestInterceptor_Adapter::send_exception ( TAO_ServerRequest server_request,
TAO::Argument *const   args[],
size_t  nargs,
void *  servant_upcall,
CORBA::TypeCode_ptr const *  exceptions,
CORBA::ULong  nexceptions 
) [pure virtual]

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

virtual void TAO::ServerRequestInterceptor_Adapter::send_other ( TAO_ServerRequest server_request,
TAO::Argument *const   args[],
size_t  nargs,
void *  servant_upcall,
CORBA::TypeCode_ptr const *  exceptions,
CORBA::ULong  nexceptions 
) [pure virtual]

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

virtual void TAO::ServerRequestInterceptor_Adapter::send_reply ( TAO_ServerRequest server_request,
TAO::Argument *const   args[],
size_t  nargs,
void *  servant_upcall,
CORBA::TypeCode_ptr const *  exceptions,
CORBA::ULong  nexceptions 
) [pure virtual]

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

virtual void TAO::ServerRequestInterceptor_Adapter::tao_ft_interception_point ( TAO_ServerRequest server_request,
TAO::Argument *const   args[],
size_t  nargs,
void *  servant_upcall,
CORBA::TypeCode_ptr const *  exceptions,
CORBA::ULong  nexceptions,
CORBA::OctetSeq_out  oc 
) [pure virtual]

This method implements the "starting" server side interception point. It will be used as the first interception point and it is proprietary to TAO.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Sep 11 04:10:33 2009 for TAO by  doxygen 1.6.1