Goby3 3.2.3
2025.05.13
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";
6
7package goby.apps.zeromq.acomms.protobuf;
8
9message FileTransferConfig
10{
11 optional goby.middleware.protobuf.AppConfig app = 1;
12 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2
13 [(goby.field) = { cfg { env: "GOBY_INTERPROCESS" } }];
14
15 optional bool daemon = 3 [default = false];
16
17 required int32 local_id = 4;
18
19 optional int32 remote_id = 5;
20 optional string local_file = 6;
21 optional string remote_file = 7;
22
23 enum Action
24 {
25 WAIT = 0;
26 PUSH = 1;
27 PULL = 2;
28 }
29
30 optional Action action = 10 [default = WAIT];
31
32 optional double request_timeout = 11 [default = 600];
33}