summaryrefslogtreecommitdiff
path: root/src/object.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-01 18:50:54 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-01 18:50:54 +0100
commit9bd309bda6522dfdd514dd0c4edae04322c83ed1 (patch)
treeffcb1f097b219f64cffb079e1e36a54d2f624e8b /src/object.cpp
parentc04583ff6ca3c27de5628a61b6b6ce59fd13c9d9 (diff)
annoying optimisation in 'bind' command removed
Diffstat (limited to 'src/object.cpp')
-rw-r--r--src/object.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/object.cpp b/src/object.cpp
index b5d5eee..fda7b03 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -83,8 +83,7 @@ void zmq::object_t::process_command (command_t &cmd_)
return;
case command_t::bind:
- process_bind (cmd_.args.bind.in_pipe, cmd_.args.bind.out_pipe,
- cmd_.args.bind.adjust_seqnum);
+ process_bind (cmd_.args.bind.in_pipe, cmd_.args.bind.out_pipe);
return;
case command_t::pipe_term:
@@ -183,15 +182,14 @@ void zmq::object_t::send_attach (session_t *destination_, i_engine *engine_)
send_command (cmd);
}
-void zmq::object_t::send_bind (object_t *destination_,
- reader_t *in_pipe_, writer_t *out_pipe_, bool adjust_seqnum_)
+void zmq::object_t::send_bind (socket_base_t *destination_,
+ reader_t *in_pipe_, writer_t *out_pipe_)
{
command_t cmd;
cmd.destination = destination_;
cmd.type = command_t::bind;
cmd.args.bind.in_pipe = in_pipe_;
cmd.args.bind.out_pipe = out_pipe_;
- cmd.args.bind.adjust_seqnum = adjust_seqnum_;
send_command (cmd);
}
@@ -265,8 +263,7 @@ void zmq::object_t::process_attach (i_engine *engine_)
zmq_assert (false);
}
-void zmq::object_t::process_bind (reader_t *in_pipe_, writer_t *out_pipe_,
- bool adjust_seqnum_)
+void zmq::object_t::process_bind (reader_t *in_pipe_, writer_t *out_pipe_)
{
zmq_assert (false);
}