#include <ServantRetentionStrategyRetain.h>
Inheritance diagram for TAO::Portable_Server::ServantRetentionStrategyRetain:
Public Member Functions | |
ServantRetentionStrategyRetain (void) | |
CORBA::ULong | waiting_servant_deactivation (void) const |
virtual void | strategy_init (TAO_Root_POA *poa) |
virtual void | strategy_cleanup () |
virtual int | is_servant_in_map (PortableServer::Servant servant, int &wait_occurred_restart_call) |
virtual PortableServer::ObjectId * | activate_object (PortableServer::Servant servant, CORBA::Short priority, int &wait_occurred_restart_call) throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::WrongPolicy) |
virtual void | activate_object_with_id (const PortableServer::ObjectId &id, PortableServer::Servant servant, CORBA::Short priority, int &wait_occurred_restart_call) throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::ObjectAlreadyActive, PortableServer::POA::WrongPolicy) |
void | deactivate_object (const PortableServer::ObjectId &id) |
virtual PortableServer::Servant | find_servant (const PortableServer::ObjectId &system_id) |
virtual PortableServer::ObjectId * | system_id_to_object_id (const PortableServer::ObjectId &system_id) throw (CORBA::SystemException, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy) |
virtual PortableServer::Servant | user_id_to_servant (const PortableServer::ObjectId &id) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy) |
CORBA::Object_ptr | id_to_reference (const PortableServer::ObjectId &id, bool indirect) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy) |
virtual TAO_SERVANT_LOCATION | servant_present (const PortableServer::ObjectId &system_id, PortableServer::Servant &servant) |
virtual PortableServer::Servant | find_servant (const PortableServer::ObjectId &system_id, TAO::Portable_Server::Servant_Upcall &servant_upcall, TAO::Portable_Server::POA_Current_Impl &poa_current_impl) |
virtual int | find_servant_priority (const PortableServer::ObjectId &system_id, CORBA::Short &priority) |
virtual void | deactivate_all_objects () throw (CORBA::SystemException, PortableServer::POA::WrongPolicy) |
virtual PortableServer::ObjectId * | servant_to_user_id (PortableServer::Servant servant) throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy) |
virtual CORBA::Object_ptr | servant_to_reference (PortableServer::Servant servant) throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy) |
virtual CORBA::Object_ptr | create_reference (const char *intf, CORBA::Short priority) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy) |
virtual CORBA::Object_ptr | create_reference_with_id (const PortableServer::ObjectId &oid, const char *intf, CORBA::Short priority) throw (CORBA::SystemException) |
virtual ::PortableServer::ServantRetentionPolicyValue | type () const |
Protected Member Functions | |
int | is_user_id_in_map (const PortableServer::ObjectId &id, CORBA::Short priority, int &priorities_match, int &wait_occurred_restart_call) |
void | deactivate_map_entry (TAO_Active_Object_Map_Entry *active_object_map_entry) |
PortableServer::ObjectId * | servant_to_system_id_i (PortableServer::Servant p_servant, CORBA::Short &priority) throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy) |
virtual int | rebind_using_user_id_and_system_id (PortableServer::Servant servant, const PortableServer::ObjectId &user_id, const PortableServer::ObjectId &system_id, TAO::Portable_Server::Servant_Upcall &servant_upcall) |
virtual CORBA::Boolean | servant_has_remaining_activations (PortableServer::Servant servant) |
virtual int | unbind_using_user_id (const PortableServer::ObjectId &user_id) |
Private Attributes | |
TAO_Active_Object_Map * | active_object_map_ |
CORBA::ULong | waiting_servant_deactivation_ |
TAO::Portable_Server::ServantRetentionStrategyRetain::ServantRetentionStrategyRetain | ( | void | ) |
PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::activate_object | ( | PortableServer::Servant | servant, | |
CORBA::Short | priority, | |||
int & | wait_occurred_restart_call | |||
) | throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::WrongPolicy) [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
void TAO::Portable_Server::ServantRetentionStrategyRetain::activate_object_with_id | ( | const PortableServer::ObjectId & | id, | |
PortableServer::Servant | servant, | |||
CORBA::Short | priority, | |||
int & | wait_occurred_restart_call | |||
) | throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::ObjectAlreadyActive, PortableServer::POA::WrongPolicy) [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::create_reference | ( | const char * | intf, | |
CORBA::Short | priority | |||
) | throw (CORBA::SystemException, PortableServer::POA::WrongPolicy) [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::create_reference_with_id | ( | const PortableServer::ObjectId & | oid, | |
const char * | intf, | |||
CORBA::Short | priority | |||
) | throw (CORBA::SystemException) [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
void TAO::Portable_Server::ServantRetentionStrategyRetain::deactivate_all_objects | ( | ) | throw (CORBA::SystemException, PortableServer::POA::WrongPolicy) [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
void TAO::Portable_Server::ServantRetentionStrategyRetain::deactivate_map_entry | ( | TAO_Active_Object_Map_Entry * | active_object_map_entry | ) | [protected] |
void TAO::Portable_Server::ServantRetentionStrategyRetain::deactivate_object | ( | const PortableServer::ObjectId & | id | ) | [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
PortableServer::Servant TAO::Portable_Server::ServantRetentionStrategyRetain::find_servant | ( | const PortableServer::ObjectId & | system_id, | |
TAO::Portable_Server::Servant_Upcall & | servant_upcall, | |||
TAO::Portable_Server::POA_Current_Impl & | poa_current_impl | |||
) | [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
PortableServer::Servant TAO::Portable_Server::ServantRetentionStrategyRetain::find_servant | ( | const PortableServer::ObjectId & | system_id | ) | [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
int TAO::Portable_Server::ServantRetentionStrategyRetain::find_servant_priority | ( | const PortableServer::ObjectId & | system_id, | |
CORBA::Short & | priority | |||
) | [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::id_to_reference | ( | const PortableServer::ObjectId & | id, | |
bool | indirect | |||
) | throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy) [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
int TAO::Portable_Server::ServantRetentionStrategyRetain::is_servant_in_map | ( | PortableServer::Servant | servant, | |
int & | wait_occurred_restart_call | |||
) | [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
int TAO::Portable_Server::ServantRetentionStrategyRetain::is_user_id_in_map | ( | const PortableServer::ObjectId & | id, | |
CORBA::Short | priority, | |||
int & | priorities_match, | |||
int & | wait_occurred_restart_call | |||
) | [protected] |
int TAO::Portable_Server::ServantRetentionStrategyRetain::rebind_using_user_id_and_system_id | ( | PortableServer::Servant | servant, | |
const PortableServer::ObjectId & | user_id, | |||
const PortableServer::ObjectId & | system_id, | |||
TAO::Portable_Server::Servant_Upcall & | servant_upcall | |||
) | [protected, virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
CORBA::Boolean TAO::Portable_Server::ServantRetentionStrategyRetain::servant_has_remaining_activations | ( | PortableServer::Servant | servant | ) | [protected, virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
TAO_SERVANT_LOCATION TAO::Portable_Server::ServantRetentionStrategyRetain::servant_present | ( | const PortableServer::ObjectId & | system_id, | |
PortableServer::Servant & | servant | |||
) | [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::servant_to_reference | ( | PortableServer::Servant | servant | ) | throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy) [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::servant_to_system_id_i | ( | PortableServer::Servant | p_servant, | |
CORBA::Short & | priority | |||
) | throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy) [protected] |
PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::servant_to_user_id | ( | PortableServer::Servant | servant | ) | throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy) [virtual] |
If the POA has both the RETAIN and the UNIQUE_ID policy and the specified servant is active, the Object Id associated with that servant is returned.
If the POA has both the RETAIN and the IMPLICIT_ACTIVATION policy and either the POA has the MULTIPLE_ID policy or the specified servant is not active, the servant is activated using a POA-generated Object Id and the Interface Id associated with the servant, and that Object Id is returned.
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
void TAO::Portable_Server::ServantRetentionStrategyRetain::strategy_cleanup | ( | ) | [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
void TAO::Portable_Server::ServantRetentionStrategyRetain::strategy_init | ( | TAO_Root_POA * | poa | ) | [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::system_id_to_object_id | ( | const PortableServer::ObjectId & | system_id | ) | throw (CORBA::SystemException, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy) [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
PortableServer::ServantRetentionPolicyValue TAO::Portable_Server::ServantRetentionStrategyRetain::type | ( | ) | const [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
int TAO::Portable_Server::ServantRetentionStrategyRetain::unbind_using_user_id | ( | const PortableServer::ObjectId & | user_id | ) | [protected, virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
PortableServer::Servant TAO::Portable_Server::ServantRetentionStrategyRetain::user_id_to_servant | ( | const PortableServer::ObjectId & | id | ) | throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy) [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
CORBA::ULong TAO::Portable_Server::ServantRetentionStrategyRetain::waiting_servant_deactivation | ( | void | ) | const [virtual] |
Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.
TAO_Active_Object_Map* TAO::Portable_Server::ServantRetentionStrategyRetain::active_object_map_ [private] |
CORBA::ULong TAO::Portable_Server::ServantRetentionStrategyRetain::waiting_servant_deactivation_ [private] |