feisty meow concerns codebase
2.140
|
#include <machine_uid.h>
Public Member Functions | |
internet_machine_uid (const basis::astring &hostname, const basis::byte_array &ip_address) | |
Public Member Functions inherited from sockets::machine_uid | |
machine_uid () | |
machine_uid (known_location_types type, const basis::byte_array &address) | |
machine_uid (const machine_uid &to_copy) | |
virtual | ~machine_uid () |
known_location_types | type () const |
bool | valid () const |
machine_uid & | operator= (const machine_uid &to_copy) |
void | reset (known_location_types type, const basis::byte_array &address) |
basis::astring | text_form () const |
basis::astring | compact_form () const |
basis::byte_array | native () const |
bool | operator== (const machine_uid &to_compare) const |
virtual int | packed_size () const |
Estimates the space needed for the packed structure. More... | |
virtual void | pack (basis::byte_array &packed_form) const |
Creates a packed form of the packable object in "packed_form". More... | |
virtual bool | unpack (basis::byte_array &packed_form) |
Restores the packable from the "packed_form". More... | |
const basis::byte_array & | raw () const |
Additional Inherited Members | |
Public Types inherited from sockets::machine_uid | |
enum | known_location_types { INVALID_LOCATION , TCPIP_LOCATION , IPX_LOCATION , NETBIOS_LOCATION } |
Static Public Member Functions inherited from sockets::machine_uid | |
static const basis::astring & | type_name (known_location_types type) |
static machine_uid | expand (const basis::astring &compacted) |
Definition at line 107 of file machine_uid.h.
sockets::internet_machine_uid::internet_machine_uid | ( | const basis::astring & | hostname, |
const basis::byte_array & | ip_address | ||
) |
Definition at line 249 of file machine_uid.cpp.
References structures::attach(), basis::astring::length(), basis::astring::observe(), sockets::machine_uid::reset(), and sockets::machine_uid::TCPIP_LOCATION.