TAO_RTCORBA  2.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
TAO_PriorityBandedConnectionPolicy Class Reference

RTCORBA::PriorityBandedConnectionPolicy implementation. More...

#include <RT_Policy_i.h>

Inheritance diagram for TAO_PriorityBandedConnectionPolicy:
Inheritance graph
Collaboration diagram for TAO_PriorityBandedConnectionPolicy:
Collaboration graph

Public Member Functions

 TAO_PriorityBandedConnectionPolicy (const RTCORBA::PriorityBands &bands)
 Constructor. More...
 
 TAO_PriorityBandedConnectionPolicy (const TAO_PriorityBandedConnectionPolicy &rhs)
 Copy constructor. More...
 
RTCORBA::PriorityBandspriority_bands_rep (void)
 
RTCORBA::PriorityBandspriority_bands (void)
 
CORBA::PolicyType policy_type (void)
 
CORBA::Policy_ptr copy (void)
 
void destroy (void)
 
CORBA::Boolean _tao_encode (TAO_OutputCDR &out_cdr)
 This method writes a CDR representation of the current object. More...
 
CORBA::Boolean _tao_decode (TAO_InputCDR &in_cdr)
 This method reads the object state from a CDR representation. More...
 
TAO_Cached_Policy_Type _tao_cached_type (void) const
 
TAO_Policy_Scope _tao_scope (void) const
 

Static Public Member Functions

static CORBA::Policy_ptr create (const CORBA::Any &val)
 
- Static Public Member Functions inherited from CORBA::LocalObject
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
 
static void _tao_any_destructor (void *)
 
static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj)
 
static void tao_object_initialize (Object *)
 
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
 
static CORBA::Object_ptr _nil (void)
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 

Protected Member Functions

virtual ~TAO_PriorityBandedConnectionPolicy (void)
 
 TAO_PriorityBandedConnectionPolicy (void)
 
- Protected Member Functions inherited from CORBA::LocalObject
 Object (int dummy=0)
 
TAO::Object_Proxy_Brokerproxy_broker () const
 

Private Attributes

RTCORBA::PriorityBands priority_bands_
 Attribute. More...
 

Friends

class TAO_RT_PolicyFactory
 

Additional Inherited Members

- Public Types inherited from CORBA::LocalObject
typedef Object_ptr _ptr_type
 
typedef Object_var _var_type
 
typedef Object_out _out_type
 

Detailed Description

RTCORBA::PriorityBandedConnectionPolicy implementation.

RT CORBA provides facility for a client to communicate with a server via multiple connections, aka bands, with each connection handling invocations that are made at a different CORBA priority. This policy allows the specification of the number of such bands and their priorities.

Constructor & Destructor Documentation

TAO_PriorityBandedConnectionPolicy::TAO_PriorityBandedConnectionPolicy ( const RTCORBA::PriorityBands bands)

Constructor.

TAO_PriorityBandedConnectionPolicy::TAO_PriorityBandedConnectionPolicy ( const TAO_PriorityBandedConnectionPolicy rhs)

Copy constructor.

TAO_PriorityBandedConnectionPolicy::~TAO_PriorityBandedConnectionPolicy ( void  )
protectedvirtual

Protected destructor to enforce proper memory management of this reference counted object.

TAO_PriorityBandedConnectionPolicy::TAO_PriorityBandedConnectionPolicy ( void  )
protected

Member Function Documentation

TAO_Cached_Policy_Type TAO_PriorityBandedConnectionPolicy::_tao_cached_type ( void  ) const
CORBA::Boolean TAO_PriorityBandedConnectionPolicy::_tao_decode ( TAO_InputCDR in_cdr)

This method reads the object state from a CDR representation.

CORBA::Boolean TAO_PriorityBandedConnectionPolicy::_tao_encode ( TAO_OutputCDR out_cdr)

This method writes a CDR representation of the current object.

TAO_Policy_Scope TAO_PriorityBandedConnectionPolicy::_tao_scope ( void  ) const
CORBA::Policy_ptr TAO_PriorityBandedConnectionPolicy::copy ( void  )
CORBA::Policy_ptr TAO_PriorityBandedConnectionPolicy::create ( const CORBA::Any &  val)
static

Helper method for the implementation of CORBA::ORB::create_policy.

void TAO_PriorityBandedConnectionPolicy::destroy ( void  )
CORBA::PolicyType TAO_PriorityBandedConnectionPolicy::policy_type ( void  )
RTCORBA::PriorityBands * TAO_PriorityBandedConnectionPolicy::priority_bands ( void  )
RTCORBA::PriorityBands & TAO_PriorityBandedConnectionPolicy::priority_bands_rep ( void  )

Accessor to the underlying priority bands of the policy (does not make a copy like the idl accessor <priority_bands> implementation below.)

Friends And Related Function Documentation

friend class TAO_RT_PolicyFactory
friend

This constructor is used by TAO_RT_PolicyFactory when decoding policies from tagged components in an IOR.

Member Data Documentation

RTCORBA::PriorityBands TAO_PriorityBandedConnectionPolicy::priority_bands_
private

Attribute.


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