tree: dcb23c7121ffc828a8bde31809857e8b4671e7f7 [path history] [tgz]
  1. diagrams/
  2. remote_provider_mqtt/
  3. CMakeLists.txt
  4. README.md
bundles/event_admin/remote_provider/README.md

title: Remote Providers for Event Admin

Introduction

The remote provider of Event Admin can deliver events to remote frameworks. To extend new remote communication approaches through a new remote provider, the remote provider should be implemented as a Celix bundle, and provide the celix_event_remote_provider_service_t service.

The Relationship Between Remote Provider And Event Admin

The celix_event_remote_provider_service_t service provides asynchronous event publishing method and synchronous event publishing method, which corresponds to the celix_event_admin_service_t service. When the Event Admin receives an event that needs to be published to a remote framework, it forwards the event to the remote framework by calling the celix_event_remote_provider_service_t service. Similarly, when the remote provider receives a remote event, it publishes the event to the local framework by calling the celix_event_admin_service_t service. The component relationship diagram is as follows.

event_admin_remote_provider_component_diagram

Remote Provider Bundles