summaryrefslogtreecommitdiff
path: root/src/sub.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-03-27 09:24:38 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-03-27 09:24:38 +0100
commited291b02516ac5c9fe01f328d505305d36fe6319 (patch)
tree26c15f812a72bf06a05279e6629c91e7f3c41ebd /src/sub.hpp
parent0b9897b141ae03ccd00132a638d030a2521cf5b3 (diff)
multi-part messages work with PUB/SUB
Diffstat (limited to 'src/sub.hpp')
-rw-r--r--src/sub.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sub.hpp b/src/sub.hpp
index 84fab5e..d630731 100644
--- a/src/sub.hpp
+++ b/src/sub.hpp
@@ -68,6 +68,10 @@ namespace zmq
bool has_message;
zmq_msg_t message;
+ // If true, part of a multipart message was already received, but
+ // there are following parts still waiting.
+ bool tbc;
+
sub_t (const sub_t&);
void operator = (const sub_t&);
};