public class SSEClientNotifier extends java.lang.Object implements ClientNotifier
| Constructor and Description |
|---|
SSEClientNotifier(PersistenceContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventSource(org.glassfish.jersey.media.sse.EventOutput channel) |
void |
addSubscription(Subscription subscription) |
void |
close() |
void |
initialize() |
boolean |
isOpen() |
void |
newObject(java.lang.Object newObject) |
void |
removedObject(java.lang.String entityName, java.lang.Object removedObject) |
void |
sendMessage(java.lang.String data) |
void |
updatedObject(java.lang.Object updatedObject) |
public SSEClientNotifier(PersistenceContext context)
public void addEventSource(org.glassfish.jersey.media.sse.EventOutput channel)
public void addSubscription(Subscription subscription)
public void close()
public void initialize()
initialize in interface ClientNotifierpublic boolean isOpen()
isOpen in interface ClientNotifierpublic void newObject(java.lang.Object newObject)
newObject in interface ClientNotifier
public void removedObject(java.lang.String entityName,
java.lang.Object removedObject)
removedObject in interface ClientNotifierpublic void updatedObject(java.lang.Object updatedObject)
updatedObject in interface ClientNotifierpublic void sendMessage(java.lang.String data)