TAO_PortableServer  2.0.3
Protected Member Functions
TAO_Local_ServantBase Class Reference

Base class for local servants. More...

#include <Local_Servant_Base.h>

Inheritance diagram for TAO_Local_ServantBase:
Inheritance graph
[legend]

List of all members.

Protected Member Functions

TAO_Stub_create_stub (void)
void _dispatch (TAO_ServerRequest &request, void *servant_upcall)
 Throws CORBA::BAD_OPERATION exception.
- Protected Member Functions inherited from TAO_ServantBase
 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_ServantBaseoperator= (const TAO_ServantBase &)
 Assignment operator.
virtual void synchronous_upcall_dispatch (TAO_ServerRequest &req, void *servant_upcall, void *derived_this)
virtual void asynchronous_upcall_dispatch (TAO_ServerRequest &req, void *servant_upcall, void *derived_this)
- Protected Member Functions inherited from TAO_Abstract_ServantBase
 TAO_Abstract_ServantBase (void)
 TAO_Abstract_ServantBase (const TAO_Abstract_ServantBase &)
TAO_Abstract_ServantBaseoperator= (const TAO_Abstract_ServantBase &)

Additional Inherited Members

- Public Member Functions inherited from TAO_ServantBase
virtual ~TAO_ServantBase (void)
 Destructor.
virtual PortableServer::POA_ptr _default_POA (void)
 Returns the default POA for this servant.
virtual CORBA::Boolean _is_a (const char *logical_type_id)
 Local implementation of the CORBA::Object::_is_a method.
virtual CORBA::Boolean _non_existent (void)
 Default _non_existent: always returns false.
virtual CORBA::InterfaceDef_ptr _get_interface (void)
 Query the Interface Repository for the interface definition.
virtual CORBA::Object_ptr _get_component (void)
 Default _get_component: always returns CORBA::Object::_nil().
virtual char * _repository_id (void)
 Get the repository id.
virtual int _find (const char *opname, TAO_Skeleton &skelfunc, const size_t length=0)
virtual int _find (const char *opname, TAO_Collocated_Skeleton &skelfunc, TAO::Collocation_Strategy st, const size_t length=0)
virtual const char * _interface_repository_id (void) const =0
 Get this interface's repository id (TAO specific).
virtual void _add_ref (void)
 Increase reference count by one.
virtual void _remove_ref (void)
virtual CORBA::ULong _refcount_value (void) const
- Public Member Functions inherited from TAO_Abstract_ServantBase
virtual ~TAO_Abstract_ServantBase (void)
- Protected Attributes inherited from TAO_ServantBase
ACE_Atomic_Op< TAO_SYNCH_MUTEX,
unsigned long > 
ref_count_
 Reference counter.
TAO_Operation_Tableoptable_

Detailed Description

Base class for local servants.

This servant does not register with the POA and does not produce a valid stub, i.e., object references of this servant cannot be exported. The (collocated) stubs of these servants will always be direct, i.e., call directly to the servant and don't call through the POA since this servant is not registered with the POA.


Member Function Documentation

TAO_Stub * TAO_Local_ServantBase::_create_stub ( void  )
protectedvirtual

This is an auxiliary method for _this(). Make sure not to register with the default POA.

Reimplemented from TAO_ServantBase.

void TAO_Local_ServantBase::_dispatch ( TAO_ServerRequest request,
void *  servant_upcall 
)
protectedvirtual

Throws CORBA::BAD_OPERATION exception.

Implements TAO_ServantBase.


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