TAO 4.0.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TAO_Abstract_ServantBase Class Referenceabstract

#include <Abstract_Servant_Base.h>

Public Member Functions

virtual ~TAO_Abstract_ServantBase ()
 Destructor.
 
virtual CORBA::Boolean _is_a (const char *logical_type_id)=0
 Local implementation of the CORBA::Object::_is_a method.
 
virtual CORBA::Boolean _non_existent ()=0
 Default _non_existent: always returns false.
 
virtual CORBA::InterfaceDef_ptr _get_interface ()=0
 Query the Interface Repository.
 
virtual CORBA::Object_ptr _get_component ()=0
 Default _get_component: always returns nil.
 
virtual char * _repository_id ()=0
 Default _repository_id.
 

Reference Counting Operations

virtual void _add_ref ()=0
 Increase reference count by one.
 
virtual void _remove_ref ()=0
 
virtual CORBA::ULong _refcount_value () const =0
 Returns the current reference count value.
 
virtual TAO_Stub_create_stub ()=0
 This is an auxiliary method for _this() and _narrow().
 
virtual int _find (const char *opname, TAO_Skeleton &skelfunc, const size_t length=0)=0
 
virtual int _find (const char *opname, TAO_Collocated_Skeleton &skelfunc, TAO::Collocation_Strategy s, const size_t length=0)=0
 
virtual void _collocated_dispatch (::CORBA::Object_ptr obj, ::CORBA::Object_out forward_obj, bool &is_forwarded, TAO::Argument **args, int num_args, const char *op, size_t op_len, TAO::Collocation_Strategy strategy)=0
 Increase reference count by one.
 
 TAO_Abstract_ServantBase ()
 Default constructor, only derived classes can be created.
 
 TAO_Abstract_ServantBase (const TAO_Abstract_ServantBase &)
 Copy constructor, protected so no instances can be created.
 
TAO_Abstract_ServantBaseoperator= (const TAO_Abstract_ServantBase &)
 Assignment operator.
 
virtual void _dispatch (TAO_ServerRequest &request, TAO::Portable_Server::Servant_Upcall *servant_upcall)=0
 Dispatches a request to the object.
 
virtual const char * _interface_repository_id () const =0
 Get this interface's repository id (TAO specific).
 

Constructor & Destructor Documentation

◆ ~TAO_Abstract_ServantBase()

TAO_Abstract_ServantBase::~TAO_Abstract_ServantBase ( )
virtual

Destructor.

◆ TAO_Abstract_ServantBase() [1/2]

TAO_Abstract_ServantBase::TAO_Abstract_ServantBase ( )
protected

Default constructor, only derived classes can be created.

◆ TAO_Abstract_ServantBase() [2/2]

TAO_Abstract_ServantBase::TAO_Abstract_ServantBase ( const TAO_Abstract_ServantBase & )
protected

Copy constructor, protected so no instances can be created.

Member Function Documentation

◆ _add_ref()

virtual void TAO_Abstract_ServantBase::_add_ref ( )
pure virtual

Increase reference count by one.

◆ _collocated_dispatch()

virtual void TAO_Abstract_ServantBase::_collocated_dispatch ( ::CORBA::Object_ptr obj,
::CORBA::Object_out forward_obj,
bool & is_forwarded,
TAO::Argument ** args,
int num_args,
const char * op,
size_t op_len,
TAO::Collocation_Strategy strategy )
pure virtual

Increase reference count by one.

◆ _create_stub()

virtual TAO_Stub * TAO_Abstract_ServantBase::_create_stub ( )
pure virtual

This is an auxiliary method for _this() and _narrow().

◆ _dispatch()

virtual void TAO_Abstract_ServantBase::_dispatch ( TAO_ServerRequest & request,
TAO::Portable_Server::Servant_Upcall * servant_upcall )
protectedpure virtual

Dispatches a request to the object.

Find the operation, cast the type to the most derived type, demarshall all the parameters from the request and finally invokes the operation, storing the results and out parameters (if any) or the exceptions thrown into request.

◆ _find() [1/2]

virtual int TAO_Abstract_ServantBase::_find ( const char * opname,
TAO_Collocated_Skeleton & skelfunc,
TAO::Collocation_Strategy s,
const size_t length = 0 )
pure virtual

Find an operation in the operation table and return a TAO_Collocated_Skeleton which can be used to make upcalls onto collocated servants.

◆ _find() [2/2]

virtual int TAO_Abstract_ServantBase::_find ( const char * opname,
TAO_Skeleton & skelfunc,
const size_t length = 0 )
pure virtual

Find an operation in the operation table and return a TAO_Skeleton which can be used to make upcalls

◆ _get_component()

virtual CORBA::Object_ptr TAO_Abstract_ServantBase::_get_component ( )
pure virtual

Default _get_component: always returns nil.

◆ _get_interface()

virtual CORBA::InterfaceDef_ptr TAO_Abstract_ServantBase::_get_interface ( )
pure virtual

Query the Interface Repository.

◆ _interface_repository_id()

virtual const char * TAO_Abstract_ServantBase::_interface_repository_id ( ) const
protectedpure virtual

Get this interface's repository id (TAO specific).

◆ _is_a()

virtual CORBA::Boolean TAO_Abstract_ServantBase::_is_a ( const char * logical_type_id)
pure virtual

Local implementation of the CORBA::Object::_is_a method.

◆ _non_existent()

virtual CORBA::Boolean TAO_Abstract_ServantBase::_non_existent ( )
pure virtual

Default _non_existent: always returns false.

◆ _refcount_value()

virtual CORBA::ULong TAO_Abstract_ServantBase::_refcount_value ( ) const
pure virtual

Returns the current reference count value.

◆ _remove_ref()

virtual void TAO_Abstract_ServantBase::_remove_ref ( )
pure virtual

Decreases reference count by one; if the resulting reference count equals zero, _remove_ref invokes delete on its this pointer in order to destroy the servant.

◆ _repository_id()

virtual char * TAO_Abstract_ServantBase::_repository_id ( )
pure virtual

Default _repository_id.

◆ operator=()

TAO_Abstract_ServantBase & TAO_Abstract_ServantBase::operator= ( const TAO_Abstract_ServantBase & )
protected

Assignment operator.


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