flatbuffer base
This commit is contained in:
16
flatbuffers/control/orphaned.fbs
Normal file
16
flatbuffers/control/orphaned.fbs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace hmmmm.ctrl.orphaned;
|
||||
|
||||
// Client → Server: enumerate disconnected seats that still have buffered messages.
|
||||
// No body — request is the signal itself.
|
||||
table OrphanedRequest {}
|
||||
|
||||
table OrphanedEntry {
|
||||
seat_id: uint64;
|
||||
disconnect_tclk: uint64; // virtual clock tick at time of disconnect
|
||||
lost_count: uint32; // number of buffered messages waiting
|
||||
}
|
||||
|
||||
// Server → Client: list of orphaned seats with pending buffers.
|
||||
table OrphanedResponse {
|
||||
entries: [OrphanedEntry];
|
||||
}
|
||||
Reference in New Issue
Block a user