TAO_PortableServer  2.3.3
Public Member Functions | List of all members
TAO_Unique_Id_Strategy Class Reference

Unique id strategy. More...

#include <Active_Object_Map.h>

Inheritance diagram for TAO_Unique_Id_Strategy:
Inheritance graph
[legend]
Collaboration diagram for TAO_Unique_Id_Strategy:
Collaboration graph
[legend]

Public Member Functions

virtual int is_servant_in_map (PortableServer::Servant servant, bool &deactivated)
 Must be used with UNIQUE_ID policy. More...
 
virtual int unbind_using_user_id (const PortableServer::ObjectId &user_id)
 
virtual int find_user_id_using_servant (PortableServer::Servant servant, PortableServer::ObjectId_out user_id)
 
virtual int find_system_id_using_servant (PortableServer::Servant servant, PortableServer::ObjectId_out system_id, CORBA::Short &priority)
 
virtual int bind_using_user_id (PortableServer::Servant servant, const PortableServer::ObjectId &user_id, CORBA::Short priority, TAO_Active_Object_Map_Entry *&entry)
 
virtual CORBA::Boolean remaining_activations (PortableServer::Servant servant)
 
- Public Member Functions inherited from TAO_Id_Uniqueness_Strategy
virtual ~TAO_Id_Uniqueness_Strategy (void)
 Virtual destructor. More...
 
void set_active_object_map (TAO_Active_Object_Map *active_object_map)
 Set the active map. More...
 

Additional Inherited Members

- Protected Attributes inherited from TAO_Id_Uniqueness_Strategy
TAO_Active_Object_Mapactive_object_map_
 Pointer to the active map. More...
 

Detailed Description

Unique id strategy.

Strategy for the UNIQUE_ID policy.

Member Function Documentation

int TAO_Unique_Id_Strategy::bind_using_user_id ( PortableServer::Servant  servant,
const PortableServer::ObjectId user_id,
CORBA::Short  priority,
TAO_Active_Object_Map_Entry *&  entry 
)
virtual

Can be used with any policy. With the SYSTEM_ID policy, user_id is actually system_id.

Implements TAO_Id_Uniqueness_Strategy.

int TAO_Unique_Id_Strategy::find_system_id_using_servant ( PortableServer::Servant  servant,
PortableServer::ObjectId_out  system_id,
CORBA::Short priority 
)
virtual

Must be used with UNIQUE_ID policy. With the SYSTEM_ID policy, <user_id> is actually system_id.

Implements TAO_Id_Uniqueness_Strategy.

int TAO_Unique_Id_Strategy::find_user_id_using_servant ( PortableServer::Servant  servant,
PortableServer::ObjectId_out  user_id 
)
virtual

Must be used with UNIQUE_ID policy. With the SYSTEM_ID policy, user_id is actually system_id.

Implements TAO_Id_Uniqueness_Strategy.

int TAO_Unique_Id_Strategy::is_servant_in_map ( PortableServer::Servant  servant,
bool &  deactivated 
)
virtual

Must be used with UNIQUE_ID policy.

Implements TAO_Id_Uniqueness_Strategy.

CORBA::Boolean TAO_Unique_Id_Strategy::remaining_activations ( PortableServer::Servant  servant)
virtual

Are there any remaining activations of servant in the active object map? Can be used with any policy.

Implements TAO_Id_Uniqueness_Strategy.

int TAO_Unique_Id_Strategy::unbind_using_user_id ( const PortableServer::ObjectId user_id)
virtual

Can be used with any policy. With the SYSTEM_ID policy, user_id is actually system_id.

Implements TAO_Id_Uniqueness_Strategy.


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