#include <SHMIOP_Endpoint.h>
Inheritance diagram for TAO_SHMIOP_Endpoint


Public Methods | |
| TAO_SHMIOP_Endpoint (void) | |
| Default constructor. | |
| TAO_SHMIOP_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. | |
| TAO_SHMIOP_Endpoint (const ACE_MEM_Addr &addr, int use_dotted_decimal_addresses) | |
| Constructor. | |
| TAO_SHMIOP_Endpoint (const ACE_INET_Addr &addr, int use_dotted_decimal_addresses) | |
| Constructor. -- More of a extension of the previous one. One of them need to go. We will decide about that as time goes by. | |
| TAO_SHMIOP_Endpoint (const char *host, CORBA::UShort port, CORBA::Short priority) | |
| Constructor. This constructor is used when decoding endpoints. | |
| ~TAO_SHMIOP_Endpoint (void) | |
| Destructor. | |
| virtual TAO_Endpoint* | next (void) |
| Return a copy of <this>. | |
| virtual int | addr_to_string (char *buffer, size_t length) |
| virtual void | reset_hint (void) |
| virtual TAO_Endpoint* | duplicate (void) |
| 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. | |
| CORBA::ULong | hash (void) |
| Return a hash value for this object. | |
| const ACE_INET_Addr& | object_addr (void) const |
| Return a reference to the <object_addr>. | |
| const char* | host (void) const |
| Return a pointer to the host string. This object maintains ownership of this string. | |
| const char* | host (const char *h) |
| Copy the string <h> into <host_> and return the resulting pointer. This object maintains ownership of this string. | |
| CORBA::UShort | port (void) const |
| Return the port number. | |
| CORBA::UShort | port (CORBA::UShort p) |
| Set the port number. | |
Private Methods | |
| 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_ |
| Cached instance of for use in making invocations, etc. | |
| TAO_SHMIOP_Endpoint* | next_ |
| SHMIOP Endpoints can be stringed into a list. Return the next endpoint in the list, if any. | |
Friends | |
| class | TAO_SHMIOP_Profile |
SHMIOP-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. -- More of a extension of the previous one. One of them need to go. We will decide about that as time goes by.
|
|
|
Constructor. This constructor is used when decoding endpoints.
|
|
|
Destructor.
|
|
|
Reimplemented from TAO_Endpoint. |
|
|
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. |
|
|
Return a copy of <this>.
Reimplemented from TAO_Endpoint. |
|
|
Return a reference to the <object_addr>.
|
|
|
Set the port number.
|
|
|
Return the port number.
|
|
|
Reimplemented from TAO_Endpoint. |
|
|
Helper method for setting INET_Addr.
|
|
|
|
|
|
String representing the host name.
|
|
|
SHMIOP Endpoints can be stringed into a list. Return the next endpoint in the list, if any.
|
|
|
Cached instance of for use in making invocations, etc.
|
|
|
TCP port number.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000