The class for DII reply handler. More...
#include <DII_Reply_Handler.h>
Public Types | |
typedef TAO_DII_Reply_Handler_ptr | _ptr_type |
Useful for template programming. | |
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) |
Return a NIL object. | |
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 |
The class for DII reply handler.
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.
Useful for template programming.
Reimplemented from CORBA::LocalObject.
Definition at line 101 of file DII_Reply_Handler.h.
Reimplemented from CORBA::LocalObject.
Definition at line 102 of file DII_Reply_Handler.h.
TAO_DII_Reply_Handler::TAO_DII_Reply_Handler | ( | ) |
Definition at line 30 of file DII_Reply_Handler.cpp.
{ }
TAO_DII_Reply_Handler::~TAO_DII_Reply_Handler | ( | void | ) | [virtual] |
Definition at line 34 of file DII_Reply_Handler.cpp.
{ }
TAO_DII_Reply_Handler_ptr TAO_DII_Reply_Handler::_duplicate | ( | TAO_DII_Reply_Handler_ptr | x | ) | [static] |
CORBA Object related methods.
Definition at line 7 of file DII_Reply_Handler.inl.
{ if (x != 0) { x->_add_ref (); } return x; }
TAO_DII_Reply_Handler_ptr TAO_DII_Reply_Handler::_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
is_local
member into CORBA::Object. I'll take the easier route for now. Reimplemented from CORBA::LocalObject.
Definition at line 39 of file DII_Reply_Handler.cpp.
{ return TAO_DII_Reply_Handler::_unchecked_narrow (obj); }
TAO_DII_Reply_Handler_ptr TAO_DII_Reply_Handler::_nil | ( | void | ) | [static] |
Return a NIL object.
Reimplemented from CORBA::LocalObject.
Definition at line 23 of file DII_Reply_Handler.cpp.
{ return static_cast<TAO_DII_Reply_Handler_ptr> (0); }
TAO_DII_Reply_Handler_ptr TAO_DII_Reply_Handler::_unchecked_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
Definition at line 45 of file DII_Reply_Handler.cpp.
{ if (CORBA::is_nil (obj)) return TAO_DII_Reply_Handler::_nil (); return reinterpret_cast<TAO_DII_Reply_Handler_ptr> ( &TAO_DII_Reply_Handler::_tao_class_id); }
virtual void TAO_DII_Reply_Handler::handle_excep | ( | TAO_InputCDR & | incoming, | |
CORBA::ULong | reply_status | |||
) | [pure virtual] |
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.
{ if (TAO_debug_level > 3) { ACE_DEBUG ((LM_DEBUG, ACE_TEXT("TAO (%P|%t) Base DII_Reply_Handler::") ACE_TEXT("handle_location_forward called, ") ACE_TEXT("reply_status = %d\n"), reply_status)); } this->handle_response (incoming); }
virtual void TAO_DII_Reply_Handler::handle_response | ( | TAO_InputCDR & | incoming | ) | [pure virtual] |
Callback method for asynchronous requests.
int TAO_DII_Reply_Handler::_tao_class_id = 0 [static] |
Definition at line 99 of file DII_Reply_Handler.h.