public function onMessage($server, $serverSocket, $frame)
    {
        $id = $frame->fd;

        if (isset($this->connections[$id])) {
            $this->fireMessageEvent(
                $this->connections[$id]['handler'],
                $this->connections[$id]['connection'],
                $frame
            );
        }
    }