#include <RT_Transport_Descriptor_Property.h>
Inheritance diagram for TAO_RT_Transport_Descriptor_Private_Connection_Property:
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_ |
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.
ACE_INLINE 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.
00016 : object_id_ (-1) 00017 { 00018 }
ACE_INLINE 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.
00022 : object_id_ (object_id) 00023 { 00024 }
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.
References ACE_NEW_RETURN.
00029 { 00030 // Construct a copy of our class 00031 TAO_RT_Transport_Descriptor_Private_Connection_Property *desc_prop = 0; 00032 00033 ACE_NEW_RETURN (desc_prop, 00034 TAO_RT_Transport_Descriptor_Private_Connection_Property (this->object_id_), 00035 0); 00036 00037 return desc_prop; 00038 }
ACE_INLINE void TAO_RT_Transport_Descriptor_Private_Connection_Property::init | ( | long | object_id | ) |
Init.
Definition at line 27 of file RT_Transport_Descriptor_Property.inl.
References object_id_.
00028 { 00029 this->object_id_ = object_id; 00030 }
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.
References object_id_.
00042 { 00043 const TAO_RT_Transport_Descriptor_Private_Connection_Property *rhs = 00044 dynamic_cast<const TAO_RT_Transport_Descriptor_Private_Connection_Property*> (other_prop); 00045 return (rhs != 0 && 00046 this->object_id_ == rhs->object_id_); 00047 }
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.
Referenced by init(), and is_equivalent().