#include <Service_Callbacks.h>
Public Types | |
EQUIVALENT | |
NOT_EQUIVALENT | |
DONT_KNOW | |
enum | Profile_Equivalence { EQUIVALENT, NOT_EQUIVALENT, DONT_KNOW } |
Public Member Functions | |
virtual | ~TAO_Service_Callbacks (void) |
Dtor. | |
virtual CORBA::Boolean | select_profile (TAO_MProfile *mprofile, TAO_Profile *&pfile) |
virtual CORBA::Boolean | reselect_profile (TAO_Stub *stub, TAO_Profile *&pfile) |
virtual void | reset_profile_flags (void) |
Reset the profile flags that the services could have. | |
virtual CORBA::Boolean | object_is_nil (CORBA::Object_ptr obj) |
Check whether <obj> is nil or not. | |
virtual Profile_Equivalence | is_profile_equivalent (const TAO_Profile *, const TAO_Profile *) |
Check for equivalency of the two profiles. | |
virtual CORBA::ULong | hash_ft (TAO_Profile *p, CORBA::ULong m) |
Calculate the hash value.. | |
virtual CORBA::Boolean | is_permanent_forward_condition (const CORBA::Object_ptr obj, const TAO_Service_Context &service_context) const |
virtual TAO::Invocation_Status | raise_comm_failure (IOP::ServiceContextList &clist, TAO_Profile *profile, CORBA::Environment &_ACE_CORBA_Environment_variable) |
virtual TAO::Invocation_Status | raise_transient_failure (IOP::ServiceContextList &clist, TAO_Profile *profile, CORBA::Environment &_ACE_CORBA_Environment_variable) |
This class (would) define all the hooks that may be needed by the ORB to override some of its default behaviour. The methods can be potentially used to call service level specific processing that may be required.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Service_Callbacks::~TAO_Service_Callbacks | ( | void | ) | [virtual] |
Dtor.
CORBA::ULong TAO_Service_Callbacks::hash_ft | ( | TAO_Profile * | p, | |
CORBA::ULong | m | |||
) | [virtual] |
Calculate the hash value..
CORBA::Boolean TAO_Service_Callbacks::is_permanent_forward_condition | ( | const CORBA::Object_ptr | obj, | |
const TAO_Service_Context & | service_context | |||
) | const [virtual] |
TAO_Service_Callbacks::Profile_Equivalence TAO_Service_Callbacks::is_profile_equivalent | ( | const TAO_Profile * | , | |
const TAO_Profile * | ||||
) | [virtual] |
Check for equivalency of the two profiles.
CORBA::Boolean TAO_Service_Callbacks::object_is_nil | ( | CORBA::Object_ptr | obj | ) | [virtual] |
Check whether <obj> is nil or not.
TAO::Invocation_Status TAO_Service_Callbacks::raise_comm_failure | ( | IOP::ServiceContextList & | clist, | |
TAO_Profile * | profile, | |||
CORBA::Environment & | _ACE_CORBA_Environment_variable | |||
) | [virtual] |
Allow the service layer to decide whether the COMM_FAILURE exception should be thrown or a reinvocation is needed
TAO::Invocation_Status TAO_Service_Callbacks::raise_transient_failure | ( | IOP::ServiceContextList & | clist, | |
TAO_Profile * | profile, | |||
CORBA::Environment & | _ACE_CORBA_Environment_variable | |||
) | [virtual] |
Allow the service layer to decide whether the TRANSIENT exception should be thrown or a reinvocation is needed
CORBA::Boolean TAO_Service_Callbacks::reselect_profile | ( | TAO_Stub * | stub, | |
TAO_Profile *& | pfile | |||
) | [virtual] |
Select the profile from MProfile as the needs of the services may be. Return the profile in <pfile>
void TAO_Service_Callbacks::reset_profile_flags | ( | void | ) | [virtual] |
Reset the profile flags that the services could have.
CORBA::Boolean TAO_Service_Callbacks::select_profile | ( | TAO_MProfile * | mprofile, | |
TAO_Profile *& | pfile | |||
) | [virtual] |
Select the profile from MProfile as the needs of the services may be. Return the profile in <pfile>