Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO::Portable_Server::ServantRetentionStrategyRetain Class Reference

#include <ServantRetentionStrategyRetain.h>

Inheritance diagram for TAO::Portable_Server::ServantRetentionStrategyRetain:

Inheritance graph
[legend]
Collaboration diagram for TAO::Portable_Server::ServantRetentionStrategyRetain:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ServantRetentionStrategyRetain (void)
CORBA::ULong waiting_servant_deactivation (void) const
virtual void strategy_init (TAO_Root_POA *poa ACE_ENV_ARG_DECL)
virtual void strategy_cleanup (ACE_ENV_SINGLE_ARG_DECL)
virtual int is_servant_in_map (PortableServer::Servant servant, int &wait_occurred_restart_call)
virtual PortableServer::ObjectIdactivate_object (PortableServer::Servant servant, CORBA::Short priority, int &wait_occurred_restart_call ACE_ENV_ARG_DECL) 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 ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::ObjectAlreadyActive, PortableServer::POA::WrongPolicy)
void deactivate_object (const PortableServer::ObjectId &id ACE_ENV_ARG_DECL)
virtual PortableServer::Servant find_servant (const PortableServer::ObjectId &system_id ACE_ENV_ARG_DECL)
virtual PortableServer::ObjectIdsystem_id_to_object_id (const PortableServer::ObjectId &system_id ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy)
virtual PortableServer::Servant user_id_to_servant (const PortableServer::ObjectId &id ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr id_to_reference (const PortableServer::ObjectId &id, bool indirect ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
virtual TAO_SERVANT_LOCATION servant_present (const PortableServer::ObjectId &system_id, PortableServer::Servant &servant ACE_ENV_ARG_DECL)
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 ACE_ENV_ARG_DECL)
virtual void deactivate_all_objects (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
virtual PortableServer::ObjectIdservant_to_user_id (PortableServer::Servant servant ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
virtual CORBA::Object_ptr servant_to_reference (PortableServer::Servant servant ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
virtual CORBA::Object_ptr create_reference (const char *intf, CORBA::Short priority ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
virtual CORBA::Object_ptr create_reference_with_id (const PortableServer::ObjectId &oid, const char *intf, CORBA::Short priority ACE_ENV_ARG_DECL) 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 ACE_ENV_ARG_DECL)
PortableServer::ObjectIdservant_to_system_id_i (PortableServer::Servant p_servant, CORBA::Short &priority ACE_ENV_ARG_DECL) 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_Mapactive_object_map_
CORBA::ULong waiting_servant_deactivation_

Constructor & Destructor Documentation

TAO::Portable_Server::ServantRetentionStrategyRetain::ServantRetentionStrategyRetain void   ) 
 


Member Function Documentation

PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::activate_object PortableServer::Servant  servant,
CORBA::Short  priority,
int &wait_occurred_restart_call  ACE_ENV_ARG_DECL
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  ACE_ENV_ARG_DECL
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  ACE_ENV_ARG_DECL
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  ACE_ENV_ARG_DECL
throw (CORBA::SystemException) [virtual]
 

Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.

void TAO::Portable_Server::ServantRetentionStrategyRetain::deactivate_all_objects ACE_ENV_SINGLE_ARG_DECL   )  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  ACE_ENV_ARG_DECL  )  [protected]
 

void TAO::Portable_Server::ServantRetentionStrategyRetain::deactivate_object const PortableServer::ObjectId &id  ACE_ENV_ARG_DECL  )  [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  ACE_ENV_ARG_DECL
[virtual]
 

Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.

PortableServer::Servant TAO::Portable_Server::ServantRetentionStrategyRetain::find_servant const PortableServer::ObjectId &system_id  ACE_ENV_ARG_DECL  )  [virtual]
 

Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.

CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::id_to_reference const PortableServer::ObjectId id,
bool indirect  ACE_ENV_ARG_DECL
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  ACE_ENV_ARG_DECL
[virtual]
 

Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.

CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::servant_to_reference PortableServer::Servant servant  ACE_ENV_ARG_DECL  )  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  ACE_ENV_ARG_DECL
throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy) [protected]
 

PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::servant_to_user_id PortableServer::Servant servant  ACE_ENV_ARG_DECL  )  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 ACE_ENV_SINGLE_ARG_DECL   )  [virtual]
 

Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.

void TAO::Portable_Server::ServantRetentionStrategyRetain::strategy_init TAO_Root_POA *poa  ACE_ENV_ARG_DECL  )  [virtual]
 

Reimplemented from TAO::Portable_Server::ServantRetentionStrategyNonRetain.

PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::system_id_to_object_id const PortableServer::ObjectId &system_id  ACE_ENV_ARG_DECL  )  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  ACE_ENV_ARG_DECL  )  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.


Member Data Documentation

TAO_Active_Object_Map* TAO::Portable_Server::ServantRetentionStrategyRetain::active_object_map_ [private]
 

CORBA::ULong TAO::Portable_Server::ServantRetentionStrategyRetain::waiting_servant_deactivation_ [private]
 


The documentation for this class was generated from the following files:
Generated on Sat Aug 6 03:24:28 2005 for TAO_PortableServer by  doxygen 1.3.9.1