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