Ditto 3.0.3-alpha2
|
#include <Presence.hpp>
Public Member Functions | |
PresenceObserver | observe (PresenceCallback presence_cb) |
This will run the provided callback when peers are updated. More... | |
PresenceGraph | exec () |
Return an immediate representation of known peers. More... | |
The Presence allow the user to monitor peers in the mesh
PresenceGraph ditto::Presence::exec | ( | ) |
Return an immediate representation of known peers.
PresenceObserver ditto::Presence::observe | ( | PresenceCallback | presence_cb | ) |
This will run the provided callback when peers are updated.
presence_cb | callback that will be run when the peers are updated |