Ditto 4.7.5-rc.1
|
Represents the Ditto mesh network of peers and their connections between each other. The localPeer
is the entry point, all others are remote peers known by the local peer (either directly or via other remote peers).
More...
#include <PresenceGraph.hpp>
Public Member Functions | |
PresenceGraph (nlohmann::json) | |
Construct a new Presence Graph object. | |
Public Attributes | |
Peer | local_peer |
Returns the local peer (usually the peer that is represented by the currently running Ditto instance). The local_peer is the entry point, all others are remote peers known by the local peer (either directly or via other remote peers). | |
std::vector< Peer > | remote_peers |
Returns all remote peers known by the local_peer , either directly or via other remote peers. | |
Represents the Ditto mesh network of peers and their connections between each other. The localPeer
is the entry point, all others are remote peers known by the local peer (either directly or via other remote peers).