#include <RT_Transport_Descriptor_Property.h>
Inheritance diagram for TAO_RT_Transport_Descriptor_Banded_Connection_Property:
Public Member Functions | |
TAO_RT_Transport_Descriptor_Banded_Connection_Property (void) | |
Constructor. | |
TAO_RT_Transport_Descriptor_Banded_Connection_Property (CORBA::Short low_priority, CORBA::Short high_priority) | |
~TAO_RT_Transport_Descriptor_Banded_Connection_Property (void) | |
Destructor. | |
void | init (CORBA::Short low_priority, CORBA::Short high_priority) |
Init. | |
virtual TAO_RT_Transport_Descriptor_Property * | duplicate (void) |
virtual CORBA::Boolean | is_equivalent (const TAO_RT_Transport_Descriptor_Property *other_prop) |
Protected Attributes | |
CORBA::Short | low_priority_ |
The low priority of the Band. | |
CORBA::Short | high_priority_ |
The high priority of the Band. |
This property holds the Band information necessary to identify a banded connection.
Definition at line 107 of file RT_Transport_Descriptor_Property.h.
ACE_INLINE TAO_RT_Transport_Descriptor_Banded_Connection_Property::TAO_RT_Transport_Descriptor_Banded_Connection_Property | ( | void | ) |
Constructor.
Definition at line 35 of file RT_Transport_Descriptor_Property.inl.
00036 : low_priority_ (-1) 00037 , high_priority_ (-1) 00038 { 00039 }
ACE_INLINE TAO_RT_Transport_Descriptor_Banded_Connection_Property::TAO_RT_Transport_Descriptor_Banded_Connection_Property | ( | CORBA::Short | low_priority, | |
CORBA::Short | high_priority | |||
) |
Definition at line 42 of file RT_Transport_Descriptor_Property.inl.
00044 : low_priority_ (low_priority) 00045 , high_priority_ (high_priority) 00046 { 00047 }
TAO_RT_Transport_Descriptor_Banded_Connection_Property::~TAO_RT_Transport_Descriptor_Banded_Connection_Property | ( | void | ) |
TAO_RT_Transport_Descriptor_Property * TAO_RT_Transport_Descriptor_Banded_Connection_Property::duplicate | ( | void | ) | [virtual] |
Implements TAO_RT_Transport_Descriptor_Property.
Definition at line 56 of file RT_Transport_Descriptor_Property.cpp.
References ACE_NEW_RETURN.
00057 { 00058 // Construct a copy of our class 00059 TAO_RT_Transport_Descriptor_Banded_Connection_Property *desc_prop = 0; 00060 00061 ACE_NEW_RETURN (desc_prop, 00062 TAO_RT_Transport_Descriptor_Banded_Connection_Property (this->low_priority_, 00063 this->high_priority_), 00064 0); 00065 00066 return desc_prop; 00067 }
ACE_INLINE void TAO_RT_Transport_Descriptor_Banded_Connection_Property::init | ( | CORBA::Short | low_priority, | |
CORBA::Short | high_priority | |||
) |
Init.
Definition at line 50 of file RT_Transport_Descriptor_Property.inl.
References high_priority_, and low_priority_.
Referenced by TAO_RT_Invocation_Endpoint_Selector::endpoint_from_profile().
00052 { 00053 this->low_priority_ = low_priority; 00054 this->high_priority_ = high_priority; 00055 }
CORBA::Boolean TAO_RT_Transport_Descriptor_Banded_Connection_Property::is_equivalent | ( | const TAO_RT_Transport_Descriptor_Property * | other_prop | ) | [virtual] |
Implements TAO_RT_Transport_Descriptor_Property.
Definition at line 70 of file RT_Transport_Descriptor_Property.cpp.
References high_priority_, and low_priority_.
00071 { 00072 const TAO_RT_Transport_Descriptor_Banded_Connection_Property *rhs = 00073 dynamic_cast<const TAO_RT_Transport_Descriptor_Banded_Connection_Property*> (other_prop); 00074 00075 return (rhs != 0 && 00076 this->low_priority_ == rhs->low_priority_ && 00077 this->high_priority_ == rhs->high_priority_); 00078 }
The high priority of the Band.
Definition at line 131 of file RT_Transport_Descriptor_Property.h.
Referenced by init(), and is_equivalent().
The low priority of the Band.
Definition at line 128 of file RT_Transport_Descriptor_Property.h.
Referenced by init(), and is_equivalent().