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