Package org.silverpeas.core.notification.sse
Provides the System Notification API within which Silverpeas can notify WEB clients by sending
ServerEvent
.- Author:
- Yohann Chastagnier
-
Interface Summary Interface Description ServerEvent An event implying data the server has to push to client without the client requesting Silverpeas.ServerEvent.ServerEventName ServerEventListener<T extends ServerEvent> AServerEvent
listener.ServerEventNotifier<T extends ServerEvent> A notifier of aServerEvent
about Silverpeas has to push to WEB client.SilverpeasServerEventContext Definition of a Server Event context.SilverpeasServerEventContextManager This interface defines the management ofSilverpeasServerEventContext
. -
Class Summary Class Description AbstractServerEvent It is an abstract implementation of aServerEvent
.CDIServerEventListener<T extends AbstractServerEvent> A synchronousServerEvent
listener using the notification bus of CDI.CDIServerEventNotifier<T extends AbstractServerEvent> A synchronousServerEvent
notifier using the notification bus of CDI.CommonServerEvent It is an abstract extension of aAbstractServerEvent
.
This is the base implementation for all events which will be handled by common server event notifying.DefaultServerEventContextManager DefaultServerEventNotifier A common implementation that extendsCDIServerEventNotifier
.
Any treatment of Silverpeas has just to use this implementation in order to notify on a server event.DefaultServerEventTaskListener A common implementation that handles a common BUS of server event dispatching.ServerEventDispatcherTask This task is in charge of dispatching server events without blocking the thread of the emitter.ServerEventWaitForManager This manager handles allServerEvent
implementation implementing alsoSendEveryAmountOfTime
interface.SilverpeasAsyncContext This is a wrap of aAsyncContext
instance.SilverpeasWebSocketContext This is a wrap of aSession
instance.SseLogger