summaryrefslogtreecommitdiffstats
path: root/src/publisher/trex_publisher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/publisher/trex_publisher.h')
-rw-r--r--src/publisher/trex_publisher.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/publisher/trex_publisher.h b/src/publisher/trex_publisher.h
index 52978476..f086babb 100644
--- a/src/publisher/trex_publisher.h
+++ b/src/publisher/trex_publisher.h
@@ -53,8 +53,20 @@ public:
};
+ /**
+ * publishes an async event
+ *
+ */
virtual void publish_event(event_type_e type, const Json::Value &data = Json::nullValue);
+ /**
+ * publishes a barrier requested by the user
+ *
+ * @author imarom (17-Jan-16)
+ *
+ */
+ virtual void publish_barrier(uint32_t key);
+
private:
void show_zmq_last_error(const std::string &err);
private: