1 // Corresponds to struct Client.
3 optional int32 sock = 1;
4 optional string remote_addr = 8;
5 optional int64 connect_time = 9;
6 optional int32 state = 2;
7 optional bytes request = 3;
8 optional string stream_id = 4;
9 optional bytes header_or_error = 5;
10 optional int64 header_or_error_bytes_sent = 6;
11 optional int64 bytes_sent = 7;
14 // Corresponds to struct Stream.
16 optional bytes header = 1;
17 optional bytes data = 2;
18 optional int64 data_size = 3;
19 optional string stream_id = 4;
22 // Corresponds to class Input.
24 optional int32 state = 1;
25 optional string stream_id = 2;
26 optional string url = 3;
27 optional bytes request = 4;
28 optional int32 request_bytes_sent = 5;
29 optional bytes response = 6;
30 optional bytes http_header = 10;
31 optional bytes pending_data = 7;
32 optional bool has_metacube_header = 8;
33 optional int32 sock = 9;
36 // Corresponds to class Acceptor.
37 message AcceptorProto {
38 optional int32 server_sock = 1;
39 optional int32 port = 2;
42 message CubemapStateProto {
43 optional int64 serialize_start_sec = 6;
44 optional int64 serialize_start_usec = 7;
45 repeated ClientProto clients = 1;
46 repeated StreamProto streams = 2;
47 repeated InputProto inputs = 5;
48 repeated AcceptorProto acceptors = 8;
50 // Deprecated. Use Acceptor instead.
51 optional int32 server_sock = 3;
52 optional int32 port = 4;