PortableInterceptor::ServerRequestInterceptor Class Reference

#include <ServerRequestInterceptorC.h>

List of all members.

Public Types

typedef ServerRequestInterceptor_ptr _ptr_type
typedef ServerRequestInterceptor_var _var_type

Public Member Functions

virtual void receive_request_service_contexts (::PortableInterceptor::ServerRequestInfo_ptr ri)=0
virtual void receive_request (::PortableInterceptor::ServerRequestInfo_ptr ri)=0
virtual void send_reply (::PortableInterceptor::ServerRequestInfo_ptr ri)=0
virtual void send_exception (::PortableInterceptor::ServerRequestInfo_ptr ri)=0
virtual void send_other (::PortableInterceptor::ServerRequestInfo_ptr ri)=0
virtual ::CORBA::Boolean _is_a (const char *type_id)
virtual const char * _interface_repository_id (void) const
virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr)

Static Public Member Functions

static ServerRequestInterceptor_ptr _duplicate (ServerRequestInterceptor_ptr obj)
static void _tao_release (ServerRequestInterceptor_ptr obj)
static ServerRequestInterceptor_ptr _narrow (::CORBA::Object_ptr obj)
static ServerRequestInterceptor_ptr _unchecked_narrow (::CORBA::Object_ptr obj)
static ServerRequestInterceptor_ptr _nil (void)

Protected Member Functions

 ServerRequestInterceptor (void)
virtual ~ServerRequestInterceptor (void)

Private Member Functions

 ServerRequestInterceptor (const ServerRequestInterceptor &)
void operator= (const ServerRequestInterceptor &)


Detailed Description

Definition at line 120 of file ServerRequestInterceptorC.h.


Member Typedef Documentation

typedef ServerRequestInterceptor_ptr PortableInterceptor::ServerRequestInterceptor::_ptr_type

Definition at line 124 of file ServerRequestInterceptorC.h.

typedef ServerRequestInterceptor_var PortableInterceptor::ServerRequestInterceptor::_var_type

Definition at line 125 of file ServerRequestInterceptorC.h.


Constructor & Destructor Documentation

PortableInterceptor::ServerRequestInterceptor::ServerRequestInterceptor ( void   )  [protected]

Definition at line 84 of file ServerRequestInterceptorC.cpp.

00085 {}

PortableInterceptor::ServerRequestInterceptor::~ServerRequestInterceptor ( void   )  [protected, virtual]

Definition at line 87 of file ServerRequestInterceptorC.cpp.

00088 {}

PortableInterceptor::ServerRequestInterceptor::ServerRequestInterceptor ( const ServerRequestInterceptor  )  [private]


Member Function Documentation

PortableInterceptor::ServerRequestInterceptor_ptr PortableInterceptor::ServerRequestInterceptor::_duplicate ( ServerRequestInterceptor_ptr  obj  )  [static]

Definition at line 113 of file ServerRequestInterceptorC.cpp.

References CORBA::is_nil().

Referenced by _narrow(), and _unchecked_narrow().

00114 {
00115   if (! ::CORBA::is_nil (obj))
00116     {
00117       obj->_add_ref ();
00118     }
00119 
00120   return obj;
00121 }

const char * PortableInterceptor::ServerRequestInterceptor::_interface_repository_id ( void   )  const [virtual]

Definition at line 162 of file ServerRequestInterceptorC.cpp.

00163 {
00164   return "IDL:omg.org/PortableInterceptor/ServerRequestInterceptor:1.0";
00165 }

CORBA::Boolean PortableInterceptor::ServerRequestInterceptor::_is_a ( const char *  type_id  ) 

Definition at line 130 of file ServerRequestInterceptorC.cpp.

References ACE_OS::strcmp().

00134 {
00135   if (
00136       !ACE_OS::strcmp (
00137           value,
00138           "IDL:omg.org/PortableInterceptor/Interceptor:1.0"
00139         ) ||
00140       !ACE_OS::strcmp (
00141           value,
00142           "IDL:omg.org/PortableInterceptor/ServerRequestInterceptor:1.0"
00143         ) ||
00144       !ACE_OS::strcmp (
00145           value,
00146           "IDL:omg.org/CORBA/LocalObject:1.0"
00147         ) ||
00148       !ACE_OS::strcmp (
00149           value,
00150           "IDL:omg.org/CORBA/Object:1.0"
00151         )
00152     )
00153     {
00154       return true; // success using local knowledge
00155     }
00156   else
00157     {
00158       return false;
00159     }
00160 }

PortableInterceptor::ServerRequestInterceptor_ptr PortableInterceptor::ServerRequestInterceptor::_narrow ( ::CORBA::Object_ptr  obj  )  [static]

Definition at line 91 of file ServerRequestInterceptorC.cpp.

References _duplicate().

00095 {
00096   return ServerRequestInterceptor::_duplicate (
00097       dynamic_cast<ServerRequestInterceptor_ptr> (_tao_objref)
00098     );
00099 }

static ServerRequestInterceptor_ptr PortableInterceptor::ServerRequestInterceptor::_nil ( void   )  [inline, static]

Definition at line 142 of file ServerRequestInterceptorC.h.

00143     {
00144       return static_cast<ServerRequestInterceptor_ptr> (0);
00145     }

void PortableInterceptor::ServerRequestInterceptor::_tao_release ( ServerRequestInterceptor_ptr  obj  )  [static]

Definition at line 124 of file ServerRequestInterceptorC.cpp.

References release().

00125 {
00126   ::CORBA::release (obj);
00127 }

PortableInterceptor::ServerRequestInterceptor_ptr PortableInterceptor::ServerRequestInterceptor::_unchecked_narrow ( ::CORBA::Object_ptr  obj  )  [static]

Definition at line 102 of file ServerRequestInterceptorC.cpp.

References _duplicate().

00106 {
00107   return ServerRequestInterceptor::_duplicate (
00108       dynamic_cast<ServerRequestInterceptor_ptr> (_tao_objref)
00109     );
00110 }

CORBA::Boolean PortableInterceptor::ServerRequestInterceptor::marshal ( TAO_OutputCDR cdr  ) 

Definition at line 168 of file ServerRequestInterceptorC.cpp.

00169 {
00170   return false;
00171 }

void PortableInterceptor::ServerRequestInterceptor::operator= ( const ServerRequestInterceptor  )  [private]

virtual void PortableInterceptor::ServerRequestInterceptor::receive_request ( ::PortableInterceptor::ServerRequestInfo_ptr  ri  )  [pure virtual]

virtual void PortableInterceptor::ServerRequestInterceptor::receive_request_service_contexts ( ::PortableInterceptor::ServerRequestInfo_ptr  ri  )  [pure virtual]

virtual void PortableInterceptor::ServerRequestInterceptor::send_exception ( ::PortableInterceptor::ServerRequestInfo_ptr  ri  )  [pure virtual]

virtual void PortableInterceptor::ServerRequestInterceptor::send_other ( ::PortableInterceptor::ServerRequestInfo_ptr  ri  )  [pure virtual]

virtual void PortableInterceptor::ServerRequestInterceptor::send_reply ( ::PortableInterceptor::ServerRequestInfo_ptr  ri  )  [pure virtual]


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:42:19 2010 for TAO_PI_Server by  doxygen 1.4.7