TAO_RTCORBA  2.4.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TAO_RT_Stub Class Reference

#include <RT_Stub.h>

Inheritance diagram for TAO_RT_Stub:
Inheritance graph
[legend]
Collaboration diagram for TAO_RT_Stub:
Collaboration graph
[legend]

Public Member Functions

 TAO_RT_Stub (const char *repository_id, const TAO_MProfile &profiles, TAO_ORB_Core *orb_core)
 
virtual ~TAO_RT_Stub (void)
 
CORBA::Policy_ptr get_policy (CORBA::PolicyType type)
 
CORBA::Policy_ptr get_cached_policy (TAO_Cached_Policy_Type type)
 
TAO_Stubset_policy_overrides (const CORBA::PolicyList &policies, CORBA::SetOverrideType set_add)
 
- Public Member Functions inherited from TAO_Stub
virtual CORBA::PolicyListget_policy_overrides (const CORBA::PolicyTypeSeq &types)
 
TAO::Transport_Queueing_Strategytransport_queueing_strategy (void)
 
CORBA::ULong hash (CORBA::ULong maximum)
 
CORBA::Boolean is_equivalent (CORBA::Object_ptr other_obj)
 
 TAO_Stub (const char *repository_id, const TAO_MProfile &profiles, TAO_ORB_Core *orb_core)
 
void _incr_refcnt (void)
 
void _decr_refcnt (void)
 
const TAO_SYNCH_MUTEXprofile_lock (void) const
 
TAO_Profileprofile_in_use (void)
 
const TAO::ObjectKeyobject_key (void) const
 
TAO_MProfilemake_profiles (void)
 
const TAO_MProfilebase_profiles (void) const
 
TAO_MProfilebase_profiles (void)
 
const TAO_MProfileforward_profiles (void) const
 
TAO_MProfileforward_profiles (void)
 
TAO_Profilenext_profile (void)
 
void reset_profiles (void)
 
CORBA::Boolean at_starting_profile (void) const
 
CORBA::Boolean valid_forward_profile (void)
 
void set_valid_profile (void)
 
CORBA::Boolean valid_profile (void) const
 
TAO_Profilebase_profiles (const TAO_MProfile &mprofiles)
 
void add_forward_profiles (const TAO_MProfile &mprofiles, const CORBA::Boolean permanent_forward=false)
 
CORBA::Boolean next_profile_retry (void)
 
TAO_ORB_Coreorb_core (void) const
 
CORBA::Boolean is_collocated (void) const
 
void is_collocated (CORBA::Boolean)
 
CORBA::ORB_ptr servant_orb_ptr (void)
 
CORBA::ORB_varservant_orb_var (void)
 
void servant_orb (CORBA::ORB_ptr orb)
 
void collocated_servant (TAO_Abstract_ServantBase *servant)
 
TAO_Abstract_ServantBasecollocated_servant (void) const
 
void object_proxy_broker (TAO::Object_Proxy_Broker *proxy_broker)
 
TAO::Object_Proxy_Brokerobject_proxy_broker (void) const
 
int create_ior_info (IOP::IOR *&ior_info, CORBA::ULong &index)
 
void destroy (void)
 
CORBA::Boolean optimize_collocation_objects (void) const
 
CORBA::Boolean marshal (TAO_OutputCDR &)
 
void forwarded_on_exception (bool forwarded)
 
bool forwarded_on_exception () const
 

Private Member Functions

void parse_policies (void)
 Helper method used to parse the policies. More...
 
void exposed_priority_model (CORBA::Policy_ptr policy)
 
void exposed_priority_banded_connection (CORBA::Policy_ptr policy)
 
void exposed_client_protocol (CORBA::Policy_ptr policy)
 
CORBA::Policy_ptr exposed_priority_model (void)
 
CORBA::Policy_ptr exposed_priority_banded_connection (void)
 
CORBA::Policy_ptr exposed_client_protocol (void)
 
CORBA::Policy_ptr effective_priority_banded_connection (void)
 
CORBA::Policy_ptr effective_client_protocol (void)
 
 TAO_RT_Stub (const TAO_RT_Stub &)
 
TAO_RT_Stuboperator= (const TAO_RT_Stub &)
 

Private Attributes

CORBA::Policy_var priority_model_policy_
 
CORBA::Policy_var priority_banded_connection_policy_
 
