同步操作将从 OpenHarmony/docs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Related Modules:
Description:
Defines the client proxy object.
This object is used for the IPC with the server. If you want to use the same invocation mode as that on the server, create an object inherited from
and implement serialization.
Since:
1.0
Version:
1.0
Invoke )(IClientProxy *proxy, int funcId, IpcIo *request, IOwner owner, INotify notify) |
Sends an IPC message from the client to the IServerProxy. |
IClientProxy::INHERIT_IUNKNOWN
Description:
Inherites the IUnknown base class.
int(* IClientProxy::Invoke) ([IClientProxy](IClientProxy.md) *proxy, int funcId, IpcIo *request, IOwner owner, [INotify](Registry.md#ga362a17c1bda1aace88d42dcbc88bdfac) notify)
Description:
Sends an IPC message from the client to the IServerProxy.
This function is used for IPC. The passed proxy is used to obtain the server information. Then, request carries the request message to be sent to the server and processed by the function specified by funcId. notify is a callback function used to process the response message.
Parameters:
proxy | Indicates the pointer of the client proxy object. |
funcId | Indicates the ID of the function implemented on the server. |
request | Indicates the pointer to the serialized request message. |
owner | Indicates the receiver (generics type) of the response message. |
notify | Indicates the callback function that notifies the client of the response message. |
Returns:
Returns EC_SUCCESS if the IPC message is sent successfully; returns other error codes if the message fails to be sent.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。