protected function buildResponse()
    {
        $res = array();
        $res['type'] = $this->getParameters()->getType();
        $res['tid'] = $this->getParameters()->getTid();
        $res['action'] = $this->getParameters()->getAction();
        $res['method'] = $this->getParameters()->getMethod();
        $res['result'] = $this->getResult();

        return $res;
    }