10 zmq::gather_t::gather_t (
class ctx_t *parent_, uint32_t tid_,
int sid_) :
11 socket_base_t (parent_, tid_, sid_,
true)
16 zmq::gather_t::~gather_t ()
20 void zmq::gather_t::xattach_pipe (pipe_t *pipe_,
21 bool subscribe_to_all_,
22 bool locally_initiated_)
31 void zmq::gather_t::xread_activated (pipe_t *pipe_)
33 _fq.activated (pipe_);
36 void zmq::gather_t::xpipe_terminated (pipe_t *pipe_)
38 _fq.pipe_terminated (pipe_);
41 int zmq::gather_t::xrecv (msg_t *msg_)
43 int rc = _fq.recvpipe (msg_,
NULL);
46 while (rc == 0 && msg_->flags () & msg_t::more) {
48 rc = _fq.recvpipe (msg_,
NULL);
50 while (rc == 0 && msg_->flags () & msg_t::more)
51 rc = _fq.recvpipe (msg_,
NULL);
55 rc = _fq.recvpipe (msg_,
NULL);
61 bool zmq::gather_t::xhas_in ()