X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=state.proto;h=eb4660f0c6d787d12628483ed66c34a2739d2668;hb=94561762b1294b76508eb5554aedbb56fcaececc;hp=1d5cf1702ee3081ef1e9a94e611256221979067a;hpb=656d6863b47e1791a310397d88e25fa897e05012;p=cubemap diff --git a/state.proto b/state.proto index 1d5cf17..eb4660f 100644 --- a/state.proto +++ b/state.proto @@ -33,12 +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; };