#include <DII_Reply_Handler.h>
Inheritance diagram for TAO_DII_Reply_Handler:
Public Types | |
typedef TAO_DII_Reply_Handler_ptr | _ptr_type |
typedef TAO_DII_Reply_Handler_var | _var_type |
Public Member Functions | |
TAO_DII_Reply_Handler () | |
virtual | ~TAO_DII_Reply_Handler (void) |
virtual void | handle_response (TAO_InputCDR &incoming)=0 |
Callback method for asynchronous requests. | |
virtual void | handle_excep (TAO_InputCDR &incoming, CORBA::ULong reply_status)=0 |
virtual void | handle_location_forward (TAO_InputCDR &incoming, CORBA::ULong reply_status) |
Static Public Member Functions | |
static TAO_DII_Reply_Handler * | _duplicate (TAO_DII_Reply_Handler_ptr) |
CORBA Object related methods. | |
static TAO_DII_Reply_Handler * | _nil (void) |
static TAO_DII_Reply_Handler * | _narrow (CORBA::Object_ptr) |
static TAO_DII_Reply_Handler * | _unchecked_narrow (CORBA::Object_ptr) |
Static Public Attributes | |
static int | _tao_class_id = 0 |
Provides a way to create requests and populate it with parameters for use in the Dynamic Invocation Interface.
Definition at line 73 of file DII_Reply_Handler.h.
TAO_DII_Reply_Handler::TAO_DII_Reply_Handler | ( | ) |
TAO_DII_Reply_Handler::~TAO_DII_Reply_Handler | ( | void | ) | [virtual] |
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_DII_Reply_Handler_ptr TAO_DII_Reply_Handler::_duplicate | ( | TAO_DII_Reply_Handler_ptr | ) | [static] |
CORBA Object related methods.
Definition at line 7 of file DII_Reply_Handler.inl.
References CORBA::Object::_add_ref().
Referenced by TAO_DII_Reply_Handler_var::operator=().
00008 { 00009 if (x != 0) 00010 { 00011 x->_add_ref (); 00012 } 00013 00014 return x; 00015 }
TAO_DII_Reply_Handler_ptr TAO_DII_Reply_Handler::_narrow | ( | CORBA::Object_ptr | ) | [static] |
Reimplemented from CORBA::LocalObject.
Definition at line 39 of file DII_Reply_Handler.cpp.
References _unchecked_narrow().
00040 { 00041 return TAO_DII_Reply_Handler::_unchecked_narrow (obj); 00042 }
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_DII_Reply_Handler_ptr TAO_DII_Reply_Handler::_nil | ( | void | ) | [static] |
Reimplemented from CORBA::LocalObject.
Definition at line 23 of file DII_Reply_Handler.cpp.
Referenced by TAO_DII_Reply_Handler_var::_retn(), _unchecked_narrow(), and TAO_DII_Reply_Handler_var::out().
TAO_DII_Reply_Handler_ptr TAO_DII_Reply_Handler::_unchecked_narrow | ( | CORBA::Object_ptr | ) | [static] |
Definition at line 45 of file DII_Reply_Handler.cpp.
References _nil(), and CORBA::is_nil().
Referenced by _narrow().
00046 { 00047 if (CORBA::is_nil (obj)) 00048 return TAO_DII_Reply_Handler::_nil (); 00049 00050 return 00051 reinterpret_cast<TAO_DII_Reply_Handler_ptr> ( 00052 &TAO_DII_Reply_Handler::_tao_class_id); 00053 }
virtual void TAO_DII_Reply_Handler::handle_excep | ( | TAO_InputCDR & | incoming, | |
CORBA::ULong | reply_status | |||
) | [pure virtual] |
Referenced by CORBA::Request::_tao_reply_stub().
void TAO_DII_Reply_Handler::handle_location_forward | ( | TAO_InputCDR & | incoming, | |
CORBA::ULong | reply_status | |||
) | [virtual] |
Handle a location forward message. This one has a default method supplied that simply forwards to the handle_response, since that is what the legacy code did. This way we maintain backwards compatibility.
Definition at line 56 of file DII_Reply_Handler.cpp.
References ACE_DEBUG, ACE_TEXT, handle_response(), LM_DEBUG, and TAO_debug_level.
Referenced by CORBA::Request::_tao_reply_stub().
00058 { 00059 if (TAO_debug_level > 3) 00060 { 00061 ACE_DEBUG ((LM_DEBUG, 00062 ACE_TEXT("TAO (%P|%t) Base DII_Reply_Handler::") 00063 ACE_TEXT("handle_location_forward called, ") 00064 ACE_TEXT("reply_status = \n"), 00065 reply_status)); 00066 } 00067 this->handle_response (incoming); 00068 }
virtual void TAO_DII_Reply_Handler::handle_response | ( | TAO_InputCDR & | incoming | ) | [pure virtual] |
Callback method for asynchronous requests.
Referenced by CORBA::Request::_tao_reply_stub(), and handle_location_forward().
int TAO_DII_Reply_Handler::_tao_class_id = 0 [static] |
Definition at line 99 of file DII_Reply_Handler.h.