TAO
2.3.3
|
An abstract base class for Transport Property. More...
#include <Transport_Descriptor_Interface.h>
Public Member Functions | |
virtual | ~TAO_Transport_Descriptor_Interface (void) |
Destructor. More... | |
virtual TAO_Transport_Descriptor_Interface * | duplicate (void)=0 |
virtual CORBA::Boolean | is_equivalent (const TAO_Transport_Descriptor_Interface *other_prop)=0 |
Try to determine if this object is same as the other_prop. More... | |
virtual u_long | hash (void) const =0 |
Generate hash value for our class. More... | |
TAO_Endpoint * | endpoint (void) |
Return the underlying endpoint object. More... | |
CORBA::Boolean | reset_endpoint (TAO_Endpoint *ep) |
void | set_bidir_flag (CORBA::Boolean flag) |
Set the BiDir flag. More... | |
Protected Member Functions | |
TAO_Transport_Descriptor_Interface (void) | |
Default Constructor. More... | |
TAO_Transport_Descriptor_Interface (TAO_Endpoint *endpoint, CORBA::Boolean take_ownership=false) | |
Constructor. More... | |
Protected Attributes | |
TAO_Endpoint * | endpoint_ |
The base property of the connection ie. the peer's endpoint. More... | |
CORBA::Boolean | bidir_flag_ |
Should the endpoint be used in either direction? More... | |
CORBA::Boolean | release_ |
An abstract base class for Transport Property.
This class provides an abstract interface and holds minimal info on which the Transport Caching scheme is based on. Concrete connection properties can be got by inheriting from this class and implementing the virtual functions. Note 1: Additional properties for connection like Qos, Priority that the RT folks would need, can be added by inheriting from this class and providing the following methods.
|
virtual |
Destructor.
|
protected |
Default Constructor.
|
protected |
Constructor.
|
pure virtual |
This call allocates and copies the contents of this class and returns the pointer
Implemented in TAO_Base_Transport_Property.
TAO_Endpoint * TAO_Transport_Descriptor_Interface::endpoint | ( | void | ) |
Return the underlying endpoint object.
|
pure virtual |
Generate hash value for our class.
Implemented in TAO_Base_Transport_Property.
|
pure virtual |
Try to determine if this object is same as the other_prop.
Implemented in TAO_Base_Transport_Property.
CORBA::Boolean TAO_Transport_Descriptor_Interface::reset_endpoint | ( | TAO_Endpoint * | ep | ) |
Reset the endpoint pointer to point to another, if that one is part of the chain based by the current endpoint. Although this method is public it should only be used by the protocol specific connector, right before caching, and only when a parallel connect was attempted with more than one possible endpoints.
void TAO_Transport_Descriptor_Interface::set_bidir_flag | ( | CORBA::Boolean | flag | ) |
Set the BiDir flag.
|
protected |
Should the endpoint be used in either direction?
|
protected |
The base property of the connection ie. the peer's endpoint.
|
protected |
Is the endpoint allocated on the heap? If so, we will have to delete it when we destruct ourselves.