#include <source/ariba/utility/transport/tcpip/protlib/address.h>
Inherited by protlib::hostaddress, and protlib::udsaddress.
Public Types | |
| enum | subtype_t { all_subtypes = 255, IPv4HostAddress = 1, IPv6HostAddress = 2, IPv4NetAddress = 3, IPv6NetAddress = 4, IPv4ApplAddress = 5, IPv6ApplAddress = 6, IPv6Unspecified = 7, UDSAddress = 8, FlowAddressSpec = 12, AS16 = 14, AS32 = 15, IEEE48 = 16, EUI48 = 17, EUI64 = 18, NAI = 32, X509 = 33 } |
Public Member Functions | |
| virtual address * | new_instance () const =0 |
| virtual address * | copy () const =0 |
| virtual bool | operator== (const address &address) const =0 |
| bool | operator!= (const address &address) const |
| virtual | ~address () |
| subtype_t | get_type () const |
Protected Member Functions | |
| address (subtype_t st) | |
| constructor with subtype | |
| void | throw_nomem_error () const |
| virtual destructor | |
Protected Attributes | |
| subtype_t | subtype |
Address base class.
This is the base class for IP host and application addresses, router, interface and user identification and AS numbers.
Definition at line 56 of file address.h.
| all_subtypes |
255 is not a valid subtype and is used to register for all subtypes.
|
| IPv4HostAddress |
address subtypes These are the address-specific subtypes. |
| IPv6HostAddress | |
| IPv4NetAddress | |
| IPv6NetAddress | |
| IPv4ApplAddress | |
| IPv6ApplAddress | |
| IPv6Unspecified | |
| UDSAddress | |
| FlowAddressSpec | |
| AS16 | |
| AS32 | |
| IEEE48 | |
| EUI48 | |
| EUI64 | |
| NAI | |
| X509 |
| virtual address* protlib::address::copy | ( | ) | const [pure virtual] |
Implemented in protlib::hostaddress, protlib::appladdress, protlib::netaddress, and protlib::udsaddress.
Referenced by protlib::TPoverUDP::send(), protlib::TPoverTCP::send(), and protlib::TPoverTCP::terminate().
| subtype_t protlib::address::get_type | ( | ) | const [inline] |
Definition at line 97 of file address.h.
References subtype.
Referenced by protlib::TPoverTCP::send().
| virtual address* protlib::address::new_instance | ( | ) | const [pure virtual] |
Implemented in protlib::hostaddress, protlib::appladdress, protlib::netaddress, and protlib::udsaddress.
| bool protlib::address::operator!= | ( | const address & | address | ) | const [inline] |
| virtual bool protlib::address::operator== | ( | const address & | address | ) | const [pure virtual] |
subtype_t protlib::address::subtype [protected] |
Definition at line 106 of file address.h.
Referenced by get_type(), protlib::appladdress::set_subtype(), protlib::netaddress::set_subtype(), and protlib::hostaddress::set_subtype().
1.6.1