Goby3  3.1.5a
2024.05.23
terminate.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 package goby.middleware.protobuf;
3 
4 message TerminateRequest
5 {
6  optional string target_name = 1;
7  optional uint32 target_pid = 2;
8 }
9 
10 message TerminateResponse
11 {
12  optional string target_name = 1;
13  optional uint32 target_pid = 2;
14 }
15 
16 
17 message TerminateResult
18 {
19  optional string target_name = 1;
20  optional uint32 target_pid = 2;
21 
22  enum Result
23  {
24  PROCESS_RESPONDED = 1;
25  PROCESS_CLEANLY_QUIT = 2;
26  TIMEOUT_RESPONSE = 3;
27  TIMEOUT_RUNNING = 4;
28  }
29  required Result result = 3;
30 
31 }