#include <UIPMC_Endpoint.h>
Public Member Functions | |
TAO_UIPMC_Endpoint (void) | |
Default constructor. | |
TAO_UIPMC_Endpoint (const ACE_INET_Addr &addr) | |
Constructor. | |
TAO_UIPMC_Endpoint (const CORBA::Octet class_d_address[4], CORBA::UShort port) | |
Constructor. @ Frank - deprecate this. | |
~TAO_UIPMC_Endpoint (void) | |
Destructor. | |
virtual TAO_Endpoint * | next (void) |
virtual int | addr_to_string (char *buffer, size_t length) |
virtual TAO_Endpoint * | duplicate (void) |
Makes a copy of <this>. | |
CORBA::Boolean | is_equivalent (const TAO_Endpoint *other_endpoint) |
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>. | |
void | object_addr (const ACE_INET_Addr &addr) |
Set the IP multicast address and port. | |
const char * | host (void) const |
CORBA::UShort | port (void) const |
Return the port number. | |
CORBA::UShort | port (CORBA::UShort p) |
Set the port number. | |
Private Member Functions | |
ACE_UINT32 | uint_ip_addr (void) const |
Helper methods for getting and setting the IP address. @ Vadym - deprecate these. | |
void | uint_ip_addr (ACE_UINT32 ip_addr) |
void | update_object_addr (void) |
Helper method to update the cached object address. @ Vadym - deprecate this. | |
Private Attributes | |
CORBA::Octet | class_d_address_ [4] |
IP Multicast address. @ Frank - deprecate this. | |
CORBA::String_var | host_ |
String representing the host address. | |
CORBA::UShort | port_ |
UDP port number. | |
ACE_INET_Addr | object_addr_ |
TAO_UIPMC_Endpoint * | next_ |
UIPMC-specific implementation of PP Framework Endpoint interface.
TAO_UIPMC_Endpoint::TAO_UIPMC_Endpoint | ( | void | ) |
Default constructor.
TAO_UIPMC_Endpoint::TAO_UIPMC_Endpoint | ( | const ACE_INET_Addr & | addr | ) |
Constructor.
TAO_UIPMC_Endpoint::TAO_UIPMC_Endpoint | ( | const CORBA::Octet | class_d_address[4], | |
CORBA::UShort | port | |||
) |
Constructor. @ Frank - deprecate this.
TAO_UIPMC_Endpoint::~TAO_UIPMC_Endpoint | ( | void | ) |
Destructor.
int TAO_UIPMC_Endpoint::addr_to_string | ( | char * | buffer, | |
size_t | length | |||
) | [virtual] |
Implements TAO_Endpoint.
TAO_Endpoint * TAO_UIPMC_Endpoint::duplicate | ( | void | ) | [virtual] |
Makes a copy of <this>.
Implements TAO_Endpoint.
CORBA::ULong TAO_UIPMC_Endpoint::hash | ( | void | ) | [virtual] |
Return a hash value for this object.
Implements TAO_Endpoint.
const char * TAO_UIPMC_Endpoint::host | ( | void | ) | const |
Return a pointer to the stringified host address (not including the port). This class retains ownership of the address memory.
CORBA::Boolean TAO_UIPMC_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_UIPMC_Endpoint::next | ( | void | ) | [virtual] |
Implements TAO_Endpoint.
void TAO_UIPMC_Endpoint::object_addr | ( | const ACE_INET_Addr & | addr | ) |
Set the IP multicast address and port.
const ACE_INET_Addr & TAO_UIPMC_Endpoint::object_addr | ( | void | ) | const [inline] |
Return a reference to the <object_addr>.
CORBA::UShort TAO_UIPMC_Endpoint::port | ( | CORBA::UShort | p | ) | [inline] |
Set the port number.
CORBA::UShort TAO_UIPMC_Endpoint::port | ( | void | ) | const [inline] |
Return the port number.
void TAO_UIPMC_Endpoint::uint_ip_addr | ( | ACE_UINT32 | ip_addr | ) | [inline, private] |
ACE_UINT32 TAO_UIPMC_Endpoint::uint_ip_addr | ( | void | ) | const [inline, private] |
Helper methods for getting and setting the IP address. @ Vadym - deprecate these.
void TAO_UIPMC_Endpoint::update_object_addr | ( | void | ) | [inline, private] |
Helper method to update the cached object address. @ Vadym - deprecate this.
CORBA::Octet TAO_UIPMC_Endpoint::class_d_address_[4] [private] |
IP Multicast address. @ Frank - deprecate this.
CORBA::String_var TAO_UIPMC_Endpoint::host_ [private] |
String representing the host address.
TAO_UIPMC_Endpoint* TAO_UIPMC_Endpoint::next_ [private] |
UIPMC 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.
CORBA::UShort TAO_UIPMC_Endpoint::port_ [private] |
UDP port number.