Uses of Interface
org.silverpeas.core.notification.sse.ServerEvent
-
Packages that use ServerEvent Package Description org.silverpeas.core.notification.sse Provides the System Notification API within which Silverpeas can notify WEB clients by sendingServerEvent
.org.silverpeas.core.notification.sse.behavior org.silverpeas.core.notification.user Provides an API for notifying users either directly or in a delayed way according to the preferences of the users.org.silverpeas.core.notification.user.client Provides all the interfaces and classes to the clients of the Silverpeas User Notification API to build and to send a notification to some users (the recipients).org.silverpeas.core.web.session -
-
Uses of ServerEvent in org.silverpeas.core.notification.sse
Classes in org.silverpeas.core.notification.sse with type parameters of type ServerEvent Modifier and Type Interface Description interface
ServerEventListener<T extends ServerEvent>
AServerEvent
listener.interface
ServerEventNotifier<T extends ServerEvent>
A notifier of aServerEvent
about Silverpeas has to push to WEB client.Classes in org.silverpeas.core.notification.sse that implement ServerEvent Modifier and Type Class Description class
AbstractServerEvent
It is an abstract implementation of aServerEvent
.class
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.Methods in org.silverpeas.core.notification.sse that return types with arguments of type ServerEvent Modifier and Type Method Description static org.silverpeas.kernel.util.Pair<Long,List<ServerEvent>>
ServerEventDispatcherTask. getLastServerEventsFromId(long lastServerEventId)
Gets server events which the id is higher than the given one.Methods in org.silverpeas.core.notification.sse with parameters of type ServerEvent Modifier and Type Method Description static void
ServerEventDispatcherTask. dispatch(ServerEvent serverEventToDispatch)
Add a server event to dispatch.boolean
ServerEventWaitForManager. mustSendImmediately(ServerEvent event)
Puts aServerEvent
to send into context of waiting mechanism. -
Uses of ServerEvent in org.silverpeas.core.notification.sse.behavior
Subinterfaces of ServerEvent in org.silverpeas.core.notification.sse.behavior Modifier and Type Interface Description interface
AfterSentToAllContexts
Implements this interface in order to get "an after sent to all context" behavior.interface
IgnoreStoring
If an event implements this interface, it will not be stored into the store handled byServerEventDispatcherTask
in charge of dispatching allServerEvent
.interface
KeepAlwaysLastStored
If an event implements this interface, it is never removed from the store handled byServerEventDispatcherTask
in charge of dispatching allServerEvent
until a new one is stored (seeStoreLastOnly
).interface
SendEveryAmountOfTime
If an event implements this interface, its sending is performed by a JOB which is triggered every an amount of time.interface
StoreLastOnly
If an event implements this interface, the last added will be stored and the previous one will be cleaned from the store handled byServerEventDispatcherTask
in charge of dispatching allServerEvent
. -
Uses of ServerEvent in org.silverpeas.core.notification.user
Classes in org.silverpeas.core.notification.user that implement ServerEvent Modifier and Type Class Description class
UserNotificationServerEvent
This server event is sent on the reception of a user notification. -
Uses of ServerEvent in org.silverpeas.core.notification.user.client
Methods in org.silverpeas.core.notification.user.client with parameters of type ServerEvent Modifier and Type Method Description static boolean
NotificationManagerSettings. isSseEnabledFor(ServerEvent serverEvent)
Indicates if the server event has to be handled. -
Uses of ServerEvent in org.silverpeas.core.web.session
Classes in org.silverpeas.core.web.session that implement ServerEvent Modifier and Type Class Description class
UserSessionServerEvent
This server event is sent on successful user session opening and on user session ending.
-