TAO_RT_Transport_Descriptor_Private_Connection_Property Class Reference

Descriptor Property for Private Connections. More...

#include <RT_Transport_Descriptor_Property.h>

Inheritance diagram for TAO_RT_Transport_Descriptor_Private_Connection_Property:

Inheritance graph
[legend]
Collaboration diagram for TAO_RT_Transport_Descriptor_Private_Connection_Property:

Collaboration graph
[legend]
List of all members.

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_Propertyduplicate (void)
virtual CORBA::Boolean is_equivalent (const TAO_RT_Transport_Descriptor_Property *other_prop)

Private Attributes

long object_id_

Detailed Description

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.


Constructor & Destructor Documentation

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   ) 

Destructor.

Definition at line 23 of file RT_Transport_Descriptor_Property.cpp.

00024 {
00025 }


Member Function Documentation

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 }


Member Data Documentation

long TAO_RT_Transport_Descriptor_Private_Connection_Property::object_id_ [private]

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().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:43:02 2010 for TAO_RTCORBA by  doxygen 1.4.7