Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_ServerRequestInterceptor_List Class Reference

Encapsulation for a list of server request interceptors. More...

#include <Interceptor_List.h>

Inheritance diagram for TAO_ServerRequestInterceptor_List:

Inheritance graph
[legend]
Collaboration diagram for TAO_ServerRequestInterceptor_List:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ACE_Array_Base< PortableInterceptor::ServerRequestInterceptor_ptrTYPE
 Define a trait for the underlying portable interceptor array. More...


Public Methods

 TAO_ServerRequestInterceptor_List (void)
 Constructor. More...

 ~TAO_ServerRequestInterceptor_List (void)
 Destructor. More...

void add_interceptor (PortableInterceptor::ServerRequestInterceptor_ptr i ACE_ENV_ARG_DECL)
 Register a server request interceptor. More...

TYPEinterceptors (void)
 Return reference to the underlying Portable Interceptor array. More...


Protected Methods

virtual size_t length (void)
 Return the length of the underlying interceptor array. More...

virtual void length (size_t)
 Set the length of the underlying interceptor array. More...

virtual PortableInterceptor::Interceptor_ptr interceptor (size_t)
 Return the interceptor in array element <index>. More...


Private Attributes

TYPE interceptors_
 Dynamic array of registered server request interceptors. More...


Detailed Description

Encapsulation for a list of server request interceptors.

Definition at line 122 of file Interceptor_List.h.


Member Typedef Documentation

typedef ACE_Array_Base<PortableInterceptor::ServerRequestInterceptor_ptr> TAO_ServerRequestInterceptor_List::TYPE
 

Define a trait for the underlying portable interceptor array.

Definition at line 129 of file Interceptor_List.h.

Referenced by TAO_ORB_Core::destroy_interceptors.


Constructor & Destructor Documentation

TAO_ServerRequestInterceptor_List::TAO_ServerRequestInterceptor_List void   
 

Constructor.

Definition at line 138 of file Interceptor_List.cpp.

00139   : interceptors_ ()
00140 {
00141 }

TAO_ServerRequestInterceptor_List::~TAO_ServerRequestInterceptor_List void   
 

Destructor.

Definition at line 143 of file Interceptor_List.cpp.

References interceptors_, CORBA::release, and ACE_Array_Base< PortableInterceptor::ServerRequestInterceptor_ptr >::size.

00144 {
00145   size_t len = this->interceptors_.size ();
00146 
00147   for (size_t i = 0; i < len; ++i)
00148     CORBA::release (this->interceptors_[i]);
00149 }


Member Function Documentation

void TAO_ServerRequestInterceptor_List::add_interceptor PortableInterceptor::ServerRequestInterceptor_ptr   ACE_ENV_ARG_DECL
 

Register a server request interceptor.

PortableInterceptor::Interceptor_ptr TAO_ServerRequestInterceptor_List::interceptor size_t    [protected, virtual]
 

Return the interceptor in array element <index>.

Implements TAO_Interceptor_List.

Definition at line 164 of file Interceptor_List.cpp.

References interceptors_.

00165 {
00166   return this->interceptors_[index];
00167 }

TYPE& TAO_ServerRequestInterceptor_List::interceptors void   
 

Return reference to the underlying Portable Interceptor array.

void TAO_ServerRequestInterceptor_List::length size_t    [protected, virtual]
 

Set the length of the underlying interceptor array.

Implements TAO_Interceptor_List.

Definition at line 158 of file Interceptor_List.cpp.

References interceptors_, and ACE_Array_Base< PortableInterceptor::ServerRequestInterceptor_ptr >::size.

00159 {
00160   this->interceptors_.size (len);
00161 }

size_t TAO_ServerRequestInterceptor_List::length void    [protected, virtual]
 

Return the length of the underlying interceptor array.

Implements TAO_Interceptor_List.

Definition at line 152 of file Interceptor_List.cpp.

References interceptors_, and ACE_Array_Base< PortableInterceptor::ServerRequestInterceptor_ptr >::size.

00153 {
00154   return this->interceptors_.size ();
00155 }


Member Data Documentation

TYPE TAO_ServerRequestInterceptor_List::interceptors_ [private]
 

Dynamic array of registered server request interceptors.

Definition at line 160 of file Interceptor_List.h.

Referenced by interceptor, length, and ~TAO_ServerRequestInterceptor_List.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:39:31 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002