summaryrefslogtreecommitdiff
path: root/src/named_session.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/named_session.hpp')
-rw-r--r--src/named_session.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/named_session.hpp b/src/named_session.hpp
index cf31209..fac4745 100644
--- a/src/named_session.hpp
+++ b/src/named_session.hpp
@@ -36,7 +36,7 @@ namespace zmq
named_session_t (class io_thread_t *io_thread_,
class socket_base_t *socket_, const options_t &options_,
- const blob_t &name_);
+ const blob_t &peer_identity_);
~named_session_t ();
// Handlers for events from session base class.
@@ -45,8 +45,7 @@ namespace zmq
private:
- // Name of the session. Corresponds to the peer's strong identity.
- blob_t name;
+ blob_t peer_identity;
named_session_t (const named_session_t&);
const named_session_t &operator = (const named_session_t&);