TAO_PortableServer  2.3.3
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
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]

Public Member Functions

 ServantRetentionStrategyRetain (void)
 
CORBA::ULong waiting_servant_deactivation (void) const
 
virtual void strategy_init (TAO_Root_POA *poa)
 
virtual void strategy_cleanup (void)
 
virtual int is_servant_in_map (PortableServer::Servant servant, bool &wait_occurred_restart_call)
 
virtual PortableServer::ObjectIdactivate_object (PortableServer::Servant servant, CORBA::Short priority, bool &wait_occurred_restart_call)
 
virtual void activate_object_with_id (const PortableServer::ObjectId &id, PortableServer::Servant servant, CORBA::Short priority, bool &wait_occurred_restart_call)
 
void deactivate_object (const PortableServer::ObjectId &id)
 
virtual PortableServer::Servant find_servant (const PortableServer::ObjectId &system_id)
 
virtual PortableServer::ObjectIdsystem_id_to_object_id (const PortableServer::ObjectId &system_id)
 
virtual PortableServer::Servant user_id_to_servant (const PortableServer::ObjectId &id)
 
CORBA::Object_ptr id_to_reference (const PortableServer::ObjectId &id, bool indirect)
 
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 (void)
 
virtual PortableServer::ObjectIdservant_to_user_id (PortableServer::Servant servant)
 
virtual CORBA::Object_ptr servant_to_reference (PortableServer::Servant servant)
 
virtual CORBA::Object_ptr create_reference (const char *intf, CORBA::Short priority)
 
virtual CORBA::Object_ptr create_reference_with_id (const PortableServer::ObjectId &oid, const char *intf, CORBA::Short priority)
 
virtual ::PortableServer::ServantRetentionPolicyValue type () const
 
- Public Member Functions inherited from TAO::Portable_Server::ServantRetentionStrategyNonRetain
 ServantRetentionStrategyNonRetain (void)
 
- Public Member Functions inherited from TAO::Portable_Server::Policy_Strategy
virtual ~Policy_Strategy (void)
 
- Public Member Functions inherited from ACE_Service_Object
 ACE_Service_Object (ACE_Reactor *=0)
 
virtual ~ACE_Service_Object (void)
 
virtual int suspend (void)
 
virtual int resume (void)
 
- Public Member Functions inherited from ACE_Event_Handler
virtual ~ACE_Event_Handler (void)
 
virtual ACE_HANDLE get_handle (void) const
 
virtual void set_handle (ACE_HANDLE)
 
virtual int priority (void) const
 
virtual void priority (int priority)
 
virtual int handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE)
 
virtual int handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE)
 
virtual int handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE)
 
virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act=0)
 
virtual int handle_exit (ACE_Process *)
 
virtual int handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask)
 
virtual int handle_signal (int signum, siginfo_t *=0, ucontext_t *=0)
 
virtual int resume_handler (void)
 
virtual int handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
 
virtual int handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
 
virtual void reactor (ACE_Reactor *reactor)
 
virtual ACE_Reactorreactor (void) const
 
virtual ACE_Reactor_Timer_Interfacereactor_timer_interface (void) const
 
virtual Reference_Count add_reference (void)
 
virtual Reference_Count remove_reference (void)
 
Reference_Counting_Policyreference_counting_policy (void)
 
- Public Member Functions inherited from ACE_Shared_Object
 ACE_Shared_Object (void)
 
virtual ~ACE_Shared_Object (void)
 
virtual int init (int argc, ACE_TCHAR *argv[])
 
virtual int fini (void)
 
virtual int info (ACE_TCHAR **info_string, size_t length=0) const
 

Protected Member Functions

int is_user_id_in_map (const PortableServer::ObjectId &id, CORBA::Short priority, bool &priorities_match, bool &wait_occurred_restart_call)
 
void deactivate_map_entry (TAO_Active_Object_Map_Entry *active_object_map_entry)
 
PortableServer::ObjectIdservant_to_system_id_i (PortableServer::Servant p_servant, CORBA::Short &priority)
 
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)
 
TAO_Active_Object_Mapget_active_object_map () const
 
- Protected Member Functions inherited from ACE_Event_Handler
 ACE_Event_Handler (ACE_Reactor *=0, int priority=ACE_Event_Handler::LO_PRIORITY)
 

Private Attributes

auto_ptr< TAO_Active_Object_Mapactive_object_map_
 
CORBA::ULong waiting_servant_deactivation_
 

Additional Inherited Members

- Public Types inherited from ACE_Event_Handler
typedef long Reference_Count
 
- Static Public Member Functions inherited from ACE_Event_Handler
static ACE_THR_FUNC_RETURN read_adapter (void *event_handler)
 
