/ohos5.0/docs/zh-cn/application-dev/ipc/ |
H A D | ipc-rpc-overview.md | 7 RPC:设备间的进程间通信(Remote Procedure Call)<br/> 8 IPC/RPC用于实现跨进程通信,不同的是前者使用Binder驱动,用于设备内的跨进程通信,后者使用软总线驱动,用于跨设备跨进程通信。需要跨进程通信的原因是因为每个进程都有自己独立的资源和内存空间,… 11 > Stage模型不能直接使用本文介绍的IPC和RPC,以下为IPC与RPC的典型使用场景: 13 >- RPC典型使用场景在<!--Del-->[<!--DelEnd-->多端协同<!--Del-->](../application-models/hop-multi-device-collabo… 23 IPC和RPC通常采用客户端-服务端(Client-Server)模型,在使用时,请求Client端进程可获取Server端所在进程的代理(Proxy),并通过此代理读写数据来实现进程间的数据通信,… 26 …先从SAMgr中获取该SA的代理Proxy对象,然后使用代理Proxy对象和SA通信。在整个通信过程中,如果使用的是IPC通信,则依赖的是Binder驱动,使用的是RPC通信,则依赖的是软总线驱动。 28  35 - 不支持在RPC中订阅匿名Stub对象(没有向SAMgr注册Stub对象)的死亡通知。
|
H A D | ipc-rpc-development-guideline.md | 1 # IPC与RPC通信开发指导 5 IPC/RPC的主要工作是让运行在不同进程的Proxy和Stub互相通信,包括Proxy和Stub运行在不同设备的情况。 40 此外, IPC/RPC依赖的refbase实现在公共基础库下,请增加对utils的依赖: 389 针对IPC与RPC通信开发,有以下相关实例可供参考: 391 - [RPC通信(ArkTS)(API9)](https://gitee.com/openharmony/applications_app_samples/tree/master/code/Basi…
|
H A D | Readme-CN.md | 4 - [IPC与RPC通信开发指导](ipc-rpc-development-guideline.md)
|
H A D | subscribe-remote-state.md | 3 IPC/RPC提供对远端Stub对象状态的订阅机制,在远端Stub对象消亡时,可触发消亡通知告诉本地Proxy对象。这种状态通知订阅需要调用特定接口完成,当不再需要订阅时也需要调用特定接口取消。使用… 7 这种订阅机制适用于本地Proxy对象需要感知远端Stub对象所在进程消亡,或所在设备离开组网的场景。当Proxy感知到Stub端消亡后,可适当清理本地资源。此外,RPC目前不提供匿名Stub对象的消…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | c-apis-scan.md | 163 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误; 193 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误; 223 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误; 261 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误; 294 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误; 326 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误; 358 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误; 402 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误; 435 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误; 473 返回SCAN_ERROR_RPC_FAILURE表示RPC通信错误;
|
H A D | errorcode-print.md | 22 ## 13100002 RPC错误 26 RPC failure. 30 该错误码表示RPC失败,可能原因如下:
|
/ohos5.0/docs/en/application-dev/ipc/ |
H A D | ipc-rpc-overview.md | 6 Both Inter-Process Communication (IPC) and Remote Procedure Call (RPC) implement cross-process comm… 12 > The IPC and RPC described in this document cannot be directly used in the stage model. Typical us… 15 > - RPC is used <!--Del-->[<!--DelEnd-->in multi-device collaboration<!--Del-->](../application-mod… 24 IPC and RPC use the client-server model, where the client process obtains the proxy of the process … 26 … through the proxy object. The IPC depends on the Binder driver, while the RPC depends on the DSof… 28  35 … death notifications of anonymous stub objects (not registered with SAMgr) is not supported in RPC.
|
H A D | Readme-EN.md | 4 - [IPC and RPC Development](ipc-rpc-development-guideline.md)
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | c-apis-scan.md | 163 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs. 193 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs. 223 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs. 261 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs. 294 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs. 326 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs. 359 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs. 403 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs. 436 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs. 474 **SCAN_ERROR_RPC_FAILURE**: An RPC communication error occurs.
|
H A D | errorcode-print.md | 22 ## 13100002 RPC Error 26 RPC failure.
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ipc-kit/ |
H A D | _o_h___i_p_c___message_option.md | 21 | uint32_t [timeout](#timeout) | RPC预留参数,该参数对IPC无效。 | 58 RPC预留参数,该参数对IPC无效。
|
H A D | Readme-CN.md | 4 - [@ohos.rpc (RPC通信)](js-apis-rpc.md) 21 - [RPC错误码](errorcode-rpc.md)
|
H A D | errorcode-rpc.md | 1 # RPC错误码
|
/ohos5.0/docs/en/application-dev/reference/apis-ipc-kit/ |
H A D | Readme-EN.md | 4 - [@ohos.rpc (RPC)](js-apis-rpc.md) 21 - [RPC Error Codes](errorcode-rpc.md)
|
H A D | _o_h___i_p_c___message_option.md | 21 | uint32_t [timeout](#timeout) | Parameter reserved for RPC. It is invalid for IPC.| 58 Parameter reserved for RPC. It is invalid for IPC.
|
H A D | js-apis-rpc.md | 1 # @ohos.rpc (RPC) 3 …RPC** module implements communication between processes, including inter-process communication (IP… 119 For details about the error codes, see [RPC Error Codes](errorcode-rpc.md). 165 For details about the error codes, see [RPC Error Codes](errorcode-rpc.md). 212 For details about the error codes, see [RPC Error Codes](errorcode-rpc.md). 251 For details about the error codes, see [RPC Error Codes](errorcode-rpc.md). 342 For details about the error codes, see [RPC Error Codes](errorcode-rpc.md). 381 For details about the error codes, see [RPC Error Codes](errorcode-rpc.md). 525 For details about the error codes, see [RPC Error Codes](errorcode-rpc.md). 8211 Obtains the maximum wait time for this RPC call. [all …]
|
/ohos5.0/docs/zh-cn/readme/ |
H A D | 分布式软总线子系统.md | 15 分布式软总线子系统旨在为OpenHarmony系统提供的通信相关的能力,包括:WLAN服务能力、蓝牙服务能力、软总线、进程间通信RPC(Remote Procedure Call)等通信能力。 52 在使用RPC时,请求服务的一端进程可获取提供服务一端所在进程的代理 (Proxy),并通过此代理读写数据来实现进程间的数据通信,其详细过程如下:
|
/ohos5.0/foundation/ability/idl_tool/ |
H A D | README.md | 12 - 声明系统服务对外提供的服务接口,根据接口声明在编译时生成跨进程调用(IPC)或跨设备调用(RPC)的代理(Proxy)和桩(Stub)的C/C++代码或JS/TS代码。 14 - 声明Ability对外提供的服务接口,根据接口声明在编译时生成跨进程调用(IPC)或跨设备调用(RPC)的代理(Proxy)和桩(Stub)的C/C++代码或JS/TS代码。 16 **图2** IPC/RPC通信模型 18  31 | stub/proxy自动生成模块 | 根据IPC/RPC规格自动生成Stub服务端和Proxy客户端代码。 |
|
/ohos5.0/docs/en/readme/ |
H A D | dsoftbus.md | 13 - Remote procedure call (RPC): communications between processes on a device or across devices. 41 ### RPC subsection 43 In an RPC, the client process obtains the proxy of the process that provides the service (server). …
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-mdm-kit/ |
H A D | errorcode-enterpriseDeviceManager.md | 144 2. 企业设备管理的RPC对象无法获取。 145 3. 企业设备管理依赖的其他服务没有正常启动或者RPC对象无法获取。
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | abilitykit-overview.md | 34 - 在多端协同场景下,应用组件具备组件间通信的RPC调用能力,天然支持跨设备应用组件的交互。
|
/ohos5.0/foundation/communication/ipc/ |
H A D | README.md | 16 …RPC\) mechanisms are used to implement cross-process communication. The difference between them li… 42 Currently, cross-device RPC communication is not supported. 56 In addition, the refbase implementation on which IPC/RPC depends is stored in **//utils**. Add the…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/ |
H A D | changelogs-dsoftbus.md | 3 ## IPC&RPC API支持异常处理方式和支持传入布尔值与数值选择同步或异步方式发送信息变更 4 1. 软总线IPC&RPC部分接口使用业务逻辑返回值表示错误信息,不符合OpenHarmony接口错误规范; 14 为适配统一的API异常处理方式,对IPC&RPC相关接口进行废弃,并新增对应接口和方法。新增接口支持统一的错误码异常处理规范,功能上与原接口保持一致。 145 更多接口的示例代码可参考[RPC通信API文档](../../../application-dev/reference/apis/js-apis-rpc.md)。
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-bundles-ipc.md | 6 …型IPC(Inter-Process Communication,即进程间通信)机制,不同于传统的System V IPC机制,LiteIPC主要是为RPC(Remote Procedure Ca…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.8.1/ |
H A D | changelogs-dsoftbus.md | 3 ## IPC&RPC APIs support the exception handling mode and the selection of synchronous or asynchronou… 4 1. Some IPC&RPC APIs of DSoftBus use service logic return values to indicate the error information,… 14 For adaptation to the unified API exception handling mode, related IPC&RPC APIs are deprecated, and… 145 For details about sample code of more APIs, see [RPC API reference](../../../application-dev/refere…
|