diff options
Diffstat (limited to 'src/zmq_listener_init.hpp')
-rw-r--r-- | src/zmq_listener_init.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zmq_listener_init.hpp b/src/zmq_listener_init.hpp index b061eaa..885b36b 100644 --- a/src/zmq_listener_init.hpp +++ b/src/zmq_listener_init.hpp @@ -49,6 +49,7 @@ namespace zmq bool read (::zmq_msg_t *msg_); bool write (::zmq_msg_t *msg_); void flush (); + void detach (); // Handlers for incoming commands. void process_plug (); @@ -62,6 +63,10 @@ namespace zmq // Associated socket options. options_t options; + // Indetity on the other end of the connection. + bool has_peer_identity; + std::string peer_identity; + zmq_listener_init_t (const zmq_listener_init_t&); void operator = (const zmq_listener_init_t&); }; |