CORBA::Policy_var client_protocol_policy_
 
bool are_policies_parsed_
 

Additional Inherited Members

- Public Attributes inherited from TAO_Stub
CORBA::String_var type_id
 
- Protected Member Functions inherited from TAO_Stub
virtual ~TAO_Stub (void)
 
void reset_profiles_i (void)
 
TAO_Profilenext_profile_i (void)
 
- Protected Attributes inherited from TAO_Stub
TAO_ORB_Core_Auto_Ptr orb_core_
 
CORBA::ORB_var orb_
 
CORBA::Boolean is_collocated_
 
CORBA::ORB_var servant_orb_
 
TAO_Abstract_ServantBasecollocated_servant_
 
TAO::Object_Proxy_Brokerobject_proxy_broker_
 
TAO_MProfile base_profiles_
 
TAO_MProfileforward_profiles_
 
TAO_MProfileforward_profiles_perm_
 
TAO_Profileprofile_in_use_
 
TAO_SYNCH_MUTEX profile_lock_
 
CORBA::Boolean profile_success_
 
ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > refcount_
 
TAO_Policy_Setpolicies_
 
IOP::IORior_info_
 
IOP::IORforwarded_ior_info_
 
CORBA::Boolean const collocation_opt_
 
ACE_Atomic_Op< TAO_SYNCH_MUTEX, bool > forwarded_on_exception_
 

Detailed Description

This class represent a stub with extended functionality, which are needed for RTCORBA.

Constructor & Destructor Documentation

TAO_RT_Stub::TAO_RT_Stub ( const char *  repository_id,
const TAO_MProfile profiles,
TAO_ORB_Core orb_core 
)
TAO_RT_Stub::~TAO_RT_Stub ( void  )
virtual
TAO_RT_Stub::TAO_RT_Stub ( const TAO_RT_Stub )
private

Member Function Documentation

CORBA::Policy_ptr TAO_RT_Stub::effective_client_protocol ( void  )
private
CORBA::Policy_ptr TAO_RT_Stub::effective_priority_banded_connection ( void  )
private
void TAO_RT_Stub::exposed_client_protocol ( CORBA::Policy_ptr  policy)
private
CORBA::Policy * TAO_RT_Stub::exposed_client_protocol ( void  )
private

Returns the CORBA::Policy (which will be narrowed and used as RTCORBA::ClientProtocolPolicy) exported in object's IOR.

void TAO_RT_Stub::exposed_priority_banded_connection ( CORBA::Policy_ptr  policy)
private
CORBA::Policy * TAO_RT_Stub::exposed_priority_banded_connection ( void  )
private

Returns the CORBA::Policy (which will be narrowed and used as RTCORBA::PriorityBandedConnectionPolicy) exported in object's IOR.

void TAO_RT_Stub::exposed_priority_model ( CORBA::Policy_ptr  policy)
private
CORBA::Policy * TAO_RT_Stub::exposed_priority_model ( void  )
private

Returns the CORBA::Policy (which will be narrowed to be used as RTCORBA::PriorityModelPolicy) exported in object's IOR.

CORBA::Policy_ptr TAO_RT_Stub::get_cached_policy ( TAO_Cached_Policy_Type  type)
virtual

Reimplemented from TAO_Stub.

CORBA::Policy_ptr TAO_RT_Stub::get_policy ( CORBA::PolicyType  type)
virtual

Returns the effective policy if type is a known client-exposed policy type. Returns the effective override for all other policy types.

Reimplemented from TAO_Stub.

TAO_RT_Stub& TAO_RT_Stub::operator= ( const TAO_RT_Stub )
private
void TAO_RT_Stub::parse_policies ( void  )
private

Helper method used to parse the policies.

TAO_Stub * TAO_RT_Stub::set_policy_overrides ( const CORBA::PolicyList policies,
CORBA::SetOverrideType  set_add 
)
virtual

Reimplemented from TAO_Stub.

Member Data Documentation

bool TAO_RT_Stub::are_policies_parsed_
private
CORBA::Policy_var TAO_RT_Stub::client_protocol_policy_
private
CORBA::Policy_var TAO_RT_Stub::priority_banded_connection_policy_
private
CORBA::Policy_var TAO_RT_Stub::priority_model_policy_
private

The documentation for this class was generated from the following files: