#include <Servant_Upcall.h>
Collaboration diagram for TAO::Portable_Server::Servant_Upcall:
Public Types | |
enum | State { INITIAL_STAGE, OBJECT_ADAPTER_LOCK_ACQUIRED, POA_CURRENT_SETUP, OBJECT_ADAPTER_LOCK_RELEASED, SERVANT_LOCK_ACQUIRED } |
Public Member Functions | |
Servant_Upcall (TAO_ORB_Core *orb_core) | |
Constructor. | |
~Servant_Upcall (void) | |
Destructor. | |
int | prepare_for_upcall (const TAO::ObjectKey &key, const char *operation, CORBA::Object_out forward_to ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
Locate POA and servant. | |
int | prepare_for_upcall_i (const TAO::ObjectKey &key, const char *operation, CORBA::Object_out forward_to, int &wait_occurred_restart_call ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
Helper. | |
void | pre_invoke_remote_request (TAO_ServerRequest &req ACE_ENV_ARG_DECL) |
Run pre_invoke for a remote request. | |
void | pre_invoke_collocated_request (ACE_ENV_SINGLE_ARG_DECL) |
Run pre_invoke for a collocated request. | |
void | post_invoke (void) |
Run post_invoke for a request. | |
::TAO_Root_POA * | lookup_POA (const TAO::ObjectKey &key ACE_ENV_ARG_DECL) |
Locate POA. | |
::TAO_Root_POA & | poa (void) const |
POA accessor. | |
TAO_Object_Adapter & | object_adapter (void) const |
Object Adapter accessor. | |
const PortableServer::ObjectId & | id (void) const |
System ID accessor. | |
void | user_id (const PortableServer::ObjectId *) |
const PortableServer::ObjectId & | user_id (void) const |
PortableServer::Servant | servant (void) const |
Servant accessor. | |
void * | locator_cookie (void) const |
Get the Servant Locator's cookie. | |
void | locator_cookie (void *cookie) |
Set the Servant Locator's cookie. | |
const char * | operation (void) const |
Get the operation name. | |
void | operation (const char *) |
Set the operation name. | |
void | active_object_map_entry (TAO_Active_Object_Map_Entry *entry) |
Set the active_object_map_entry. | |
TAO_Active_Object_Map_Entry * | active_object_map_entry (void) const |
Get the active_object_map_entry. | |
CORBA::Short | priority (void) const |
Get the priority for the current upcall. | |
State | state (void) const |
Get the state. | |
void | state (State) |
Set the state. | |
void | increment_servant_refcount (void) |
Increment the refcount. | |
Protected Member Functions | |
void | post_invoke_servant_cleanup (void) |
void | single_threaded_poa_setup (ACE_ENV_SINGLE_ARG_DECL) |
void | single_threaded_poa_cleanup (void) |
void | servant_cleanup (void) |
void | poa_cleanup (void) |
void | upcall_cleanup (void) |
Clean-up / reset state of this Servant_Upcall object. | |
Protected Attributes | |
TAO_Object_Adapter * | object_adapter_ |
::TAO_Root_POA * | poa_ |
PortableServer::Servant | servant_ |
State | state_ |
PortableServer::ObjectId | system_id_ |
const PortableServer::ObjectId * | user_id_ |
POA_Current_Impl | current_context_ |
void * | cookie_ |
Servant Locator's cookie. | |
const char * | operation_ |
Operation name for this current. | |
TAO_Active_Object_Map_Entry * | active_object_map_entry_ |
Pre_Invoke_State | pre_invoke_state_ |
Preinvoke data for the upcall. | |
Private Member Functions | |
Servant_Upcall (const Servant_Upcall &) | |
void | operator= (const Servant_Upcall &) |
Friends | |
class | ::TAO_RT_Collocation_Resolver |
|
|
|
Constructor.
|
|
Destructor.
|
|
|
|
Get the active_object_map_entry.
|
|
Set the active_object_map_entry.
|
|
System ID accessor.
|
|
Increment the refcount.
|
|
Set the Servant Locator's cookie.
|
|
Get the Servant Locator's cookie.
|
|
Locate POA.
|
|
Object Adapter accessor.
|
|
Set the operation name.
|
|
Get the operation name.
|
|
|
|
POA accessor.
|
|
|
|
Run post_invoke for a request.
|
|
|
|
Run pre_invoke for a collocated request.
|
|
Run pre_invoke for a remote request.
|
|
Locate POA and servant.
|
|
Helper.
|
|
Get the priority for the current upcall.
|
|
Servant accessor.
|
|
|
|
|
|
|
|
Set the state.
|
|
Get the state.
|
|
Clean-up / reset state of this Servant_Upcall object.
|
|
|
|
User ID accessors. This is the same value returned by PortableServer::Current::get_object_id(). |
|
|
|
Pointer to the entry in the TAO_Active_Object_Map corresponding to the servant for this request. |
|
Servant Locator's cookie.
|
|
|
|
|
|
Operation name for this current.
|
|
|
|
Preinvoke data for the upcall.
|
|
|
|
|
|
|
|
|