-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode.proto
More file actions
36 lines (28 loc) · 982 Bytes
/
node.proto
File metadata and controls
36 lines (28 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
syntax = "proto3";
package tolar.proto;
service NodeService {
rpc NodeStart(NodeStartRequest) returns (NodeStartResponse);
rpc NodeStop(NodeStopRequest) returns (NodeStopResponse);
rpc NodeStatus(NodeStatusRequest) returns (NodeStatusResponse);
rpc NodeShutdown(NodeShutdownRequest) returns (NodeShutdownResponse);
rpc NodePrintStatistics(NodePrintStatisticsRequest) returns (NodePrintStatisticsResponse);
rpc NodePrintAppConfig(NodePrintAppConfigRequest) returns (NodePrintAppConfigResponse);
}
message NodeStartRequest {}
message NodeStartResponse{}
message NodeStopRequest {}
message NodeStopResponse{}
message NodeStatusRequest {}
message NodeStatusResponse {
bool status = 1;
}
message NodeShutdownRequest {}
message NodeShutdownResponse {}
message NodePrintStatisticsRequest {}
message NodePrintStatisticsResponse {
string statistics_output = 1;
}
message NodePrintAppConfigRequest {}
message NodePrintAppConfigResponse {
string config_output = 1;
}