예제 #1
0
파일: ZmqSocket.php 프로젝트: khelle/surume
 /**
  *
  */
 public function close()
 {
     if ($this->closed) {
         return;
     }
     $this->emit('end', [$this]);
     $this->loop->removeStream($this->fd);
     $this->buffer->removeAllListeners();
     $this->removeAllListeners();
     unset($this->socket);
     $this->closed = true;
 }
예제 #2
0
파일: ReactLoop.php 프로젝트: khelle/surume
 /**
  * @override
  */
 public function removeStream($stream)
 {
     $this->loop->removeStream($stream);
 }