central_api_gateway/commons/commons.proto
2017-05-23 14:20:51 +09:00

31 lines
686 B
Protocol Buffer

syntax = "proto3";
message Void {}
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;
}