Exemple #1
0
 function removeConnection(Connection $conn)
 {
     if (array_key_exists($conn->getSocketId(), $this->cons)) {
         unset($this->cons[$conn->getSocketId()]);
     }
     $this->setMinHb();
 }
Exemple #2
0
 /**
  * This channel will load PChannels
  */
 protected function initNewChannel($impl = null)
 {
     $impl = __NAMESPACE__ . "\\PChannel";
     return parent::initNewChannel($impl);
 }