#include <Addr.h>
Inheritance diagram for ACE_Addr:


Public Member Functions | |
| ACE_Addr (int type=-1, int size=-1) | |
| Initializes instance variables. | |
| virtual | ~ACE_Addr (void) |
| Destructor. | |
| int | get_size (void) const |
| Return the size of the address. | |
| void | set_size (int size) |
| Sets the size of the address. | |
| int | get_type (void) const |
| Get the type of the address. | |
| void | set_type (int type) |
| Set the type of the address. | |
| virtual void * | get_addr (void) const |
| Return a pointer to the address. | |
| virtual void | set_addr (void *, int len) |
| Set a pointer to the address. | |
| bool | operator== (const ACE_Addr &sap) const |
| Check for address equality. | |
| bool | operator!= (const ACE_Addr &sap) const |
| Check for address inequality. | |
| void | base_set (int type, int size) |
| Initializes instance variables. | |
| virtual unsigned long | hash (void) const |
| 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 ACE_Addr | sap_any |
| Wild-card address. | |
Protected Attributes | |
| int | addr_type_ |
| e.g., AF_UNIX, AF_INET, AF_SPIPE, etc. | |
| int | addr_size_ |
| Number of bytes in the address. | |
|
||||||||||||
|
Initializes instance variables.
|
|
|
Destructor.
|
|
||||||||||||
|
Initializes instance variables.
|
|
|
Dump the state of an object.
Reimplemented in ACE_ATM_Addr, ACE_DEV_Addr, ACE_FILE_Addr, ACE_INET_Addr, ACE_MEM_Addr, ACE_SPIPE_Addr, and ACE_UNIX_Addr. |
|
|
Return a pointer to the address.
Reimplemented in ACE_ATM_Addr, ACE_DEV_Addr, ACE_FILE_Addr, ACE_INET_Addr, ACE_MEM_Addr, ACE_SPIPE_Addr, and ACE_UNIX_Addr. |
|
|
Return the size of the address.
|
|
|
Get the type of the address.
|
|
|
Returns a hash value. This should be overwritten by a subclass that can produce a better hash value. Reimplemented in ACE_INET_Addr, ACE_MEM_Addr, and ACE_UNIX_Addr. |
|
|
Check for address inequality.
|
|
|
Check for address equality.
|
|
||||||||||||
|
Set a pointer to the address.
Reimplemented in ACE_ATM_Addr, ACE_INET_Addr, ACE_MEM_Addr, ACE_SPIPE_Addr, and ACE_UNIX_Addr. |
|
|
Sets the size of the address.
|
|
|
Set the type of the address.
|
|
|
Declare the dynamic allocation hooks.
Reimplemented in ACE_ATM_Addr, ACE_DEV_Addr, ACE_FILE_Addr, ACE_INET_Addr, ACE_MEM_Addr, ACE_SPIPE_Addr, and ACE_UNIX_Addr. |
|
|
Number of bytes in the address.
|
|
|
e.g., AF_UNIX, AF_INET, AF_SPIPE, etc.
|
|
|
Wild-card address.
|
1.3.9.1