diff options
author | 2015-12-09 15:01:25 -0500 | |
---|---|---|
committer | 2015-12-09 15:36:16 -0500 | |
commit | 95c2405d6373ca3c6b69efc3faf293cd41a55c76 (patch) | |
tree | 7aa6728202e8a0d0eb8d049d82bb7f8dada7ac00 /src/publisher | |
parent | 1355327e97e6d5ce5800fa4d6f879695922e8637 (diff) |
read only support
Diffstat (limited to 'src/publisher')
-rw-r--r-- | src/publisher/trex_publisher.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/publisher/trex_publisher.h b/src/publisher/trex_publisher.h index 8d1be064..bd4392f7 100644 --- a/src/publisher/trex_publisher.h +++ b/src/publisher/trex_publisher.h @@ -39,10 +39,16 @@ public: void publish_json(const std::string &s); enum event_type_e { - EVENT_PORT_STARTED = 0, - EVENT_PORT_STOPPED = 1, - EVENT_SERVER_STOPPED = 2, - EVENT_PORT_FINISHED_TX = 3, + EVENT_PORT_STARTED = 0, + EVENT_PORT_STOPPED = 1, + EVENT_PORT_PAUSED = 2, + EVENT_PORT_RESUMED = 3, + EVENT_PORT_FINISHED_TX = 4, + EVENT_PORT_FORCE_ACQUIRED = 5, + + EVENT_SERVER_STOPPED = 100, + + }; void publish_event(event_type_e type, const Json::Value &data = Json::nullValue); |