From a801b6d8b37557ccfb53030dca22f89a3f99b59c Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 20 Aug 2009 11:32:23 +0200 Subject: couple of bugs in shutdown mechanism fixed --- src/command.hpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/command.hpp') diff --git a/src/command.hpp b/src/command.hpp index de94ca3..41c7d6c 100644 --- a/src/command.hpp +++ b/src/command.hpp @@ -37,11 +37,11 @@ namespace zmq stop, plug, own, + attach, bind, term_req, term, term_ack - } type; union { @@ -57,9 +57,14 @@ namespace zmq // Sent to socket to let it know about the newly created object. struct { - class object_t *object; + class owned_t *object; } own; + // Attach the engine to the session. + struct { + class zmq_engine_t *engine; + } attach; + // Sent between objects to establish pipe(s) between them. struct { } bind; @@ -67,7 +72,7 @@ namespace zmq // Sent by I/O object ot the socket to request the shutdown of // the I/O object. struct { - class object_t *object; + class owned_t *object; } term_req; // Sent by socket to I/O object to start its shutdown. -- cgit v1.2.3