#include <Servant_Base.h>
Inheritance diagram for TAO_ServantBase:
Public Methods | |
virtual | ~TAO_ServantBase (void) |
Destructor. | |
virtual PortableServer::POA_ptr | _default_POA (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
Returns the default POA for this servant. | |
virtual CORBA::Boolean | _is_a (const char *logical_type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
Local implementation of the CORBA::Object::_is_a method. | |
virtual CORBA::Boolean | _non_existent (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
Default <_non_existent>: always returns false. | |
virtual CORBA::InterfaceDef_ptr | _get_interface (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
Query the Interface Repository for the interface definition. | |
virtual CORBA::Object_ptr | _get_component (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
Default <_get_component>: always returns CORBA::Object::_nil(). | |
virtual void * | _downcast (const char *repository_id)=0 |
Get the correct vtable. | |
virtual TAO_Stub * | _create_stub (ACE_ENV_SINGLE_ARG_DECL) |
This is an auxiliar method for _this() and _narrow(). | |
virtual void | _dispatch (TAO_ServerRequest &request, void *servant_upcall ACE_ENV_ARG_DECL)=0 |
virtual int | _find (const char *opname, TAO_Skeleton &skelfunc, const unsigned int length=0) |
virtual int | _find (const char *opname, TAO_Collocated_Skeleton &skelfunc, TAO::Collocation_Strategy st, const unsigned int length=0) |
Protected Methods | |
TAO_ServantBase (void) | |
Default constructor, only derived classes can be created. | |
TAO_ServantBase (const TAO_ServantBase &) | |
Copy constructor, protected so no instances can be created. | |
TAO_ServantBase & | operator= (const TAO_ServantBase &) |
Assignment operator. | |
virtual void | synchronous_upcall_dispatch (TAO_ServerRequest &req, void *servant_upcall, void *derived_this ACE_ENV_ARG_DECL) |
virtual void | asynchronous_upcall_dispatch (TAO_ServerRequest &req, void *servant_upcall, void *derived_this ACE_ENV_ARG_DECL) |
virtual const char * | _interface_repository_id (void) const=0 |
Get this interface's repository id (TAO specific). | |
Protected Attributes | |
TAO_Operation_Table * | optable_ |
Friends | |
class | TAO_POA |
class | TAO_Object_Adapter |
class | TAO_Local_ServantBase |
The POA spec requires that all servants inherit from this class' base class.
|
Destructor.
|
|
Default constructor, only derived classes can be created.
|
|
Copy constructor, protected so no instances can be created.
|
|
This is an auxiliar method for _this() and _narrow().
Implements TAO_Abstract_ServantBase. Reimplemented in TAO_Local_ServantBase. |
|
Returns the default POA for this servant.
Reimplemented in ServerObject_i. |
|
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>. Implements TAO_Abstract_ServantBase. Implemented in TAO_Local_ServantBase. |
|
Get the correct vtable.
Implements TAO_Abstract_ServantBase. Implemented in POA_ImplementationRepository::ServerObject, POA_ImplementationRepository::Administration, POA_ImplementationRepository::ServerInformationIterator, POA_ImplementationRepository::Locator, and POA_CORBA::Policy. |
|
Implements TAO_Abstract_ServantBase. |
|
Please see documentation in tao/Abstract_Servant_Base.h for details. Implements TAO_Abstract_ServantBase. |
|
Default <_get_component>: always returns CORBA::Object::_nil().
Implements TAO_Abstract_ServantBase. |
|
Query the Interface Repository for the interface definition.
Implements TAO_Abstract_ServantBase. |
|
Get this interface's repository id (TAO specific).
Implements TAO_Abstract_ServantBase. Implemented in POA_ImplementationRepository::ServerObject, POA_ImplementationRepository::Administration, POA_ImplementationRepository::ServerInformationIterator, POA_ImplementationRepository::Locator, and POA_CORBA::Policy. |
|
Local implementation of the CORBA::Object::_is_a method.
Implements TAO_Abstract_ServantBase. Reimplemented in POA_ImplementationRepository::ServerObject, POA_ImplementationRepository::Administration, POA_ImplementationRepository::ServerInformationIterator, POA_ImplementationRepository::Locator, and POA_CORBA::Policy. |
|
Default <_non_existent>: always returns false.
Implements TAO_Abstract_ServantBase. |
|
|
|
Assignment operator.
|
|
Implements TAO_Abstract_ServantBase. |
|
|
|
|
|
|
|
The operation table for this servant, it is initialized by the most derived class. |