#include <SHMIOP_Endpoint.h>
Inheritance diagram for TAO_SHMIOP_Endpoint:


Public Member Functions | |
| TAO_SHMIOP_Endpoint (void) | |
| Default constructor.   | |
| TAO_SHMIOP_Endpoint (const char *host, CORBA::UShort port, const ACE_INET_Addr &addr, CORBA::Short priority=TAO_INVALID_PRIORITY) | |
| 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) | |
| 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.   | |
| 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) | 
Return a copy of this.   | |
| virtual int | addr_to_string (char *buffer, size_t length) | 
Return a copy of this.   | |
| virtual TAO_Endpoint * | duplicate (void) | 
Return a copy of this.   | |
| 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_SHMIOP_Endpoint * | next_ | 
Friends | |
| class | TAO_SHMIOP_Profile | 
SHMIOP-specific implementation of PP Framework Endpoint interface.
| TAO_SHMIOP_Endpoint::TAO_SHMIOP_Endpoint | ( | void | ) | 
Default constructor.
| TAO_SHMIOP_Endpoint::TAO_SHMIOP_Endpoint | ( | const char * | host, | |
| CORBA::UShort | port, | |||
| const ACE_INET_Addr & | addr, | |||
| CORBA::Short |  priority = TAO_INVALID_PRIORITY | |||
| ) | 
Constructor. This is the most efficient constructor since it does not require any address resolution processing.
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_SHMIOP_Endpoint::TAO_SHMIOP_Endpoint | ( | const ACE_MEM_Addr & | addr, | |
| int | use_dotted_decimal_addresses | |||
| ) | 
Constructor.
| TAO_SHMIOP_Endpoint::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::TAO_SHMIOP_Endpoint | ( | const char * | host, | |
| CORBA::UShort | port, | |||
| CORBA::Short | priority | |||
| ) | 
Constructor. This constructor is used when decoding endpoints.
| TAO_SHMIOP_Endpoint::~TAO_SHMIOP_Endpoint | ( | void | ) | 
Destructor.
| int TAO_SHMIOP_Endpoint::addr_to_string | ( | char * | buffer, | |
| size_t | length | |||
| ) |  [virtual] | 
        
| TAO_Endpoint * TAO_SHMIOP_Endpoint::duplicate | ( | void | ) |  [virtual] | 
        
| CORBA::ULong TAO_SHMIOP_Endpoint::hash | ( | void | ) |  [virtual] | 
        
| const char * TAO_SHMIOP_Endpoint::host | ( | const char * | h | ) | 
Copy the string <h> into <host_> and return the resulting pointer. This object maintains ownership of this string.
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE const char * TAO_SHMIOP_Endpoint::host | ( | void | ) | const | 
Return a pointer to the host string. This object maintains ownership of this string.
| CORBA::Boolean TAO_SHMIOP_Endpoint::is_equivalent | ( | const TAO_Endpoint * | other_endpoint | ) |  [virtual] | 
        
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.
| TAO_Endpoint * TAO_SHMIOP_Endpoint::next | ( | void | ) |  [virtual] | 
        
| const ACE_INET_Addr & TAO_SHMIOP_Endpoint::object_addr | ( | void | ) | const | 
Return a reference to the <object_addr>.
| ACE_INLINE CORBA::UShort TAO_SHMIOP_Endpoint::port | ( | CORBA::UShort | p | ) | 
Set the port number.
| ACE_INLINE CORBA::UShort TAO_SHMIOP_Endpoint::port | ( | void | ) | const | 
Return the port number.
| int TAO_SHMIOP_Endpoint::set | ( | const ACE_INET_Addr & | addr, | |
| int | use_dotted_decimal_addresses | |||
| ) |  [private] | 
        
Helper method for setting INET_Addr.
friend class TAO_SHMIOP_Profile [friend]           | 
        
CORBA::String_var TAO_SHMIOP_Endpoint::host_ [private]           | 
        
String representing the host name.
TAO_SHMIOP_Endpoint* TAO_SHMIOP_Endpoint::next_ [private]           | 
        
SHMIOP 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.
int TAO_SHMIOP_Endpoint::object_addr_set_ [private]           | 
        
Flag to indicate if the address has been resolved and set.
CORBA::UShort TAO_SHMIOP_Endpoint::port_ [private]           | 
        
TCP port number.
 1.4.7-1