Descriptor Property for Banded Connections. More...
#include <RT_Transport_Descriptor_Property.h>
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. |
Descriptor Property for Banded Connections.
This property holds the Band information necessary to identify a banded connection.
Definition at line 107 of file RT_Transport_Descriptor_Property.h.
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.
: low_priority_ (-1) , high_priority_ (-1) { }
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.
: low_priority_ (low_priority) , high_priority_ (high_priority) { }
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.
{ // Construct a copy of our class TAO_RT_Transport_Descriptor_Banded_Connection_Property *desc_prop = 0; ACE_NEW_RETURN (desc_prop, TAO_RT_Transport_Descriptor_Banded_Connection_Property (this->low_priority_, this->high_priority_), 0); return desc_prop; }
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.
{ this->low_priority_ = low_priority; this->high_priority_ = high_priority; }
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.
{ const TAO_RT_Transport_Descriptor_Banded_Connection_Property *rhs = dynamic_cast<const TAO_RT_Transport_Descriptor_Banded_Connection_Property*> (other_prop); return (rhs != 0 && this->low_priority_ == rhs->low_priority_ && this->high_priority_ == rhs->high_priority_); }
The high priority of the Band.
Definition at line 131 of file RT_Transport_Descriptor_Property.h.
The low priority of the Band.
Definition at line 128 of file RT_Transport_Descriptor_Property.h.