19 #ifndef HWSD_NODEINFO_H
20 #define HWSD_NODEINFO_H
23 #include <servus/uint128_t.h>
37 HWSD_API
bool operator == (
const NodeInfo& rhs )
const;
40 HWSD_API
bool operator != (
const NodeInfo& rhs )
const;
46 HWSD_API
static bool isLocal(
const std::string& name );
61 HWSD_API std::ostream& operator << ( std::ostream& os,
65 #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.