19 #ifndef HWSD_NODEINFO_H 20 #define HWSD_NODEINFO_H 23 #include <servus/uint128_t.h> 36 HWSD_API
bool operator==(
const NodeInfo& rhs)
const;
39 HWSD_API
bool operator!=(
const NodeInfo& rhs)
const;
45 HWSD_API
static bool isLocal(
const std::string& name);
59 HWSD_API std::ostream& operator<<(std::ostream& os,
const NodeInfo& info);
62 #endif // HWSD_NODEINFO_H NodeInfo()
Default constructor describing a local session.
Defines export visibility macros for library hwsd.
static std::string getLocalSession()
std::string nodeName
System hostname if remote, empty for local.
bool operator==(const NodeInfo &rhs) const
A structure containing node-specific information.
std::string session
The session name: local, default or custom string.
bool operator!=(const NodeInfo &rhs) const
servus::uint128_t id
Random unique ID identifing the origin node.