1 #include "tao/Service_Callbacks.h"
2 #include "tao/ORB_Constants.h"
3 #include "tao/SystemException.h"
4 #include "tao/Invocation_Utils.h"
6 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
8 TAO_Service_Callbacks::~TAO_Service_Callbacks ()
13 TAO_Service_Callbacks::select_profile (const TAO_MProfile
& /*mprofile*/,
14 TAO_Profile
*& /*pfile*/)
20 TAO_Service_Callbacks::object_is_nil (CORBA::Object_ptr
/* obj */)
22 // We shouldn't be here at all. But in case if we are here,
23 // something is wrong. So, we send a true for a is_nil () call
27 TAO_Service_Callbacks::Profile_Equivalence
28 TAO_Service_Callbacks::is_profile_equivalent (const TAO_Profile
*,
35 TAO_Service_Callbacks::hash_ft (TAO_Profile
*,
42 TAO_Service_Callbacks::is_permanent_forward_condition (const CORBA::Object_ptr
,
43 const TAO_Service_Context
&) const
48 TAO::Invocation_Status
49 TAO_Service_Callbacks::raise_comm_failure (
50 IOP::ServiceContextList
&,
51 TAO_Profile
* /*profile*/)
53 throw ::CORBA::COMM_FAILURE (
54 CORBA::SystemException::_tao_minor_code (
55 TAO_INVOCATION_RECV_REQUEST_MINOR_CODE
,
57 CORBA::COMPLETED_MAYBE
);
60 TAO::Invocation_Status
61 TAO_Service_Callbacks::raise_transient_failure (
62 IOP::ServiceContextList
&,
63 TAO_Profile
* /*profile*/ )
65 throw ::CORBA::TRANSIENT (
66 CORBA::SystemException::_tao_minor_code (
67 TAO_INVOCATION_RECV_REQUEST_MINOR_CODE
,
69 CORBA::COMPLETED_MAYBE
);
72 TAO_END_VERSIONED_NAMESPACE_DECL