#include <POA_Current.h>
Public Member Functions | |
PortableServer::POA_ptr | get_POA (void) |
PortableServer::ObjectId * | get_object_id (void) |
CORBA::Object_ptr | get_reference (void) |
PortableServer::Servant | get_servant (void) |
POA_Current_Impl * | implementation (void) |
Returns the class that implements this interface. | |
POA_Current_Impl * | implementation (POA_Current_Impl *new_current) |
Definition at line 40 of file POA_Current.h.
PortableServer::ObjectId * TAO::Portable_Server::POA_Current::get_object_id | ( | void | ) |
Returns the object id of the current request being invoked. Can raise the NoContext
exception if this function is not invoked in the context of an upcall.
Definition at line 17 of file POA_Current.cpp.
{ namespace Portable_Server { PortableServer::POA_ptr POA_Current::get_POA (void) { POA_Current_Impl *impl = this->implementation ();
PortableServer::POA_ptr TAO::Portable_Server::POA_Current::get_POA | ( | void | ) |
Returns the POA on which the current request is being invoked. Can raise the NoContext
exception if this function is not invoked in the context of an upcall.
Definition at line 7 of file POA_Current.cpp.
: POA_Current.cpp 76995 2007-02-11 12:51:42Z johnnyw $") TAO_BEGIN_VERSIONED_NAMESPACE_DECL
CORBA::Object_ptr TAO::Portable_Server::POA_Current::get_reference | ( | void | ) |
This operation returns a locally manufactured reference to the object in the context of which it is called. If called outside the context of a POA dispatched operation, a NoContext exception is raised.
Definition at line 37 of file POA_Current.cpp.
{ POA_Current_Impl *impl = this->implementation ();
PortableServer::Servant TAO::Portable_Server::POA_Current::get_servant | ( | void | ) |
Returns a reference to the servant that hosts the object in whose context it is called. If called outside the context of the POA dispatched operation, a NoContext exception is raised
Definition at line 27 of file POA_Current.cpp.
{ POA_Current_Impl *impl = this->implementation ();
POA_Current_Impl * TAO::Portable_Server::POA_Current::implementation | ( | void | ) |
POA_Current_Impl * TAO::Portable_Server::POA_Current::implementation | ( | POA_Current_Impl * | new_current | ) |
Sets the thread-specific pointer to the new POA Current state, returning a pointer to the existing POA Current state.
Definition at line 54 of file POA_Current.cpp.
{
return static_cast <POA_Current_Impl *>