Publisher-side filtering for multi-part messages fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-06-12 10:19:21 +02:00
parent bd86def1c7
commit e080e3e8b6
4 changed files with 33 additions and 11 deletions

View File

@@ -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 ();