TAO::Portable_Server::POA_Current Class Reference

#include <POA_Current.h>

Inheritance diagram for TAO::Portable_Server::POA_Current:

Inheritance graph
[legend]
Collaboration diagram for TAO::Portable_Server::POA_Current:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 POA_Current (void)
 Constructor.
PortableServer::POA_ptr get_POA (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException, PortableServer::Current::NoContext)
PortableServer::ObjectIdget_object_id (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException, PortableServer::Current::NoContext)
PortableServer::Servant get_servant (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException, PortableServer::Current::NoContext)
POA_Current_Implimplementation (void)
 Returns the class that implements this interface.
POA_Current_Implimplementation (POA_Current_Impl *new_current)

Constructor & Destructor Documentation

ACE_INLINE TAO::Portable_Server::POA_Current::POA_Current void   ) 
 

Constructor.


Member Function Documentation

PortableServer::ObjectId * TAO::Portable_Server::POA_Current::get_object_id ACE_ENV_SINGLE_ARG_DECL   )  throw (CORBA::SystemException, PortableServer::Current::NoContext)
 

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.

PortableServer::POA_ptr TAO::Portable_Server::POA_Current::get_POA ACE_ENV_SINGLE_ARG_DECL   )  throw (CORBA::SystemException, PortableServer::Current::NoContext)
 

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.

PortableServer::Servant TAO::Portable_Server::POA_Current::get_servant ACE_ENV_SINGLE_ARG_DECL   )  throw (CORBA::SystemException, PortableServer::Current::NoContext)
 

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

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.

POA_Current_Impl * TAO::Portable_Server::POA_Current::implementation void   ) 
 

Returns the class that implements this interface.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:11:22 2005 for TAO_PortableServer by  doxygen 1.4.5