central_api_gateway/commons/commons.proto
insanity@loafle.com 54608d4fd5 proto
2017-05-20 18:27:30 +09:00

29 lines
669 B
Protocol Buffer

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