Package io.jmix.notifications.channel
Interface UserSessionNotifier
- All Known Implementing Classes:
VaadinSessionNotificationEventPublisher
public interface UserSessionNotifier
Allows to perform push-notification of user UI session. Implementation depends on UI client.
Used to make UI respond to In-app notifications.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notifies all active sessionsvoid
notifyUserSession
(String username) Notifies session (if active) of specific user
-
Method Details
-
notifyUserSession
Notifies session (if active) of specific user- Parameters:
username
- username
-
notifyAllUserSessions
void notifyAllUserSessions()Notifies all active sessions
-