summaryrefslogtreecommitdiffstats
path: root/src/publisher
diff options
context:
space:
mode:
Diffstat (limited to 'src/publisher')
-rw-r--r--src/publisher/trex_publisher.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/publisher/trex_publisher.h b/src/publisher/trex_publisher.h
index 89336735..8d1be064 100644
--- a/src/publisher/trex_publisher.h
+++ b/src/publisher/trex_publisher.h
@@ -39,8 +39,10 @@ public:
void publish_json(const std::string &s);
enum event_type_e {
- EVENT_PORT_STOPPED = 0,
- EVENT_SERVER_STOPPED = 1
+ EVENT_PORT_STARTED = 0,
+ EVENT_PORT_STOPPED = 1,
+ EVENT_SERVER_STOPPED = 2,
+ EVENT_PORT_FINISHED_TX = 3,
};
void publish_event(event_type_e type, const Json::Value &data = Json::nullValue);