3import "dccl/option_extensions.proto";
4import "goby/acomms/protobuf/buffer.proto";
6package goby.middleware.intervehicle.protobuf;
8message TransporterConfig
10 repeated int32 publisher_id = 1
11 [(dccl.field) = {min: 1 max: 30 max_repeat: 8 omit: true}];
13 // unique id for intervehicle().subscribe within a given vehicle
14 optional int32 subscriber_uuid = 2
15 [default = 0, (dccl.field) = {min: 0, max: 7}];
17 optional goby.acomms.protobuf.DynamicBufferConfig buffer = 10;
19 optional bool broadcast = 20 [default = false];
21 // metadata can be large, so limit how often it is resent until the portal has the type
22 optional double metadata_interval = 30 [
24 (dccl.field) = {omit: true units {base_dimensions: "T" system: "si"}}
27 // discard any queued messages of this type and group (to every destination) before
28 // queuing this one; discarded messages are reported as EXPIRED_SUPERSEDED
29 optional bool clear_pending = 40 [default = false, (dccl.field).omit = true];
31 // subscriptions only: also publish each received message on the inner layer (e.g.
32 // interprocess) in the subscribed group, so it can be logged or used by other subscribers
33 optional bool republish_on_receive = 50 [default = false, (dccl.field).omit = true];
39 // // send to all links (until one acknowledges)
40 // LINK_POLICY_FLOOD_ALL = 1;
42 // // try the highest priority link for some period of time, then
43 // // try the next LINK_POLICY_PRIORITY_TIMEOUT = 2;
45 // optional LinkPolicy policy = 1;
48 // optional LinkConfig link = 20;