public function processPing($event)
    {
        $res = new Response();
        $res->fin = 1;
        $res->opcode = Request::OPCODE_PONG;
        $res->mask=0;
        $res->payload_len=0;
        $event->sender->send($res);
    }