Descriptor Property for Private Connections. More...
#include <RT_Transport_Descriptor_Property.h>


Public Member Functions | |
| TAO_RT_Transport_Descriptor_Private_Connection_Property (void) | |
| Constructor. | |
| TAO_RT_Transport_Descriptor_Private_Connection_Property (long object_id) | |
| ~TAO_RT_Transport_Descriptor_Private_Connection_Property (void) | |
| Destructor. | |
| void | init (long object_id) |
| Init. | |
| virtual TAO_RT_Transport_Descriptor_Property * | duplicate (void) |
| virtual CORBA::Boolean | is_equivalent (const TAO_RT_Transport_Descriptor_Property *other_prop) |
Private Attributes | |
| long | object_id_ |
Descriptor Property for Private Connections.
Holds info necessary to identify private connections and store/look them up in the Transport Cache. (For description of private connections see RTCORBA::PrivateTransportPolicy.)
Definition at line 69 of file RT_Transport_Descriptor_Property.h.
| TAO_RT_Transport_Descriptor_Private_Connection_Property::TAO_RT_Transport_Descriptor_Private_Connection_Property | ( | void | ) |
Constructor.
Definition at line 15 of file RT_Transport_Descriptor_Property.inl.
: object_id_ (-1) { }
| TAO_RT_Transport_Descriptor_Private_Connection_Property::TAO_RT_Transport_Descriptor_Private_Connection_Property | ( | long | object_id | ) |
Definition at line 21 of file RT_Transport_Descriptor_Property.inl.
: object_id_ (object_id) { }
| TAO_RT_Transport_Descriptor_Private_Connection_Property::~TAO_RT_Transport_Descriptor_Private_Connection_Property | ( | void | ) |
| TAO_RT_Transport_Descriptor_Property * TAO_RT_Transport_Descriptor_Private_Connection_Property::duplicate | ( | void | ) | [virtual] |
Implements TAO_RT_Transport_Descriptor_Property.
Definition at line 28 of file RT_Transport_Descriptor_Property.cpp.
{
// Construct a copy of our class
TAO_RT_Transport_Descriptor_Private_Connection_Property *desc_prop = 0;
ACE_NEW_RETURN (desc_prop,
TAO_RT_Transport_Descriptor_Private_Connection_Property (this->object_id_),
0);
return desc_prop;
}
| void TAO_RT_Transport_Descriptor_Private_Connection_Property::init | ( | long | object_id | ) |
Init.
Definition at line 27 of file RT_Transport_Descriptor_Property.inl.
{
this->object_id_ = object_id;
}
| CORBA::Boolean TAO_RT_Transport_Descriptor_Private_Connection_Property::is_equivalent | ( | const TAO_RT_Transport_Descriptor_Property * | other_prop | ) | [virtual] |
Implements TAO_RT_Transport_Descriptor_Property.
Definition at line 41 of file RT_Transport_Descriptor_Property.cpp.
{
const TAO_RT_Transport_Descriptor_Private_Connection_Property *rhs =
dynamic_cast<const TAO_RT_Transport_Descriptor_Private_Connection_Property*> (other_prop);
return (rhs != 0 &&
this->object_id_ == rhs->object_id_);
}
Unique identifier of the object to which private connection identified with this descriptor belongs. The value of object_id_ is the TAO_Stub* of the object.
Definition at line 93 of file RT_Transport_Descriptor_Property.h.
1.7.0