Package com.vireocode.vireo.spi
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 Summary
Modifier and TypeMethodDescriptionvoidpublishCreateEvent(String entity, Object payload, Long revision) voidpublishDeleteEvent(String entity, Object payload, Long revision) voidpublishUpdateEvent(String entity, Object payload, Long revision)
-
Method Details
-
publishCreateEvent
-
publishUpdateEvent
-
publishDeleteEvent
-