X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=state.proto;h=eb4660f0c6d787d12628483ed66c34a2739d2668;hp=663e9d00c204000465815ddeb988221bdc48e9c7;hb=3fdf2e48bca3edcb0de00e0dbd0d0aae81ba9aa9;hpb=019b96a9cc6fa2902690e98a2aa033517efef3ed diff --git a/state.proto b/state.proto index 663e9d0..eb4660f 100644 --- a/state.proto +++ b/state.proto @@ -33,10 +33,17 @@ message InputProto { optional int32 sock = 9; }; +// Corresponds to class Acceptor. +message AcceptorProto { + optional int32 server_sock = 1; + optional int32 port = 2; +}; + message CubemapStateProto { + optional int64 serialize_start_sec = 6; + optional int64 serialize_start_usec = 7; repeated ClientProto clients = 1; repeated StreamProto streams = 2; repeated InputProto inputs = 5; - optional int32 server_sock = 3; - optional int32 port = 4; + repeated AcceptorProto acceptors = 8; };