Interface OfflineChangeBroadcaster

All Known Implementing Classes:
OfflineHeartbeatService

public interface OfflineChangeBroadcaster
Announces entity changes to connected clients.

Implemented by OfflineHeartbeatService in vireo-offline, which fans the events out over SSE. The payload is typed as Object on purpose: it is the entity's DTO, and core has no way to name that type.

  • Method Details

    • publishCreateEvent

      void publishCreateEvent(String entity, Object payload, Long revision)
    • publishUpdateEvent

      void publishUpdateEvent(String entity, Object payload, Long revision)
    • publishDeleteEvent

      void publishDeleteEvent(String entity, Object payload, Long revision)