#include <ATM_Addr.h>
Inheritance diagram for ACE_ATM_Addr
Public Methods | |
ACE_ATM_Addr (unsigned char selector = DEFAULT_SELECTOR) | |
Default constructor. | |
ACE_ATM_Addr (const ACE_ATM_Addr &, unsigned char selector = DEFAULT_SELECTOR) | |
Copy constructor. | |
ACE_ATM_Addr (const ATM_Addr *, unsigned char selector = DEFAULT_SELECTOR) | |
ACE_ATM_Addr (const ACE_TCHAR sap[], unsigned char selector = DEFAULT_SELECTOR) | |
~ACE_ATM_Addr (void) | |
Default dtor. | |
void | init (unsigned char selector = DEFAULT_SELECTOR) |
Default initialization for non-address values (e.g., t_atm_sap_addr.SVE_tag_addr, t_atm_sap_addr.SVE_tag_selector). | |
int | set (const ACE_ATM_Addr &, unsigned char selector = DEFAULT_SELECTOR) |
Initializes from another . | |
int | set (const ATM_Addr *, unsigned char selector = DEFAULT_SELECTOR) |
int | set (const ACE_TCHAR sap[], unsigned char selector = DEFAULT_SELECTOR) |
virtual int | string_to_addr (const ACE_TCHAR sap[]) |
virtual int | addr_to_string (ACE_TCHAR addr[], size_t addrlen) const |
const ACE_TCHAR* | addr_to_string (void) const |
virtual void* | get_addr (void) const |
Return a pointer to the underlying network address. | |
virtual void | set_addr (void *, int) |
Set a pointer to the address. | |
unsigned char | get_selector (void) const |
Return the selector for network address. | |
void | set_selector (unsigned char) |
Set the selector for the network address. | |
int | operator== (const ACE_ATM_Addr &SAP) const |
int | operator!= (const ACE_ATM_Addr &SAP) const |
Compare two addresses for inequality. | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Static Public Attributes | |
const long | LINE_RATE |
const int | OPT_FLAGS_CPID |
const int | OPT_FLAGS_PMP |
const int | DEFAULT_SELECTOR |
Private Attributes | |
ATM_Addr | atm_addr_ |
|
Default constructor.
|
|
Copy constructor.
|
|
Creates an from an ATMSAPAddress structure. This is vendor specific (FORE systems). May need to change when other vendors are supported. |
|
Initializes an from the <sap> which can be "atm-address" (e.g., "47.0005.80.ffe100.0000.f20f.2200.0020480694f9.00") or "hostname" (e.g., "frisbee.cs.wustl.edu"). |
|
Default dtor.
|
|
Return the character representation of the ATM address (e.g., "47.0005.80.ffe100.0000.f20f.2200.0020480694f9.00"). Returns -1 if the <size> of the <buffer> is too small, else 0.(This version is non-reentrant since it returns a pointer to a static data area.) |
|
Return the character representation of the ATM address (e.g., "47.0005.80.ffe100.0000.f20f.2200.0020480694f9.00") storing it in the (which is assumed to be bytes long). This version is reentrant. Returns -1 if the of the is too small, else 0. |
|
Dump the state of an object.
Reimplemented from ACE_Addr. |
|
Return a pointer to the underlying network address.
Reimplemented from ACE_Addr. |
|
Return the selector for network address.
|
|
Default initialization for non-address values (e.g., t_atm_sap_addr.SVE_tag_addr, t_atm_sap_addr.SVE_tag_selector).
|
|
Compare two addresses for inequality.
|
|
Compare two addresses for equality. The addresses are considered equal if they contain the same ATM address. Q: Is there any other check for equality needed for ATM? |
|
Initializes an from the <sap> which can be "atm-address" (e.g., "47.0005.80.ffe100.0000.f20f.2200.0020480694f9.00") or "hostname" (e.g., "frisbee.cs.wustl.edu"). |
|
Initializes an from an ATMSAPAddress/sockaddr_atm structure. This is vendor specific (FORE systems). May need to change when other vendors are supported. |
|
Initializes from another .
|
|
Set a pointer to the address.
Reimplemented from ACE_Addr. |
|
Set the selector for the network address.
|
|
Initializes an from the <sap> which can be "atm-address" (e.g., "47.0005.80.ffe100.0000.f20f.2200.0020480694f9.00") or "hostname" (e.g., "frisbee.cs.wustl.edu"). |
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_Addr. |
|
|
|
|
|
|
|
|
|
|