A convenient helper class to invoke registered client request interceptors. More...
#include <RequestInterceptor_Adapter_Impl.h>

Public Member Functions | |
| ~TAO_RequestInterceptor_Adapter_Impl (void) | |
| void | popTSC (TAO_ORB_Core *orb_core) |
| void | pushTSC (TAO_ORB_Core *orb_core) |
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.
Definition at line 45 of file RequestInterceptor_Adapter_Impl.h.
| TAO_RequestInterceptor_Adapter_Impl::~TAO_RequestInterceptor_Adapter_Impl | ( | void | ) |
Definition at line 29 of file RequestInterceptor_Adapter_Impl.cpp.
{
}
| void TAO_RequestInterceptor_Adapter_Impl::popTSC | ( | TAO_ORB_Core * | orb_core | ) |
Reimplemented in TAO::ClientRequestInterceptor_Adapter_Impl, and TAO::ServerRequestInterceptor_Adapter_Impl.
Definition at line 34 of file RequestInterceptor_Adapter_Impl.cpp.
{
// Retrieve the thread scope current (no TSS access incurred yet).
TAO::PICurrent
*pi_current= dynamic_cast <TAO::PICurrent *> (
orb_core->pi_current ());
// If the slot count is zero, there is nothing to copy. Prevent any
// copying (and hence TSS accesses) from occurring.
if (pi_current && pi_current->slot_count ())
{
pi_current->tsc ()->pop ();
}
}
| void TAO_RequestInterceptor_Adapter_Impl::pushTSC | ( | TAO_ORB_Core * | orb_core | ) |
Reimplemented in TAO::ClientRequestInterceptor_Adapter_Impl, and TAO::ServerRequestInterceptor_Adapter_Impl.
Definition at line 51 of file RequestInterceptor_Adapter_Impl.cpp.
{
// Retrieve the thread scope current (no TSS access incurred yet).
TAO::PICurrent
*pi_current= dynamic_cast <TAO::PICurrent *> (
orb_core->pi_current ());
// If the slot count is zero, there is nothing to copy. Prevent any
// copying (and hence TSS accesses) from occurring.
if (pi_current && pi_current->slot_count ())
{
pi_current->tsc ()->push ();
}
}
1.7.0