Austin Schuh | e84c3ed | 2019-12-14 15:29:48 -0800 | [diff] [blame] | 1 | include "aos/configuration.fbs"; |
| 2 | |
| 3 | namespace aos.message_bridge; |
| 4 | |
| 5 | // This is the message sent to initiate a connection to a message_bridge. |
| 6 | // It communicates the channels that need to be forwarded back. |
| 7 | table Connect { |
| 8 | // The node making the request. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 9 | node:aos.Node (id: 0); |
Austin Schuh | e84c3ed | 2019-12-14 15:29:48 -0800 | [diff] [blame] | 10 | |
| 11 | // The channels that we want transfered to this client. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 12 | channels_to_transfer:[Channel] (id: 1); |
Austin Schuh | 20ac95d | 2020-12-05 17:24:19 -0800 | [diff] [blame] | 13 | |
| 14 | // The UUID that this node booted with. |
| 15 | boot_uuid: string (id: 2); |
Austin Schuh | e84c3ed | 2019-12-14 15:29:48 -0800 | [diff] [blame] | 16 | } |
Austin Schuh | 20ac95d | 2020-12-05 17:24:19 -0800 | [diff] [blame] | 17 | |
| 18 | root_type Connect; |