Lines Matching defs:ClientContext
28 struct ClientContext { struct
34 …ClientContext(std::string method, GetNapiParam getNapiParam, napi_async_execute_callback executeFu… in ClientContext() function
45 ~ClientContext() in ~ClientContext() argument
50 std::string method_; // 执行的接口名
51 BusinessError businessError_;
52 int32_t ipcRequestCode_ = 0;
54 GetNapiParam getNapiParam_ = nullptr; // napi获取参数
55 CreateNapiValue createValueFunc_ = nullptr; // 通过ipc返回结果, 构建napi结果对象函数
57 napi_async_execute_callback executeFunc_; // 异步执行函数
58 napi_ref callbackRef_ = nullptr; // callback 回调
59 napi_deferred deferred_ = nullptr; // promise deferred对象
60 napi_async_work work_ = nullptr;
62 std::vector<std::pair<std::string, std::string>> paramInfos_; // 入参校验异常返回结果
63 GetIpcBusinessError getIpcBusinessError_; // 通过ipc返回异常,构造BusinessError