summaryrefslogtreecommitdiff
path: root/src/object.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-12 20:49:00 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-12 20:49:00 +0100
commit2e78e48503375a415d95ee8df80df9c065172abc (patch)
treef3a3dd6dfd4457f3446435bea3c0a850da701926 /src/object.hpp
parentd8430f4b9a43bf8c99854298edc9f1bc35c0e8ec (diff)
Multi-hop REQ/REP, part V., peer identity is passed from init object to session
Diffstat (limited to 'src/object.hpp')
-rw-r--r--src/object.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/object.hpp b/src/object.hpp
index e6b2379..4c82a0d 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -64,7 +64,8 @@ namespace zmq
void send_own (class socket_base_t *destination_,
class owned_t *object_);
void send_attach (class session_t *destination_,
- struct i_engine *engine_, bool inc_seqnum_ = true);
+ struct i_engine *engine_, unsigned char peer_identity_size_,
+ unsigned char *peer_identity_, bool inc_seqnum_ = true);
void send_bind (class socket_base_t *destination_,
class reader_t *in_pipe_, class writer_t *out_pipe_,
bool inc_seqnum_ = true);
@@ -81,7 +82,8 @@ namespace zmq
virtual void process_stop ();
virtual void process_plug ();
virtual void process_own (class owned_t *object_);
- virtual void process_attach (struct i_engine *engine_);
+ virtual void process_attach (struct i_engine *engine_,
+ unsigned char peer_identity_size_, unsigned char *peer_identity_);
virtual void process_bind (class reader_t *in_pipe_,
class writer_t *out_pipe_);
virtual void process_revive ();