flatbuffer base
This commit is contained in:
39
flatbuffers/control/control.fbs
Normal file
39
flatbuffers/control/control.fbs
Normal file
@@ -0,0 +1,39 @@
|
||||
include "exec_ctrl.fbs";
|
||||
include "exec_notif.fbs";
|
||||
include "config_ctrl.fbs";
|
||||
include "config_notif.fbs";
|
||||
include "lost.fbs";
|
||||
include "orphaned.fbs";
|
||||
include "setup_buf.fbs";
|
||||
include "qos.fbs";
|
||||
|
||||
namespace hmmmm.ctrl;
|
||||
|
||||
// ── Client → Server ──────────────────────────────────────────────────────────
|
||||
|
||||
union CtrlClientPayload {
|
||||
hmmmm.ctrl.exec.ExecCtrlMessage,
|
||||
hmmmm.ctrl.config_ctrl.ConfigCtrlMessage,
|
||||
hmmmm.ctrl.lost.LostMessagesRequest,
|
||||
hmmmm.ctrl.orphaned.OrphanedRequest,
|
||||
hmmmm.ctrl.setup_buf.SetupBuf,
|
||||
}
|
||||
|
||||
table CtrlClientMessage {
|
||||
payload: CtrlClientPayload;
|
||||
}
|
||||
|
||||
// ── Server → Client ──────────────────────────────────────────────────────────
|
||||
|
||||
union CtrlServerPayload {
|
||||
hmmmm.ctrl.exec_notif.ExecNotifyMessage,
|
||||
hmmmm.ctrl.config_notif.ConfigNotifMessage,
|
||||
hmmmm.ctrl.lost.LostMessagesResponse,
|
||||
hmmmm.ctrl.orphaned.OrphanedResponse,
|
||||
hmmmm.ctrl.setup_buf.SetupBuf,
|
||||
hmmmm.ctrl.qos.QosReport,
|
||||
}
|
||||
|
||||
table CtrlServerMessage {
|
||||
payload: CtrlServerPayload;
|
||||
}
|
||||
Reference in New Issue
Block a user