#include <Abstract_Servant_Base.h>
Public Member Functions | |
virtual | ~TAO_Abstract_ServantBase (void) |
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 : always returns nil. | |
virtual char * | _repository_id ()=0 |
Default . | |
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 |
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. | |
Protected Member Functions | |
TAO_Abstract_ServantBase (void) | |
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_ServantBase & | operator= (const TAO_Abstract_ServantBase &) |
Assignment operator. | |
virtual void | _dispatch (TAO_ServerRequest &request, void *servant_upcall)=0 |
Dispatches a request to the object. | |
virtual void | synchronous_upcall_dispatch (TAO_ServerRequest &req, void *servant_upcall, void *derived_this)=0 |
virtual const char * | _interface_repository_id (void) const=0 |
Get this interface's repository id (TAO specific). |
|
Destructor.
Definition at line 16 of file Abstract_Servant_Base.cpp.
00017 {
00018 // No-Op.
00019 }
|
|
Default constructor, only derived classes can be created.
Definition at line 11 of file Abstract_Servant_Base.cpp.
00012 {
00013 // No-Op.
00014 }
|
|
Copy constructor, protected so no instances can be created.
Definition at line 21 of file Abstract_Servant_Base.cpp.
00022 {
00023 // No-Op
00024 }
|
|
Increase reference count by one.
|
|
This is an auxiliary method for _this() and _narrow().
|
|
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 an operation in the operation table and return a TAO_Collocated_Skeleton which can be used to make upcalls onto collocated servants. |
|
Find an operation in the operation table and return a TAO_Skeleton which can be used to make upcalls |
|
Default : always returns nil.
|
|
Query the Interface Repository.
|
|
Get this interface's repository id (TAO specific).
|
|
Local implementation of the CORBA::Object::_is_a method.
|
|
Default
|
|
Returns the current reference count value.
|
|
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. |
|
Default .
|
|
Assignment operator.
Definition at line 26 of file Abstract_Servant_Base.cpp.
00027 { 00028 return *this; 00029 } |
|
|