function FooSocketServer($host, $port, $websocketServer) { parent::SocketServer($host, $port); $this->wsServer = $websocketServer; }
function SocketServer($host, $port) { $this->host = $host; $this->port = $port; AbstractSocketServer::buildSocket($this->socket, $host, $port); }
function WebSocketServer($host, $port) { parent::SocketServer($host, $port); }