#include <ServerRequestInterceptorC.h>
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 &) |
Definition at line 120 of file ServerRequestInterceptorC.h.
Definition at line 124 of file ServerRequestInterceptorC.h.
Definition at line 125 of file ServerRequestInterceptorC.h.
PortableInterceptor::ServerRequestInterceptor::ServerRequestInterceptor | ( | void | ) | [protected] |
PortableInterceptor::ServerRequestInterceptor::~ServerRequestInterceptor | ( | void | ) | [protected, virtual] |
PortableInterceptor::ServerRequestInterceptor::ServerRequestInterceptor | ( | const ServerRequestInterceptor & | ) | [private] |
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] |
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] |
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 | ) |
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] |