diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-11-04 08:00:47 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-11-04 08:00:47 +0100 |
commit | a4843b65d24f9caa188bb2454b28080f0cee8484 (patch) | |
tree | 9fb56a811f693c968074433fe899ce7dd55a76fe /src/session_base.hpp | |
parent | d20ea25b8c63e148fe48cc2b85bac9c896f1073b (diff) |
Identities re-introduced
However, the "durable socket" behaviour wasn't re-added.
Identities are used solely for routing in REQ/REP pattern.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/session_base.hpp')
-rw-r--r-- | src/session_base.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/session_base.hpp b/src/session_base.hpp index 86a670f..c89628f 100644 --- a/src/session_base.hpp +++ b/src/session_base.hpp @@ -1,6 +1,7 @@ /* Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2007-2009 iMatix Corporation + Copyright (c) 2011 VMware, Inc. Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. @@ -119,6 +120,10 @@ namespace zmq // True is linger timer is running. bool has_linger_timer; + // If true, identity is to be sent/recvd from the network. + bool send_identity; + bool recv_identity; + // Protocol and address to use when connecting. std::string protocol; std::string address; |