Interface ActivationHandler

  • All Superinterfaces:
    Consumer<ActionDispatcher>

    public interface ActivationHandler
    extends Consumer<ActionDispatcher>
    Defines when to execute the connection callback

    A connection is not active when it's newly created. When being activated, the activation callback of the connection should be invoked (or re-invoked when re-activating the connection).

    When being deactivated, the topic no longer has reference to the connection.

    Since:
    1.0
    Author:
    Vaadin Ltd