Beispiel #1
0
 /**
  * Disconnects the client.
  */
 public function disconnect()
 {
     if ($this->state == self::STATE_CLOSED) {
         return;
     }
     $this->server->disconnectClient($this->socket);
 }