summaryrefslogtreecommitdiff
path: root/src/command.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-20 11:32:23 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-20 11:32:23 +0200
commita801b6d8b37557ccfb53030dca22f89a3f99b59c (patch)
treed0c41834928aaf1776645e4eb2c2368b317338f6 /src/command.hpp
parent131f2e309668d1e64cfcb4aeb869665d8018bcfe (diff)
couple of bugs in shutdown mechanism fixed
Diffstat (limited to 'src/command.hpp')
-rw-r--r--src/command.hpp11
1 files changed, 8 insertions, 3 deletions
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.