Goby v2
network_ack.proto
1 
2 import "goby/common/protobuf/option_extensions.proto";
3 import "dccl/option_extensions.proto";
4 
5 package goby.acomms.protobuf;
6 
7 message NetworkAck
8 {
9  option (dccl.msg).id = 6;
10  option (dccl.msg).max_bytes = 32;
11 
12  required int32 message_src = 1 [
13  (dccl.field).min = -1,
14  (dccl.field).max = 30,
15  (dccl.field).in_head = true
16  ];
17  required int32 message_dest = 2 [
18  (dccl.field).min = -1,
19  (dccl.field).max = 30,
20  (dccl.field).in_head = true
21  ];
22  optional uint64 message_time = 3
23  [(dccl.field).codec = "_time", (dccl.field).in_head = true];
24 
25  required int32 message_dccl_id = 4
26  [(dccl.field).min = 0, (dccl.field).max = 0x7FFF];
27 
28  required int32 ack_src = 10 [
29  (dccl.field).min = -1,
30  (dccl.field).max = 30,
31  (dccl.field).in_head = true
32  ];
33 
34  enum AckType
35  {
36  ACK = 1;
37  EXPIRE = 2;
38  }
39  optional AckType ack_type = 11;
40 }