void RpcMethod::writeTo(ObjectMap& methodObjMap) const { methodObjMap.putValue("version",this->version); methodObjMap.putValue("status",this->status); methodObjMap.putValue("authToken",this->authToken); methodObjMap.putValue("owner",this->owner); methodObjMap.putValue("method",this->methodName); methodObjMap.putValue("needReturn",this->waitResult); methodObjMap.put("args", this->args); methodObjMap.put("returnValue", this->returnValue); }