#include <IIOP_Endpoint.h>
Inheritance diagram for TAO_IIOP_Endpoint:
Public Methods | |
TAO_IIOP_Endpoint (void) | |
Default constructor. More... | |
TAO_IIOP_Endpoint (const char *host, CORBA::UShort port, const ACE_INET_Addr &addr) | |
Constructor. This is the most efficient constructor since it does not require any address resolution processing. More... | |
TAO_IIOP_Endpoint (const ACE_INET_Addr &addr, int use_dotted_decimal_addresses) | |
Constructor. More... | |
TAO_IIOP_Endpoint (const char *host, CORBA::UShort port, CORBA::Short priority) | |
Constructor. This constructor is used when decoding endpoints. More... | |
~TAO_IIOP_Endpoint (void) | |
Destructor. More... | |
virtual TAO_Endpoint * | next (void) |
Endpoints can be stringed in a list. Return the next endpoint in the list, if any. More... | |
virtual int | addr_to_string (char *buffer, size_t length) |
Return a string representation for the address. More... | |
virtual void | reset_hint (void) |
This method is used when a connection has been reset, requiring the hint to be cleaned up and reset to NULL. More... | |
virtual TAO_Endpoint * | duplicate (void) |
Makes a copy of <this>. More... | |
CORBA::Boolean | is_equivalent (const TAO_Endpoint *other_endpoint) |
Return true if this endpoint is equivalent to <other_endpoint>. Two endpoints are equivalent iff their port and host are the same. More... | |
CORBA::ULong | hash (void) |
Return a hash value for this object. More... | |
const ACE_INET_Addr & | object_addr (void) const |
Return a reference to the <object_addr>. More... | |
const char * | host (void) const |
Return a pointer to the host string. This object maintains ownership of this string. More... | |
const char * | host (const char *h) |
Copy the string <h> into <host_> and return the resulting pointer. This object maintains ownership of this string. More... | |
CORBA::UShort | port (void) const |
Return the port number. More... | |
CORBA::UShort | port (CORBA::UShort p) |
Set the port number. More... | |
Private Methods | |
int | set (const ACE_INET_Addr &addr, int use_dotted_decimal_addresses) |
Helper method for setting INET_Addr. More... | |
Private Attributes | |
CORBA::String_var | host_ |
String representing the host name. More... | |
CORBA::UShort | port_ |
TCP port number. More... | |
ACE_INET_Addr | object_addr_ |
Cached instance of <ACE_INET_Addr> for use in making invocations, etc. More... | |
int | object_addr_set_ |
Flag to indicate if the address has been resolved and set. More... | |
TAO_IIOP_Endpoint * | next_ |
IIOP Endpoints can be stringed into a list. Return the next endpoint in the list, if any. More... | |
Friends | |
class | TAO_IIOP_Profile |
class | TAO_SSLIOP_Profile |
IIOP-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.
|
|
Return a string representation for the address. Returns -1 if buffer is too small. 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. Reimplemented from TAO_Endpoint. |
|
Makes a copy of <this>.
Reimplemented from TAO_Endpoint. |
|
Return a hash value for this object.
Reimplemented from 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.
Reimplemented from TAO_Endpoint. |
|
Endpoints can be stringed in a list. Return the next endpoint in the list, if any.
Reimplemented from TAO_Endpoint. |
|
Return a reference to the <object_addr>.
|
|
Set the port number.
|
|
Return the port number.
|
|
This method is used when a connection has been reset, requiring the hint to be cleaned up and reset to NULL.
Reimplemented from TAO_Endpoint. |
|
Helper method for setting INET_Addr.
|
|
|
|
|
|
String representing the host name.
|
|
IIOP 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.
|