TAO_PortableGroup
2.2.8
|
#include <UIPMC_Endpoint.h>
Public Member Functions | |
TAO_UIPMC_Endpoint (void) | |
Default constructor. More... | |
TAO_UIPMC_Endpoint (const ACE_INET_Addr &addr) | |
Constructor. More... | |
TAO_UIPMC_Endpoint (const CORBA::Octet class_d_address[4], CORBA::UShort port) | |
Constructor. @ Frank - deprecate this. More... | |
~TAO_UIPMC_Endpoint (void) | |
Destructor. More... | |
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 TAO_Endpoint. More... | |
CORBA::Boolean | is_equivalent (const TAO_Endpoint *other_endpoint) |
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... | |
void | object_addr (const ACE_INET_Addr &addr) |
Set the IP multicast address and port. More... | |
const char * | host (void) const |
CORBA::UShort | port (void) const |
Return the port number. More... | |
CORBA::UShort | port (CORBA::UShort p) |
Set the port number. More... | |
bool | is_preferred_network (void) const |
Do we have a preferred local network interface set for this target? More... | |
const char * | preferred_network (void) const |
Return the preferred network interface if any. More... | |
CORBA::ULong | preferred_interfaces (TAO_ORB_Core *oc) |
const char * | preferred_if (void) const |
Acessor for the preferred network interface name if set. More... | |
Public Member Functions inherited from TAO_Endpoint | |
TAO_Endpoint (CORBA::ULong tag, CORBA::Short priority=TAO_INVALID_PRIORITY) | |
virtual | ~TAO_Endpoint (void) |
CORBA::ULong | tag (void) const |
void | priority (CORBA::Short priority) |
CORBA::Short | priority (void) const |
virtual TAO_Endpoint * | next_filtered (TAO_ORB_Core *, TAO_Endpoint *root) |
Private Member Functions | |
ACE_UINT32 | uint_ip_addr (void) const |
Helper methods for getting and setting the IP address. @ Vadym - deprecate these. More... | |
void | uint_ip_addr (ACE_UINT32 ip_addr) |
void | update_object_addr (void) |
Helper method to update the cached object address. @ Vadym - deprecate this. More... | |
Private Attributes | |
CORBA::Octet | class_d_address_ [4] |
IP Multicast address. @ Frank - deprecate this. More... | |
CORBA::String_var | host_ |
String representing the host address. More... | |
CORBA::UShort | port_ |
UDP port number. More... | |
ACE_INET_Addr | object_addr_ |
TAO::IIOP_Endpoint_Info | preferred_path_ |
Preferred path for routing this endpoint. More... | |
TAO_UIPMC_Endpoint * | next_ |
CORBA::String_var | preferred_if_ |
Preferred interface name (if set) More... | |
Additional Inherited Members | |
Protected Attributes inherited from TAO_Endpoint | |
TAO_SYNCH_MUTEX | addr_lookup_lock_ |
CORBA::ULong | hash_val_ |
CORBA::ULong const | tag_ |
CORBA::Short | priority_ |
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.
|
virtual |
Implements TAO_Endpoint.
|
virtual |
Makes a copy of this TAO_Endpoint.
Implements TAO_Endpoint.
|
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.
|
virtual |
Return true if this endpoint is equivalent to other_endpoint. Two endpoints are equivalent if their port and host are the same.
Implements TAO_Endpoint.
bool TAO_UIPMC_Endpoint::is_preferred_network | ( | void | ) | const |
Do we have a preferred local network interface set for this target?
|
virtual |
Implements TAO_Endpoint.
const ACE_INET_Addr & TAO_UIPMC_Endpoint::object_addr | ( | void | ) | const |
Return a reference to the object_addr .
void TAO_UIPMC_Endpoint::object_addr | ( | const ACE_INET_Addr & | addr | ) |
Set the IP multicast address and port.
CORBA::UShort TAO_UIPMC_Endpoint::port | ( | void | ) | const |
Return the port number.
CORBA::UShort TAO_UIPMC_Endpoint::port | ( | CORBA::UShort | p | ) |
Set the port number.
const char * TAO_UIPMC_Endpoint::preferred_if | ( | void | ) | const |
Acessor for the preferred network interface name if set.
CORBA::ULong TAO_UIPMC_Endpoint::preferred_interfaces | ( | TAO_ORB_Core * | oc | ) |
Transform this endpoint into (potentially) a chain of endpoints in preferrence order of specific local interface bind address (if the ORB is thus configured)
const char * TAO_UIPMC_Endpoint::preferred_network | ( | void | ) | const |
Return the preferred network interface if any.
|
private |
Helper methods for getting and setting the IP address. @ Vadym - deprecate these.
|
private |
|
private |
Helper method to update the cached object address. @ Vadym - deprecate this.
|
private |
IP Multicast address. @ Frank - deprecate this.
|
private |
String representing the host address.
|
private |
UIPMC Endpoints can be strung into a list. Return the next endpoint in the list, if any.
|
private |
Cached instance of ACE_INET_Addr for use in making invocations, etc.
|
private |
UDP port number.
|
private |
Preferred interface name (if set)
|
private |
Preferred path for routing this endpoint.