Interface NewUserHandler

  • All Superinterfaces:
    java.io.Serializable
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Deprecated
    @FunctionalInterface
    public interface NewUserHandler
    extends java.io.Serializable
    Deprecated.
    Use PresenceHandler instead
    Functional interface that defines how to handle a user when it becomes present in a topic.
    Since:
    3.2
    Author:
    Vaadin Ltd
    See Also:
    PresenceManager.setNewUserHandler(NewUserHandler)
    • Method Detail

      • handleNewUser

        com.vaadin.flow.shared.Registration handleNewUser​(UserInfo user)
        Deprecated.
        Handles a user when it becomes present in a topic.
        Parameters:
        user - the user that becomes present
        Returns:
        a registration that will be removed when the user stops being present