com.vaadin.collaborationengine.

Interface ActivationHandler


  • public interface ActivationHandler

    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.

    Author:

    Vaadin Ltd

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void setActive(boolean active)

      Activates or deactivates a connection

    • Method Detail

      • setActive

        void setActive(boolean active)

        Activates or deactivates a connection

        Parameters:

        active - activate the connection if true, deactivate otherwise