Ditto 4.4.5
|
#include <Presence.hpp>
Public Member Functions | |
PresenceObserver | observe (PresenceCallback presence_cb) |
This will run the provided callback when peers are updated. | |
PresenceGraph | exec () |
Return an immediate representation of known peers. | |
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 |