Interface ActivationHandler

All Superinterfaces:
Consumer<ActionDispatcher>, Serializable, SerializableConsumer<ActionDispatcher>

public interface ActivationHandler extends SerializableConsumer<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