Public Member Functions

TAO_RequestInterceptor_Adapter_Impl Class Reference

A convenient helper class to invoke registered client request interceptors. More...

#include <RequestInterceptor_Adapter_Impl.h>

Inheritance diagram for TAO_RequestInterceptor_Adapter_Impl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ~TAO_RequestInterceptor_Adapter_Impl (void)
void popTSC (TAO_ORB_Core *orb_core)
void pushTSC (TAO_ORB_Core *orb_core)

Detailed Description

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.


Constructor & Destructor Documentation

TAO_RequestInterceptor_Adapter_Impl::~TAO_RequestInterceptor_Adapter_Impl ( void   ) 

Definition at line 29 of file RequestInterceptor_Adapter_Impl.cpp.

{
}


Member Function Documentation

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 ();
    }
}


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