Public Types |
typedef ACE_Map< PortableServer::ObjectId,
Map_Entry *> | user_id_map |
| Base class of the id map. More...
|
typedef ACE_Hash_Map_Manager_Ex_Adapter<
PortableServer::ObjectId,
Map_Entry *, TAO_ObjectId_Hash,
ACE_Equal_To< PortableServer::ObjectId >,
TAO_Incremental_Key_Generator > | user_id_hash_map |
| Id hash map. More...
|
typedef ACE_Map_Manager_Adapter<
PortableServer::ObjectId,
Map_Entry *, TAO_Incremental_Key_Generator > | user_id_linear_map |
| Id linear map. More...
|
typedef ACE_Active_Map_Manager_Adapter<
PortableServer::ObjectId,
Map_Entry *, TAO_Ignore_Original_Key_Adapter > | user_id_active_map |
| Id active map. More...
|
typedef ACE_Map< PortableServer::Servant,
Map_Entry *> | servant_map |
| Base class of the servant map. More...
|
typedef ACE_Hash_Map_Manager_Ex_Adapter<
PortableServer::Servant,
Map_Entry *, TAO_Servant_Hash,
ACE_Equal_To< PortableServer::Servant >,
ACE_Noop_Key_Generator< PortableServer::Servant > > | servant_hash_map |
| Servant hash map. More...
|
typedef ACE_Map_Manager_Adapter<
PortableServer::Servant,
Map_Entry *, ACE_Noop_Key_Generator<
PortableServer::Servant > > | servant_linear_map |
| Servant linear map. More...
|
Public Methods |
| TAO_Active_Object_Map (int user_id_policy, int unique_id_policy, int persistent_id_policy, const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &creation_parameters ACE_ENV_ARG_DECL) |
| Constructor. More...
|
| ~TAO_Active_Object_Map (void) |
| Destructor. More...
|
int | is_servant_in_map (PortableServer::Servant servant, int &deactivated) |
| Must be used with UNIQUE_ID policy. More...
|
int | is_user_id_in_map (const PortableServer::ObjectId &user_id, CORBA::Short priority, int &priorities_match, int &deactivated) |
| Can be used with any policy. With the SYSTEM_ID policy, <user_id> is actually <system_id>. More...
|
int | bind_using_system_id_returning_system_id (PortableServer::Servant servant, CORBA::Short priority, PortableServer::ObjectId_out system_id) |
| Must be used with SYSTEM_ID policy. More...
|
int | bind_using_system_id_returning_user_id (PortableServer::Servant servant, CORBA::Short priority, PortableServer::ObjectId_out user_id) |
| Must be used with SYSTEM_ID policy. More...
|
int | bind_using_user_id (PortableServer::Servant servant, const PortableServer::ObjectId &user_id, CORBA::Short priority) |
| Can be used with any policy. With the SYSTEM_ID policy, <user_id> is actually <system_id>. More...
|
int | find_system_id_using_user_id (const PortableServer::ObjectId &user_id, CORBA::Short priority, PortableServer::ObjectId_out system_id) |
| Can be used with any policy. With the SYSTEM_ID policy, <user_id> is actually <system_id>. More...
|
int | rebind_using_user_id_and_system_id (PortableServer::Servant servant, const PortableServer::ObjectId &user_id, const PortableServer::ObjectId &system_id, TAO_Active_Object_Map::Map_Entry *&entry) |
| Can be used with any policy. More...
|
int | unbind_using_user_id (const PortableServer::ObjectId &user_id) |
| Can be used with any policy. With the SYSTEM_ID policy, <user_id> is actually <system_id>. More...
|
int | find_user_id_using_servant (PortableServer::Servant servant, PortableServer::ObjectId_out user_id) |
| Must be used with UNIQUE_ID policy. With the SYSTEM_ID policy, <user_id> is actually <system_id>. More...
|
int | find_system_id_using_servant (PortableServer::Servant servant, PortableServer::ObjectId_out system_id, CORBA::Short &priority) |
| Must be used with UNIQUE_ID policy. With the SYSTEM_ID policy, <user_id> is actually <system_id>. More...
|
int | find_servant_using_user_id (const PortableServer::ObjectId &user_id, PortableServer::Servant &servant) |
| Can be used with any policy. With the SYSTEM_ID policy, <user_id> is actually <system_id>. More...
|
int | find_servant_using_system_id_and_user_id (const PortableServer::ObjectId &system_id, const PortableServer::ObjectId &user_id, PortableServer::Servant &servant, TAO_Active_Object_Map::Map_Entry *&entry) |
| Can be used with any policy. More...
|
int | find_servant_and_system_id_using_user_id (const PortableServer::ObjectId &user_id, PortableServer::Servant &servant, PortableServer::ObjectId_out system_id, CORBA::Short &priority) |
| Can be used with any policy. With the SYSTEM_ID policy, <user_id> is identical to <system_id>. More...
|
int | find_servant_and_system_id_using_user_id (const PortableServer::ObjectId &user_id, TAO_Active_Object_Map::Map_Entry *&entry) |
| Can be used with any policy. With the SYSTEM_ID policy, <user_id> is identical to <system_id>. More...
|
int | find_user_id_using_system_id (const PortableServer::ObjectId &system_id, PortableServer::ObjectId_out user_id) |
| Can be used with any policy. When the SYSTEM_ID policy is used, the <system_id> is identical to <user_id>. More...
|
int | find_user_id_using_system_id (const PortableServer::ObjectId &system_id, PortableServer::ObjectId &user_id) |
| Can be used with any policy. When the SYSTEM_ID policy is used, the <system_id> is identical to <user_id>. More...
|
CORBA::Boolean | remaining_activations (PortableServer::Servant servant) |
| Are there any remaining activations of <servant> in the active object map? Can be used with any policy. More...
|
size_t | current_size (void) |
| Size of the map. More...
|
Static Public Methods |
size_t | system_id_size (void) |
| Can be used with any policy. More...
|
void | set_system_id_size (const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &creation_parameters) |
| Set the system id size. More...
|
Public Attributes |
user_id_map * | user_id_map_ |
| Id map. More...
|
servant_map * | servant_map_ |
| Servant map. More...
|
TAO_Id_Uniqueness_Strategy * | id_uniqueness_strategy_ |
| Id uniqueness strategy. More...
|
TAO_Lifespan_Strategy * | lifespan_strategy_ |
| Lifespan strategy. More...
|
TAO_Id_Assignment_Strategy * | id_assignment_strategy_ |
| Id assignment strategy. More...
|
TAO_Id_Hint_Strategy * | id_hint_strategy_ |
| Id hint strategy. More...
|
int | using_active_maps_ |
| Flag to see if we are using active maps in this active object map. More...
|
Static Public Attributes |
size_t | system_id_size_ = 0 |
| Size of the system id produced by the map. More...
|
Implementation to be used by the POA.