public function __construct(LoopInterface $loop, \Rxnet\Zmq\RxZmq $zmq, Httpd $httpd) { $this->loop = $loop; $this->pusher = $zmq->push(); $this->httpd = $httpd; }
public function __construct(\Rxnet\Zmq\RxZmq $zmq) { $this->puller = $zmq->pull(); }
public function __construct(LoopInterface $loop, RxZmq $zmq, EventLoopScheduler $scheduler) { $this->loop = $loop; $this->dealer = $zmq->dealer(); $this->scheduler = $scheduler; }
public function __construct(RxZmq $zmq, EventLoopScheduler $scheduler) { $this->router = $zmq->router(); $this->scheduler = $scheduler; }