niobe/foundation/communication/ipc_lite
houpengfei bf36baa0e3 update OpenHarmony 3.0 LTS 2021-10-22 13:59:18 +08:00
..
frameworks update OpenHarmony 3.0 LTS 2021-10-22 13:59:18 +08:00
interfaces/kits update OpenHarmony 3.0 LTS 2021-10-22 13:59:18 +08:00
BUILD.gn update OpenHarmony 3.0 LTS 2021-10-22 13:59:18 +08:00
LICENSE update OpenHarmony 3.0 LTS 2021-10-22 13:59:18 +08:00
README.md update OpenHarmony 3.0 LTS 2021-10-22 13:59:18 +08:00
README_zh.md update OpenHarmony 3.0 LTS 2021-10-22 13:59:18 +08:00

README.md

LiteIPC

Introduction

LiteIPC is a lite module for inter-process communication IPC. It provides IPC capabilities for the system service framework and is implemented in both the kernel space and user space. In the kernel space, LiteIPC provides functionalities such as inter-process message sending and receiving, IPC memory management, timeout notification, and death notification. In the user space, LiteIPC provides marshalling and unmarshalling capabilities and distributes IPC callback messages and death messages.

Directory Structure

/foundation/communication/ipc_lite
├── frameworks         # Framework code
│   └── liteipc
│       ├── include   # Header files
│       ├── src       # Source code
├── interfaces         # APIs
│   └── kits          # IPC, marshalling, and unmarshalling APIs

Usage

LiteIPC provides the IPC, marshalling, and unmarshalling capabilities. The IPC capability is encapsulated by the samgr_lite module. You can use the service-related APIs provided by samgr_lite and the marshalling and unmarshalling APIs provided by LiteIPC to invoke services across processes. For details about how to develop, register, obtain, and invoke services, see the samgr_lite repository.

Repositories Involved

Intelligent Soft Bus subsystem

communication_ipc_lite

communication_softbus_lite

communication_wifi_aware