Show TOC

Application-to-Client MessagingLocate this document in the navigation structure

Use

Server applications can use RTMF to communicate with clients without the need for the client to initiate a request. Applications publish events and send messages to clients who have subscribed to the event.

The following figure shows the runtime flow when an application communicates with a client:

  1. An application publishes an event by creating a message, and then telling the RTMF server that it wants to publish an event with this message. The application specifies a name for the event.

  2. The RTMF server receives the event, and dispatches it to all clients subscribed to the event.

  3. Clients subscribed to the event receive the event and the accompanying message.

    Any application that wants to listen for the event and receive the accompanying message must know the name of the event and tell the RTMF server that it wants to subscribe to the specific event.

    Many applications can subscribe to an event. An application can choose to publish the event to all subscribers, or only to a specific subscribed user.

For more information, see RTMF Events .