We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.collaborationengine.
Interface PresenceHandler
-
All Superinterfaces:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PresenceHandler extends Serializable
Functional interface that defines how to handle user presence changes in a topic.
Since:
4.0
Author:
Vaadin Ltd
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PresenceHandler.PresenceContext
The context of the user presence.
-
Method Summary
All Methods Modifier and Type Method Description Registration
handlePresence(PresenceHandler.PresenceContext context)
Handles a change of user presence in a topic.
-
-
-
Method Detail
-
handlePresence
Registration handlePresence(PresenceHandler.PresenceContext context)
Handles a change of user presence in a topic.
Parameters:
context
- the context of the user presence, notnull
Returns:
a registration that will be removed when the user stops being present
-
-