TAO_PortableServer  2.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
TAO::Portable_Server::POA_Current Class Reference

#include <POA_Current.h>

Inheritance diagram for TAO::Portable_Server::POA_Current:
Inheritance graph
Collaboration diagram for TAO::Portable_Server::POA_Current:
Collaboration graph

Public Member Functions

PortableServer::POA_ptr get_POA (void)
 
PortableServer::ObjectIdget_object_id (void)
 
CORBA::Object_ptr get_reference (void)
 
PortableServer::Servant get_servant (void)
 
POA_Current_Implimplementation (void)
 Returns the class that implements this interface. More...
 
POA_Current_Implimplementation (POA_Current_Impl *new_current)
 

Additional Inherited Members

- Public Types inherited from CORBA::LocalObject
typedef Object_ptr _ptr_type
 
typedef Object_var _var_type
 
typedef Object_out _out_type
 
- Static Public Member Functions inherited from CORBA::LocalObject
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
 
static void _tao_any_destructor (void *)
 
static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj)
 
static void tao_object_initialize (Object *)
 
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
 
static CORBA::Object_ptr _nil (void)
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 
- Protected Member Functions inherited from CORBA::LocalObject
 Object (int dummy=0)
 
TAO::Object_Proxy_Brokerproxy_broker () const
 

Member Function Documentation

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.

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.

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.

Note
This reference is not guaranteed to be identical to the original reference the client used to make the invocation, and calling the Object::is_equivalent operation to compare the two references may not necessarily return true.
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

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

Returns the class that implements this interface.

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.


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