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