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 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.