TAO  2.3.3
Public Types | Public Member Functions | List of all members
TAO_Service_Callbacks Class Reference

An Abstract Base class for the hooks in the ORB. More...

#include <Service_Callbacks.h>

Public Types

enum  Profile_Equivalence { EQUIVALENT, NOT_EQUIVALENT, DONT_KNOW }
 

Public Member Functions

virtual ~TAO_Service_Callbacks (void)
 Dtor. More...
 
virtual CORBA::Boolean select_profile (const TAO_MProfile &mprofile, TAO_Profile *&pfile)
 
virtual CORBA::Boolean object_is_nil (CORBA::Object_ptr obj)
 Check whether obj is nil or not. More...
 
virtual Profile_Equivalence is_profile_equivalent (const TAO_Profile *, const TAO_Profile *)
 Check for equivalency of the two profiles. More...
 
virtual CORBA::ULong hash_ft (TAO_Profile *p, CORBA::ULong m)
 Calculate the hash value.. More...
 
virtual CORBA::Boolean is_permanent_forward_condition (const CORBA::Object_ptr obj, const TAO_Service_Context &service_context) const
 Verify if condition is given for LOCATION_FORWARD_PERM reply. More...
 
virtual TAO::Invocation_Status raise_comm_failure (IOP::ServiceContextList &clist, TAO_Profile *profile)
 
virtual TAO::Invocation_Status raise_transient_failure (IOP::ServiceContextList &clist, TAO_Profile *profile)
 

Detailed Description

An Abstract Base class for the hooks in the ORB.

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.

Member Enumeration Documentation

Enumerator
EQUIVALENT 
NOT_EQUIVALENT 
DONT_KNOW 

Constructor & Destructor Documentation

TAO_Service_Callbacks::~TAO_Service_Callbacks ( void  )
virtual

Dtor.

Member Function Documentation

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

Verify if condition is given for LOCATION_FORWARD_PERM reply.

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 
)
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 
)
virtual

Allow the service layer to decide whether the TRANSIENT exception should be thrown or a reinvocation is needed

CORBA::Boolean TAO_Service_Callbacks::select_profile ( const 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


The documentation for this class was generated from the following files: