From e080e3e8b620b0e7ed02c28712a0c92b08de3451 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 12 Jun 2011 10:19:21 +0200 Subject: Publisher-side filtering for multi-part messages fixed Signed-off-by: Martin Sustrik --- src/dist.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/dist.hpp') diff --git a/src/dist.hpp b/src/dist.hpp index 005bb60..c8d121c 100644 --- a/src/dist.hpp +++ b/src/dist.hpp @@ -48,14 +48,16 @@ namespace zmq // will send message also to this pipe. void match (class pipe_t *pipe_); + // Mark all pipes as non-matching. + void unmatch (); + // Removes the pipe from the distributor object. void terminated (class pipe_t *pipe_); - // Send the message to all the outbound pipes. After the call all the - // pipes are marked as non-matching. + // Send the message to the matching outbound pipes. int send_to_matching (class msg_t *msg_, int flags_); - // Send the message to the matching outbound pipes. + // Send the message to all the outbound pipes. int send_to_all (class msg_t *msg_, int flags_); bool has_out (); -- cgit v1.2.3