1#ifndef _DITTO_PRESENCE_GRAPH_
2#define _DITTO_PRESENCE_GRAPH_
10typedef uint64_t SiteId;
11typedef std::vector<uint8_t> Pubkey;
22 void update_from_json(json j);
39 float approximate_distance_in_meters;
40 std::string connection_type;
50 std::string device_name;
52 uint8_t query_overlap_group;
53 bool is_connected_to_ditto_cloud;
55 std::string ditto_sdk_version;
56 std::vector<Connection> connections;
69 std::vector<Peer> remote_peers;
Connection between two peers.
Definition PresenceGraph.hpp:33
Information used to identify a peer.
Definition PresenceGraph.hpp:18
Represent a known peer in the Ditto network.
Definition PresenceGraph.hpp:46
Represents local peer and local peers.
Definition PresenceGraph.hpp:62
basic_json<> json
default JSON class
Definition json.hpp:2933