summaryrefslogtreecommitdiff
path: root/src/session.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-13 13:07:33 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-13 13:07:33 +0100
commitcdc2efe9b5f0d1f45065b1c32e5eabd7e9f78a12 (patch)
tree5d847b389419e06687683cd7fa5437b681ba0cc0 /src/session.hpp
parent923eacd28a725a6b32de588fe7a54dbe252d84aa (diff)
Multi-hop REQ/REP, part VII., identity-related algorithms rewritten
Diffstat (limited to 'src/session.hpp')
-rw-r--r--src/session.hpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/session.hpp b/src/session.hpp
index 9f8d5a8..7607cfb 100644
--- a/src/session.hpp
+++ b/src/session.hpp
@@ -81,20 +81,12 @@ namespace zmq
struct i_engine *engine;
- enum {
- transient,
- named,
- unnamed
- } type;
-
// Session is identified by ordinal in the case when it was created
// before connection to the peer was established and thus we are
// unaware of peer's identity.
uint64_t ordinal;
- // Identity of the peer. If the peer is anonymous, unique name is
- // generated instead. Peer identity (or the generated name) is used
- // register the session with socket-level repository of sessions.
+ // Identity of the peer.
std::string peer_identity;
// Inherited socket options.