Goby3  3.1.5a
2024.05.23
file_transfer_config.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "goby/protobuf/option_extensions.proto";
4 import "goby/middleware/protobuf/app_config.proto";
5 import "goby/zeromq/protobuf/interprocess_config.proto";
6 import "dccl/option_extensions.proto";
7 
8 package goby.apps.zeromq.acomms.protobuf;
9 
10 message FileTransferConfig
11 {
12  optional goby.middleware.protobuf.AppConfig app = 1;
13  optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2
14  [(goby.field) = { cfg { env: "GOBY_INTERPROCESS" } }];
15 
16  optional bool daemon = 3 [default = false];
17 
18  required int32 local_id = 4;
19 
20  optional int32 remote_id = 5;
21  optional string local_file = 6;
22  optional string remote_file = 7;
23 
24  enum Action
25  {
26  WAIT = 0;
27  PUSH = 1;
28  PULL = 2;
29  }
30 
31  optional Action action = 10 [default = WAIT];
32 
33  optional double request_timeout = 11 [default = 600];
34 }