Goby v2
file_transfer_config.proto
1 
2 import "goby/common/protobuf/option_extensions.proto";
3 import "goby/common/protobuf/app_base_config.proto";
4 
5 package goby.acomms.protobuf;
6 
7 message FileTransferConfig
8 {
9  optional AppBaseConfig base = 1;
10 
11  optional bool daemon = 2 [default = false];
12 
13  required int32 local_id = 3;
14 
15  optional int32 remote_id = 4;
16  optional string local_file = 5;
17  optional string remote_file = 6;
18 
19  enum Action
20  {
21  WAIT = 0;
22  PUSH = 1;
23  PULL = 2;
24  }
25 
26  optional Action action = 10 [default = WAIT];
27 
28  optional double request_timeout = 11 [default = 600];
29 }