#include <DIOP_Endpoint.h>
Inheritance diagram for TAO_DIOP_Endpoint:
Public Member Functions | |
TAO_DIOP_Endpoint (void) | |
Default constructor. | |
TAO_DIOP_Endpoint (const char *host, CORBA::UShort port, const ACE_INET_Addr &addr, CORBA::Short priority=TAO_INVALID_PRIORITY) | |
TAO_DIOP_Endpoint (const ACE_INET_Addr &addr, int use_dotted_decimal_addresses) | |
Constructor. | |
TAO_DIOP_Endpoint (const char *host, CORBA::UShort port, CORBA::Short priority) | |
Constructor. This constructor is used when decoding endpoints. | |
~TAO_DIOP_Endpoint (void) | |
Destructor. | |
const ACE_INET_Addr & | object_addr (void) const |
Return a reference to the <object_addr>. | |
const char * | host (void) const |
const char * | host (const char *h) |
CORBA::UShort | port (void) const |
Return the port number. | |
CORBA::UShort | port (CORBA::UShort p) |
Set the port number. | |
TAO_Endpoint Methods | |
virtual TAO_Endpoint * | next (void) |
virtual int | addr_to_string (char *buffer, size_t length) |
virtual TAO_Endpoint * | duplicate (void) |
CORBA::Boolean | is_equivalent (const TAO_Endpoint *other_endpoint) |
CORBA::ULong | hash (void) |
Return a hash value for this object. | |
Private Member Functions | |
int | set (const ACE_INET_Addr &addr, int use_dotted_decimal_addresses) |
Helper method for setting INET_Addr. | |
Private Attributes | |
CORBA::String_var | host_ |
String representing the host name. | |
CORBA::UShort | port_ |
TCP port number. | |
ACE_INET_Addr | object_addr_ |
int | object_addr_set_ |
Flag to indicate if the address has been resolved and set. | |
TAO_DIOP_Endpoint * | next_ |
Friends | |
class | TAO_DIOP_Profile |
class | TAO_SSLIOP_Profile |
DIOP-specific implementation of PP Framework Endpoint interface.
|
Default constructor.
|
|
Constructor. This is the most efficient constructor since it does not require any address resolution processing. |
|
Constructor.
|
|
Constructor. This constructor is used when decoding endpoints.
|
|
Destructor.
|
|
Implements TAO_Endpoint. |
|
Implements TAO_Endpoint. |
|
Return a hash value for this object.
Implements TAO_Endpoint. |
|
Copy the string <h> into <host_> and return the resulting pointer. This object maintains ownership of this string. |
|
Return a pointer to the host string. This object maintains ownership of this string. |
|
Return true if this endpoint is equivalent to <other_endpoint>. Two endpoints are equivalent iff their port and host are the same. Implements TAO_Endpoint. |
|
Implements TAO_Endpoint. |
|
Return a reference to the <object_addr>.
|
|
Set the port number.
|
|
Return the port number.
|
|
Helper method for setting INET_Addr.
|
|
|
|
|
|
String representing the host name.
|
|
DIOP Endpoints can be stringed into a list. Return the next endpoint in the list, if any. |
|
Cached instance of <ace_inet_addr> for use in making invocations, etc. |
|
Flag to indicate if the address has been resolved and set.
|
|
TCP port number.
|