blob: 58b653a8221520ddbb6d36ae09cc5caeefc6157e [file] [log] [blame]
Austin Schuhe84c3ed2019-12-14 15:29:48 -08001include "aos/network/message_bridge_server.fbs";
2
3namespace aos.message_bridge;
4
5// Statistics from a single client connection to a server.
6table ClientConnection {
7 // The node that we are connected to.
8 node:Node;
9
10 // Health of this connection. Connected or not?
11 state:State;
12
13 // Number of packets received on all channels.
14 received_packets:uint;
15
16 // TODO(austin): Per channel counts?
17}
18
19// Statistics for all clients.
20table ClientStatistics {
21 connections:[ClientConnection];
22}
23
24root_type ClientStatistics;