static int register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED)
 
static int remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr)
 
- Public Attributes inherited from ACE_Event_Handler
 LO_PRIORITY
 
 HI_PRIORITY
 
 NULL_MASK
 
 READ_MASK
 
 WRITE_MASK
 
 EXCEPT_MASK
 
 ACCEPT_MASK
 
 CONNECT_MASK
 
 TIMER_MASK
 
 QOS_MASK
 
 GROUP_QOS_MASK
 
 SIGNAL_MASK
 
 ALL_EVENTS_MASK
 
 RWE_MASK
 
 DONT_CALL
 
 ACE_EVENT_HANDLER_NOT_RESUMED
 
 ACE_REACTOR_RESUMES_HANDLER
 
 ACE_APPLICATION_RESUMES_HANDLER
 
- Protected Types inherited from ACE_Event_Handler
typedef ACE_Atomic_Op< ACE_SYNCH_MUTEX, Reference_CountAtomic_Reference_Count
 
- Protected Attributes inherited from TAO::Portable_Server::ServantRetentionStrategyNonRetain
TAO_Root_POApoa_
 
ACE_Atomic_Op< TAO_SYNCH_MUTEX, ACE_UINT32 > sys_id_count_
 
- Protected Attributes inherited from ACE_Event_Handler
Atomic_Reference_Count reference_count_
 

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,
bool &  wait_occurred_restart_call 
)
virtual
void TAO::Portable_Server::ServantRetentionStrategyRetain::activate_object_with_id ( const PortableServer::ObjectId id,
PortableServer::Servant  servant,
CORBA::Short  priority,
bool &  wait_occurred_restart_call 
)
virtual
CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::create_reference ( const char *  intf,
CORBA::Short  priority 
)
virtual
CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::create_reference_with_id ( const PortableServer::ObjectId oid,
const char *  intf,
CORBA::Short  priority 
)
virtual
void TAO::Portable_Server::ServantRetentionStrategyRetain::deactivate_all_objects ( void  )
virtual
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
PortableServer::Servant TAO::Portable_Server::ServantRetentionStrategyRetain::find_servant ( const PortableServer::ObjectId system_id)
virtual
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
int TAO::Portable_Server::ServantRetentionStrategyRetain::find_servant_priority ( const PortableServer::ObjectId system_id,
CORBA::Short priority 
)
virtual
TAO_Active_Object_Map * TAO::Portable_Server::ServantRetentionStrategyRetain::get_active_object_map ( ) const
protectedvirtual
CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::id_to_reference ( const PortableServer::ObjectId id,
bool  indirect 
)
virtual
int TAO::Portable_Server::ServantRetentionStrategyRetain::is_servant_in_map ( PortableServer::Servant  servant,
bool &  wait_occurred_restart_call 
)
virtual
int TAO::Portable_Server::ServantRetentionStrategyRetain::is_user_id_in_map ( const PortableServer::ObjectId id,
CORBA::Short  priority,
bool &  priorities_match,
bool &  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 
)
protectedvirtual
CORBA::Boolean TAO::Portable_Server::ServantRetentionStrategyRetain::servant_has_remaining_activations ( PortableServer::Servant  servant)
protectedvirtual
TAO_SERVANT_LOCATION TAO::Portable_Server::ServantRetentionStrategyRetain::servant_present ( const PortableServer::ObjectId system_id,
PortableServer::Servant servant 
)
virtual
CORBA::Object_ptr TAO::Portable_Server::ServantRetentionStrategyRetain::servant_to_reference ( PortableServer::Servant  servant)
virtual
PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::servant_to_system_id_i ( PortableServer::Servant  p_servant,
CORBA::Short priority 
)
protected
PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::servant_to_user_id ( PortableServer::Servant  servant)
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 ( void  )
virtual
void TAO::Portable_Server::ServantRetentionStrategyRetain::strategy_init ( TAO_Root_POA poa)
virtual
PortableServer::ObjectId * TAO::Portable_Server::ServantRetentionStrategyRetain::system_id_to_object_id ( const PortableServer::ObjectId system_id)
virtual
PortableServer::ServantRetentionPolicyValue TAO::Portable_Server::ServantRetentionStrategyRetain::type ( void  ) const
virtual
int TAO::Portable_Server::ServantRetentionStrategyRetain::unbind_using_user_id ( const PortableServer::ObjectId user_id)
protectedvirtual
PortableServer::Servant TAO::Portable_Server::ServantRetentionStrategyRetain::user_id_to_servant ( const PortableServer::ObjectId id)
virtual
CORBA::ULong TAO::Portable_Server::ServantRetentionStrategyRetain::waiting_servant_deactivation ( void  ) const
virtual

Member Data Documentation

auto_ptr<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: