#include <Endpoint.h>
Inheritance diagram for TAO_Endpoint:

TAO_Endpoint Template Methods | |
| Abstract methods to be implemented by concrete subclasses. | |
| virtual CORBA::Boolean | is_equivalent (const TAO_Endpoint *other_endpoint)=0 |
| virtual TAO_Endpoint * | next (void)=0 |
| Endpoints can be stringed in a list. | |
| virtual int | addr_to_string (char *buffer, size_t length)=0 |
| Return a string representation for the address. | |
| virtual TAO_Endpoint * | duplicate (void)=0 |
| virtual CORBA::ULong | hash (void)=0 |
| Return a hash value for this object. | |
| TAO_SYNCH_MUTEX | addr_lookup_lock_ |
| Lock for the address lookup. | |
| CORBA::ULong | hash_val_ |
| Cache the hash value. | |
| CORBA::ULong const | tag_ |
| CORBA::Short | priority_ |
| TAO_Endpoint (const TAO_Endpoint &) | |
| Endpoints should not be copied. | |
| void | operator= (const TAO_Endpoint &) |
Public Member Functions | |
| TAO_Endpoint (CORBA::ULong tag, CORBA::Short priority=TAO_INVALID_PRIORITY) | |
| Constructor. | |
| virtual | ~TAO_Endpoint (void) |
| Destructor. | |
| CORBA::ULong | tag (void) const |
| IOP protocol tag accessor. | |
| void | priority (CORBA::Short priority) |
| <priority_> attribute setter. | |
| CORBA::Short | priority (void) const |
| <priority_> attribute getter. | |
Lightweight encapsulation of addressing information for a single acceptor endpoint. In other words, Endpoint represents a single point of contact for the server, and is the smallest unit of addressing information necessary for a client to connect to a server. A Profile contains one or more Endpoints, i.e., knows of one or more ways to contact server(s).
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_Endpoint::TAO_Endpoint | ( | CORBA::ULong | tag, | |
| CORBA::Short | priority = TAO_INVALID_PRIORITY | |||
| ) |
Constructor.
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Endpoint::~TAO_Endpoint | ( | void | ) | [virtual] |
Destructor.
| TAO_Endpoint::TAO_Endpoint | ( | const TAO_Endpoint & | ) | [private] |
Endpoints should not be copied.
| virtual int TAO_Endpoint::addr_to_string | ( | char * | buffer, | |
| size_t | length | |||
| ) | [pure virtual] |
Return a string representation for the address.
The purpose of this method is to provide a general interface to the underlying address object's addr_to_string method. This allows the protocol implementor to select the appropriate string format.
Implemented in TAO_IIOP_Endpoint.
| virtual TAO_Endpoint* TAO_Endpoint::duplicate | ( | void | ) | [pure virtual] |
This method returns a deep copy of the corresponding endpoints by allocating memory.
Implemented in TAO_IIOP_Endpoint.
| virtual CORBA::ULong TAO_Endpoint::hash | ( | void | ) | [pure virtual] |
| virtual CORBA::Boolean TAO_Endpoint::is_equivalent | ( | const TAO_Endpoint * | other_endpoint | ) | [pure virtual] |
| virtual TAO_Endpoint* TAO_Endpoint::next | ( | void | ) | [pure virtual] |
Endpoints can be stringed in a list.
Implemented in TAO_IIOP_Endpoint.
| void TAO_Endpoint::operator= | ( | const TAO_Endpoint & | ) | [private] |
| ACE_INLINE CORBA::Short TAO_Endpoint::priority | ( | void | ) | const |
<priority_> attribute getter.
| ACE_INLINE void TAO_Endpoint::priority | ( | CORBA::Short | priority | ) |
<priority_> attribute setter.
| ACE_INLINE CORBA::ULong TAO_Endpoint::tag | ( | void | ) | const |
IOP protocol tag accessor.
TAO_SYNCH_MUTEX TAO_Endpoint::addr_lookup_lock_ [mutable, protected] |
Lock for the address lookup.
CORBA::ULong TAO_Endpoint::hash_val_ [protected] |
Cache the hash value.
CORBA::Short TAO_Endpoint::priority_ [protected] |
CORBA::ULong const TAO_Endpoint::tag_ [protected] |
IOP tag, identifying the protocol for which this endpoint contains addressing info.
1.4.6-4