diff options
author | 2015-11-01 18:03:17 +0200 | |
---|---|---|
committer | 2015-11-01 18:03:17 +0200 | |
commit | 7d7767e17b1a4e54a8934ded724f54dc5b6228ce (patch) | |
tree | b9669fbed7820f52444cf220a2647ad3594cf55b /src/stateless/cp/trex_stateless_port.h | |
parent | eacf2829c309011bf15d56b7b531b22ebeaf4d7d (diff) |
added support for a new RPC command : sync_user
provides a way to sync a console / GUI to the server for a specific user
Diffstat (limited to 'src/stateless/cp/trex_stateless_port.h')
-rw-r--r-- | src/stateless/cp/trex_stateless_port.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stateless/cp/trex_stateless_port.h b/src/stateless/cp/trex_stateless_port.h index 79bde01b..3e071954 100644 --- a/src/stateless/cp/trex_stateless_port.h +++ b/src/stateless/cp/trex_stateless_port.h @@ -142,6 +142,10 @@ public: */ void encode_stats(Json::Value &port); + uint8_t get_port_id() { + return m_port_id; + } + private: std::string generate_handler(); |