TAO_RT_POA Class Reference

#include <RT_POA.h>

Inheritance diagram for TAO_RT_POA:

Inheritance graph
[legend]
Collaboration diagram for TAO_RT_POA:

Collaboration graph
[legend]
List of all members.

Public Member Functions

CORBA::Object_ptr create_reference_with_priority (const char *intf, RTCORBA::Priority priority ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr create_reference_with_id_and_priority (const PortableServer::ObjectId &oid, const char *intf, RTCORBA::Priority priority ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
PortableServer::ObjectIdactivate_object_with_priority (PortableServer::Servant p_servant, RTCORBA::Priority priority ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::WrongPolicy)
void activate_object_with_id_and_priority (const PortableServer::ObjectId &oid, PortableServer::Servant p_servant, RTCORBA::Priority priority ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::ObjectAlreadyActive, PortableServer::POA::WrongPolicy)
PortableServer::POA_ptr create_POA (const char *adapter_name, PortableServer::POAManager_ptr poa_manager, const CORBA::PolicyList &policies ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::AdapterAlreadyExists, PortableServer::POA::InvalidPolicy)
PortableServer::POA_ptr find_POA (const char *adapter_name, CORBA::Boolean activate_it ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::AdapterNonExistent)
void destroy (CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ThreadPolicy_ptr create_thread_policy (PortableServer::ThreadPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::LifespanPolicy_ptr create_lifespan_policy (PortableServer::LifespanPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::IdUniquenessPolicy_ptr create_id_uniqueness_policy (PortableServer::IdUniquenessPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::IdAssignmentPolicy_ptr create_id_assignment_policy (PortableServer::IdAssignmentPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ImplicitActivationPolicy_ptr create_implicit_activation_policy (PortableServer::ImplicitActivationPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ServantRetentionPolicy_ptr create_servant_retention_policy (PortableServer::ServantRetentionPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::RequestProcessingPolicy_ptr create_request_processing_policy (PortableServer::RequestProcessingPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
char * the_name (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::POA_ptr the_parent (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::POAList * the_children (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::POAManager_ptr the_POAManager (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::AdapterActivator_ptr the_activator (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
void the_activator (PortableServer::AdapterActivator_ptr adapter_activator ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ServantManager_ptr get_servant_manager (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
void set_servant_manager (PortableServer::ServantManager_ptr imgr ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
PortableServer::Servant get_servant (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::NoServant, PortableServer::POA::WrongPolicy)
void set_servant (PortableServer::Servant servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
PortableServer::ObjectIdactivate_object (PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::WrongPolicy)
void activate_object_with_id (const PortableServer::ObjectId &id, PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::ObjectAlreadyActive, PortableServer::POA::WrongPolicy)
void deactivate_object (const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr create_reference (const char *intf ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr create_reference_with_id (const PortableServer::ObjectId &oid, const char *intf ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ObjectIdservant_to_id (PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr servant_to_reference (PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
PortableServer::Servant reference_to_servant (CORBA::Object_ptr reference ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy)
PortableServer::ObjectIdreference_to_id (CORBA::Object_ptr reference ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy)
PortableServer::Servant id_to_servant (const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr id_to_reference (const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
CORBA::OctetSeqid (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
virtual CORBA::PolicyListclient_exposed_policies (CORBA::Short object_priority ACE_ENV_ARG_DECL)
 TAO_RT_POA (const String &name, TAO_POA_Manager &poa_manager, const TAO_POA_Policy_Set &policies, TAO_Root_POA *parent, ACE_Lock &lock, TAO_SYNCH_MUTEX &thread_lock, TAO_ORB_Core &orb_core, TAO_Object_Adapter *object_adapter ACE_ENV_ARG_DECL)
virtual ~TAO_RT_POA (void)
void * thread_pool (void) const

Protected Member Functions

virtual TAO_Root_POA * new_POA (const String &name, TAO_POA_Manager &poa_manager, const TAO_POA_Policy_Set &policies, TAO_Root_POA *parent, ACE_Lock &lock, TAO_SYNCH_MUTEX &thread_lock, TAO_ORB_Core &orb_core, TAO_Object_Adapter *object_adapter ACE_ENV_ARG_DECL)
 Template method for creating new POA's of this type.
virtual TAO_Stubkey_to_stub_i (const TAO::ObjectKey &key, const char *type_id, CORBA::Short priority ACE_ENV_ARG_DECL)
void validate_priority (RTCORBA::Priority priority ACE_ENV_ARG_DECL)
void validate_policies (ACE_ENV_SINGLE_ARG_DECL)
void parse_rt_policies (TAO_POA_Policy_Set &policies ACE_ENV_ARG_DECL)
size_t endpoint_count (void)
TAO_Stubcreate_stub_object (const TAO::ObjectKey &object_key, const char *type_id, CORBA::PolicyList *policy_list, TAO_Acceptor_Filter *filter, TAO_PriorityBandedConnectionPolicy *priority_bands ACE_ENV_ARG_DECL)
int lane_required (TAO_Thread_Lane *lane, TAO_PriorityBandedConnectionPolicy *priority_bands)

Protected Attributes

TAO_Thread_Pool * thread_pool_

Constructor & Destructor Documentation

TAO_RT_POA::TAO_RT_POA const String &  name,
TAO_POA_Manager &  poa_manager,
const TAO_POA_Policy_Set &  policies,
TAO_Root_POA *  parent,
ACE_Lock lock,
TAO_SYNCH_MUTEX thread_lock,
TAO_ORB_Core orb_core,
TAO_Object_Adapter *object_adapter  ACE_ENV_ARG_DECL
 

TAO_RT_POA::~TAO_RT_POA void   )  [virtual]
 


Member Function Documentation

PortableServer::ObjectId * TAO_RT_POA::activate_object PortableServer::Servant p_servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::WrongPolicy)
 

void TAO_RT_POA::activate_object_with_id const PortableServer::ObjectId id,
PortableServer::Servant p_servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::ObjectAlreadyActive, PortableServer::POA::WrongPolicy)
 

ACE_INLINE void TAO_RT_POA::activate_object_with_id_and_priority const PortableServer::ObjectId oid,
PortableServer::Servant  p_servant,
RTCORBA::Priority priority  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::ObjectAlreadyActive, PortableServer::POA::WrongPolicy)
 

ACE_INLINE PortableServer::ObjectId * TAO_RT_POA::activate_object_with_priority PortableServer::Servant  p_servant,
RTCORBA::Priority priority  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::WrongPolicy)
 

CORBA::PolicyList * TAO_RT_POA::client_exposed_policies CORBA::Short object_priority  ACE_ENV_ARG_DECL  )  [virtual]
 

PortableServer::IdAssignmentPolicy_ptr TAO_RT_POA::create_id_assignment_policy PortableServer::IdAssignmentPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

PortableServer::IdUniquenessPolicy_ptr TAO_RT_POA::create_id_uniqueness_policy PortableServer::IdUniquenessPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

PortableServer::ImplicitActivationPolicy_ptr TAO_RT_POA::create_implicit_activation_policy PortableServer::ImplicitActivationPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

PortableServer::LifespanPolicy_ptr TAO_RT_POA::create_lifespan_policy PortableServer::LifespanPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

PortableServer::POA_ptr TAO_RT_POA::create_POA const char *  adapter_name,
PortableServer::POAManager_ptr  poa_manager,
const CORBA::PolicyList &policies  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::AdapterAlreadyExists, PortableServer::POA::InvalidPolicy)
 

CORBA::Object_ptr TAO_RT_POA::create_reference const char *intf  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
 

CORBA::Object_ptr TAO_RT_POA::create_reference_with_id const PortableServer::ObjectId oid,
const char *intf  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException)
 

ACE_INLINE CORBA::Object_ptr TAO_RT_POA::create_reference_with_id_and_priority const PortableServer::ObjectId oid,
const char *  intf,
RTCORBA::Priority priority  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
 

ACE_INLINE CORBA::Object_ptr TAO_RT_POA::create_reference_with_priority const char *  intf,
RTCORBA::Priority priority  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
 

PortableServer::RequestProcessingPolicy_ptr TAO_RT_POA::create_request_processing_policy PortableServer::RequestProcessingPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

PortableServer::ServantRetentionPolicy_ptr TAO_RT_POA::create_servant_retention_policy PortableServer::ServantRetentionPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

TAO_Stub * TAO_RT_POA::create_stub_object const TAO::ObjectKey object_key,
const char *  type_id,
CORBA::PolicyList policy_list,
TAO_Acceptor_Filter filter,
TAO_PriorityBandedConnectionPolicy *priority_bands  ACE_ENV_ARG_DECL
[protected]
 

PortableServer::ThreadPolicy_ptr TAO_RT_POA::create_thread_policy PortableServer::ThreadPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

void TAO_RT_POA::deactivate_object const PortableServer::ObjectId &oid  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
 

void TAO_RT_POA::destroy CORBA::Boolean  etherealize_objects,
CORBA::Boolean wait_for_completion  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException)
 

size_t TAO_RT_POA::endpoint_count void   )  [protected]
 

PortableServer::POA_ptr TAO_RT_POA::find_POA const char *  adapter_name,
CORBA::Boolean activate_it  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::AdapterNonExistent)
 

PortableServer::Servant TAO_RT_POA::get_servant ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException, PortableServer::POA::NoServant, PortableServer::POA::WrongPolicy)
 

PortableServer::ServantManager_ptr TAO_RT_POA::get_servant_manager ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
 

CORBA::OctetSeq* TAO_RT_POA::id ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException)
 

CORBA::Object_ptr TAO_RT_POA::id_to_reference const PortableServer::ObjectId &oid  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
 

PortableServer::Servant TAO_RT_POA::id_to_servant const PortableServer::ObjectId &oid  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
 

TAO_Stub * TAO_RT_POA::key_to_stub_i const TAO::ObjectKey key,
const char *  type_id,
CORBA::Short priority  ACE_ENV_ARG_DECL
[protected, virtual]
 

int TAO_RT_POA::lane_required TAO_Thread_Lane *  lane,
TAO_PriorityBandedConnectionPolicy *  priority_bands
[protected]
 

TAO_Root_POA * TAO_RT_POA::new_POA const String &  name,
TAO_POA_Manager &  poa_manager,
const TAO_POA_Policy_Set &  policies,
TAO_Root_POA *  parent,
ACE_Lock lock,
TAO_SYNCH_MUTEX thread_lock,
TAO_ORB_Core orb_core,
TAO_Object_Adapter *object_adapter  ACE_ENV_ARG_DECL
[protected, virtual]
 

Template method for creating new POA's of this type.

void TAO_RT_POA::parse_rt_policies TAO_POA_Policy_Set &policies  ACE_ENV_ARG_DECL  )  [protected]
 

Parse the policy list for RT policies and update our cached policy instance.

PortableServer::ObjectId * TAO_RT_POA::reference_to_id CORBA::Object_ptr reference  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy)
 

PortableServer::Servant TAO_RT_POA::reference_to_servant CORBA::Object_ptr reference  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy)
 

PortableServer::ObjectId * TAO_RT_POA::servant_to_id PortableServer::Servant p_servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
 

CORBA::Object_ptr TAO_RT_POA::servant_to_reference PortableServer::Servant p_servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
 

void TAO_RT_POA::set_servant PortableServer::Servant servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
 

void TAO_RT_POA::set_servant_manager PortableServer::ServantManager_ptr imgr  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
 

void TAO_RT_POA::the_activator PortableServer::AdapterActivator_ptr adapter_activator  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

PortableServer::AdapterActivator_ptr TAO_RT_POA::the_activator ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException)
 

PortableServer::POAList* TAO_RT_POA::the_children ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException)
 

char* TAO_RT_POA::the_name ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException)
 

PortableServer::POA_ptr TAO_RT_POA::the_parent ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException)
 

PortableServer::POAManager_ptr TAO_RT_POA::the_POAManager ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException)
 

ACE_INLINE void * TAO_RT_POA::thread_pool void   )  const
 

void TAO_RT_POA::validate_policies ACE_ENV_SINGLE_ARG_DECL   )  [protected]
 

void TAO_RT_POA::validate_priority RTCORBA::Priority priority  ACE_ENV_ARG_DECL  )  [protected]
 


Member Data Documentation

TAO_Thread_Pool* TAO_RT_POA::thread_pool_ [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:12:37 2005 for TAO_RTPortableServer by  doxygen 1.4.5