2019-01-11 19:33:44 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
message NewEvalMessage {
|
2019-01-12 19:44:29 +00:00
|
|
|
uint64 id = 1;
|
|
|
|
string function = 2;
|
|
|
|
repeated string args = 3;
|
|
|
|
// Timeout in ms
|
|
|
|
uint32 timeout = 4;
|
2019-01-30 00:48:02 +00:00
|
|
|
// Create active eval message.
|
|
|
|
// Allows for dynamic communication for an eval
|
|
|
|
bool active = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message EvalEventMessage {
|
|
|
|
uint64 id = 1;
|
|
|
|
string event = 2;
|
|
|
|
repeated string args = 3;
|
2019-01-11 19:33:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message EvalFailedMessage {
|
2019-01-12 19:44:29 +00:00
|
|
|
uint64 id = 1;
|
2019-02-26 21:46:05 +00:00
|
|
|
string response = 2;
|
2019-01-11 19:33:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message EvalDoneMessage {
|
2019-01-12 19:44:29 +00:00
|
|
|
uint64 id = 1;
|
2019-02-19 16:17:03 +00:00
|
|
|
string response = 2;
|
2019-01-11 19:33:44 +00:00
|
|
|
}
|
2019-03-05 03:26:17 +00:00
|
|
|
|
|
|
|
message Ping {}
|
|
|
|
|
|
|
|
message Pong {}
|