diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-04-21 19:36:35 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-30 06:44:58 +0200 |
commit | dce17292e1f62ca692aa36ed3eaf5bfb09e7ab69 (patch) | |
tree | ddce23a15d353099e1b20ea329cede198dfa2af2 /src/object.cpp | |
parent | 2be5bb0cd8c33505e404467102c41151dabcbcd7 (diff) |
'own' command replaced by synchronous call
The commands was a vestige of the removed 'durable sockets' feature
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/object.cpp')
-rw-r--r-- | src/object.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/object.cpp b/src/object.cpp index 4f04fe4..dac4b6c 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -77,11 +77,6 @@ void xs::object_t::process_command (command_t &cmd_) process_seqnum (); break; - case command_t::own: - process_own (cmd_.args.own.object); - process_seqnum (); - break; - case command_t::attach: process_attach (cmd_.args.attach.engine); process_seqnum (); @@ -186,19 +181,6 @@ void xs::object_t::send_plug (own_t *destination_, bool inc_seqnum_) send_command (cmd); } -void xs::object_t::send_own (own_t *destination_, own_t *object_) -{ - destination_->inc_seqnum (); - command_t cmd; -#if defined XS_MAKE_VALGRIND_HAPPY - memset (&cmd, 0, sizeof (cmd)); -#endif - cmd.destination = destination_; - cmd.type = command_t::own; - cmd.args.own.object = object_; - send_command (cmd); -} - void xs::object_t::send_attach (session_base_t *destination_, i_engine *engine_, bool inc_seqnum_) { @@ -369,11 +351,6 @@ void xs::object_t::process_plug () xs_assert (false); } -void xs::object_t::process_own (own_t *object_) -{ - xs_assert (false); -} - void xs::object_t::process_attach (i_engine *engine_) { xs_assert (false); |