Represents a Node the Endpoint knows about and can send messages to. More...
#include <Node.h>
Public Member Functions | |
virtual std::string | GetDescription () const =0 |
Get a user-readable description of the node. More... | |
virtual const std::string & | GetDeviceClass () const =0 |
Get the class of the underlying device. More... | |
virtual const std::string & | GetName () const =0 |
Returns the (possibly non-unique) name of the node. More... | |
virtual const std::string & | GetUUID () const =0 |
Returns the unique identifier of the node. More... | |
virtual bool | IsOnline () const =0 |
Checks whether the Node is reachable. More... | |
virtual | ~Node () |
Destroy the Node object. More... | |
Represents a Node the Endpoint knows about and can send messages to.
Definition at line 11 of file libswarmio/include/swarmio/Node.h.
|
inlinevirtual |
Destroy the Node object.
Definition at line 54 of file libswarmio/include/swarmio/Node.h.
|
pure virtual |
Get a user-readable description of the node.
Implemented in swarmio::transport::zyre::ZyreNode.
|
pure virtual |
Get the class of the underlying device.
Implemented in swarmio::transport::BasicNode.
|
pure virtual |
Returns the (possibly non-unique) name of the node.
Implemented in swarmio::transport::BasicNode.
|
pure virtual |
Returns the unique identifier of the node.
Implemented in swarmio::transport::BasicNode.
|
pure virtual |
Checks whether the Node is reachable.
Implemented in swarmio::transport::zyre::ZyreNode.