central_api_gateway/commons/commons.proto

31 lines
686 B
Protocol Buffer
Raw Normal View History

2017-05-20 09:27:30 +00:00
syntax = "proto3";
2017-05-23 05:20:51 +00:00
message Void {}
2017-05-20 09:27:30 +00:00
enum DiscoveryEventType {
DISCOVERY_START = 0;
DISCOVERY_HOST_START = 1;
DISCOVERY_HOST_FOUND = 2;
DISCOVERY_HOST_DONE = 3;
DISCOVERY_PORT_START = 4;
DISCOVERY_PORT_FOUND = 5;
DISCOVERY_PORT_DONE = 6;
DISCOVERY_SERVICE_START = 7;
DISCOVERY_SERVICE_FOUND = 8;
DISCOVERY_SERVICE_DONE = 9;
DISCOVERY_DONE = 10;
}
enum TaskEventType {
TASK_POL_INTERVAL_UPDATE = 0;
TASK_SENSOR_START = 1;
TASK_SENSOR_STOP = 2;
TASK_SENSOR_ADD = 3;
TASK_SENSOR_REMOVE = 4;
TASK_SENSOR_UPDATE = 5;
TASK_CRAWLER_UPDATE = 6;
TASK_AGENT_UPDATE = 7;
TASK_LOG_SEND = 8;
TASK_DISCOVERY = 9;
}