TAO_DynamicInterface
2.1.9
|
Base class for DSI. More...
#include <Dynamic_Implementation.h>
Public Member Functions | |
virtual void | invoke (CORBA::ServerRequest_ptr request)=0 |
virtual CORBA::RepositoryId | _primary_interface (const PortableServer::ObjectId &oid, PortableServer::POA_ptr poa)=0 |
virtual CORBA::Boolean | _is_a (const char *logical_type_id) |
Local implementation of the CORBA::Object::_is_a method. More... | |
CORBA::Object_ptr | _this (void) |
Returns a CORBA::Object_ptr for the target object. More... | |
virtual CORBA::InterfaceDef_ptr | _get_interface (void) |
Query the Interface Repository for the interface definition. More... | |
Protected Member Functions | |
virtual const char * | _interface_repository_id (void) const |
Return 0. Should never be used. More... | |
virtual void * | _downcast (const char *repository_id) |
Simply returns "this". More... | |
virtual TAO_Stub * | _create_stub (void) |
This is an auxiliary method for _this() and _narrow(). More... | |
virtual void | _dispatch (TAO_ServerRequest &request, TAO::Portable_Server::Servant_Upcall *context) |
Turns around and calls invoke. More... | |
Private Member Functions | |
CORBA::RepositoryId | get_id_from_primary_interface (void) |
Encapsulates code common to _is_a(), _get_interface() and _create_stub(). More... | |
Base class for DSI.
It is expected that the <invoke> and <_primary_interface> methods will be only invoked by the POA in the context of serving a CORBA request. Invoking this method in other circumstances may lead to unpredictable results.
|
protectedvirtual |
This is an auxiliary method for _this() and _narrow().
|
protectedvirtual |
Turns around and calls invoke.
|
protectedvirtual |
Simply returns "this".
|
virtual |
Query the Interface Repository for the interface definition.
|
protectedvirtual |
Return 0. Should never be used.
|
virtual |
Local implementation of the CORBA::Object::_is_a method.
|
pure virtual |
The _primary_interface() method receives an ObjectId value and a POA_ptr as input parameters and returns a valid RepositoryId representing the most-derived interface for that oid.
CORBA::Object_ptr TAO_DynamicImplementation::_this | ( | void | ) |
Returns a CORBA::Object_ptr for the target object.
|
private |
Encapsulates code common to _is_a(), _get_interface() and _create_stub().
|
pure virtual |