Goby3 3.1.5a
2024.05.23
Loading...
Searching...
No Matches
file_transfer_config.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3import "goby/protobuf/option_extensions.proto";
4import "goby/middleware/protobuf/app_config.proto";
5import "goby/zeromq/protobuf/interprocess_config.proto";
6import "dccl/option_extensions.proto";
7
8package goby.apps.zeromq.acomms.protobuf;
9
10message 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}