2 import "goby/middleware/protobuf/app_config.proto";
3 import "goby/zeromq/protobuf/interprocess_config.proto";
4 import "goby/moos/protobuf/translator.proto";
5 import "goby/protobuf/option_extensions.proto";
7 package goby.apps.moos.protobuf;
9 message GobyMOOSGatewayConfig
11 optional goby.middleware.protobuf.AppConfig app = 1;
12 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2
13 [(goby.field) = { cfg { env: "GOBY_INTERPROCESS" } }];
17 optional string server = 3 [default = "localhost"];
18 optional int32 port = 4 [default = 9000];
19 optional bool use_binary_protobuf = 109 [
21 (goby.field).description =
22 "If true, use TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_ENCODED for "
24 "and serialize_for_moos"
26 optional goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique
27 moos_parser_technique = 110
28 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
30 optional MOOSConfig moos = 3;
32 // frequency at which MOOS Fetch() is called - this allows us to interleave
33 // with Goby without thread access management in the user plugins
34 optional float poll_frequency = 20 [default = 10];
36 extensions 1000 to max;