2 #include "ExceptionList.h"
3 #include "DII_Invocation.h"
4 #if defined (TAO_HAS_AMI)
5 #include "DII_Reply_Handler.h"
6 #endif /* TAO_HAS_AMI */
8 #include "tao/Object.h"
9 #include "tao/Pluggable_Messaging_Utils.h"
11 #if !defined (__ACE_INLINE__)
12 # include "DII_Reply_Handler.inl"
13 #endif /* ! __ACE_INLINE__ */
15 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
17 // The pseudo-object _nil method.
18 TAO_DII_Reply_Handler_ptr
19 TAO_DII_Reply_Handler::_nil ()
24 // DII Request class implementation
25 int TAO_DII_Reply_Handler::_tao_class_id
= 0;
27 TAO_DII_Reply_Handler::~TAO_DII_Reply_Handler ()
31 TAO_DII_Reply_Handler_ptr
32 TAO_DII_Reply_Handler::_narrow (CORBA::Object_ptr obj
)
34 return TAO_DII_Reply_Handler::_unchecked_narrow (obj
);
37 TAO_DII_Reply_Handler_ptr
38 TAO_DII_Reply_Handler::_unchecked_narrow (CORBA::Object_ptr obj
)
40 if (CORBA::is_nil (obj
))
41 return TAO_DII_Reply_Handler::_nil ();
44 reinterpret_cast<TAO_DII_Reply_Handler_ptr
> (
45 &TAO_DII_Reply_Handler::_tao_class_id
);
49 TAO_DII_Reply_Handler::handle_location_forward (TAO_InputCDR
&incoming
,
50 CORBA::ULong reply_status
)
52 if (TAO_debug_level
> 3)
54 TAOLIB_DEBUG ((LM_DEBUG
,
55 ACE_TEXT("TAO (%P|%t) Base DII_Reply_Handler::")
56 ACE_TEXT("handle_location_forward called, ")
57 ACE_TEXT("reply_status = %d\n"),
60 this->handle_response (incoming
);
63 TAO_END_VERSIONED_NAMESPACE_DECL