A convenient helper class to invoke registered client request interceptors. More...
#include <ClientRequestInterceptor_Adapter.h>
Public Member Functions | |
virtual | ~ClientRequestInterceptor_Adapter (void) |
PortableInterceptor Client Side Interception Points | |
Each of these methods corresponds to a client side interception point. There are no "intermediate" interception points on the client side, only "starting" and "ending" interception points. | |
virtual void | send_request (Invocation_Base &invocation)=0 |
virtual void | receive_reply (Invocation_Base &invocation)=0 |
virtual void | receive_exception (Invocation_Base &invocation)=0 |
virtual void | receive_other (Invocation_Base &invocation)=0 |
virtual void | add_interceptor (PortableInterceptor::ClientRequestInterceptor_ptr interceptor)=0 |
Register an interceptor. | |
virtual void | add_interceptor (PortableInterceptor::ClientRequestInterceptor_ptr interceptor, const CORBA::PolicyList &policies)=0 |
Register an interceptor with policies. | |
virtual PortableInterceptor::ReplyStatus | pi_reply_status (TAO::Invocation_Base const &invocation_base)=0 |
Convert TAO Invocation status to a PI status. |
A convenient helper class to invoke registered client request interceptors.
This class invokes all registered interceptors at interception point, and enforces flow rules dictated by the Portable Interceptor specification/chapter.
TAO::ClientRequestInterceptor_Adapter::~ClientRequestInterceptor_Adapter | ( | void | ) | [virtual] |
virtual void TAO::ClientRequestInterceptor_Adapter::add_interceptor | ( | PortableInterceptor::ClientRequestInterceptor_ptr | interceptor ) | [pure virtual] |
Register an interceptor.
virtual void TAO::ClientRequestInterceptor_Adapter::add_interceptor | ( | PortableInterceptor::ClientRequestInterceptor_ptr | interceptor, |
const CORBA::PolicyList & | policies | ||
) | [pure virtual] |
Register an interceptor with policies.
virtual PortableInterceptor::ReplyStatus TAO::ClientRequestInterceptor_Adapter::pi_reply_status | ( | TAO::Invocation_Base const & | invocation_base ) | [pure virtual] |
Convert TAO Invocation status to a PI status.
virtual void TAO::ClientRequestInterceptor_Adapter::receive_exception | ( | Invocation_Base & | invocation ) | [pure virtual] |
This method implements one of the "ending" client side interception point.
virtual void TAO::ClientRequestInterceptor_Adapter::receive_other | ( | Invocation_Base & | invocation ) | [pure virtual] |
This method implements one of the "ending" client side interception point.
virtual void TAO::ClientRequestInterceptor_Adapter::receive_reply | ( | Invocation_Base & | invocation ) | [pure virtual] |
This method implements one of the "ending" client side interception point.
virtual void TAO::ClientRequestInterceptor_Adapter::send_request | ( | Invocation_Base & | invocation ) | [pure virtual] |
This method implements one of the "starting" client side interception points.