TAO  2.0.8
Public Member Functions
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 receive_request_service_contexts (TAO_ServerRequest &server_request, TAO::Argument *const args[], size_t nargs, TAO::Portable_Server::Servant_Upcall *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, TAO::Portable_Server::Servant_Upcall *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, TAO::Portable_Server::Servant_Upcall *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, TAO::Portable_Server::Servant_Upcall *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, TAO::Portable_Server::Servant_Upcall *servant_upcall, CORBA::TypeCode_ptr const *exceptions, CORBA::ULong nexceptions)=0

Constructor & Destructor Documentation

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

Member Function Documentation

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

Register an interceptor.

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

Register an interceptor with policies.

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,
TAO::Portable_Server::Servant_Upcall *  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,
TAO::Portable_Server::Servant_Upcall *  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,
TAO::Portable_Server::Servant_Upcall *  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,
TAO::Portable_Server::Servant_Upcall *  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,
TAO::Portable_Server::Servant_Upcall *  servant_upcall,
CORBA::TypeCode_ptr const *  exceptions,
CORBA::ULong  nexceptions 
) [pure virtual]

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


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