com.vaadin.server.

Class ConnectorIdGenerationEvent

  • All Implemented Interfaces:

    Serializable

    public class ConnectorIdGenerationEvent
    extends EventObject

    Event object containing information related to connector id generation.

    Since:

    8.1

    Author:

    Vaadin Ltd

    See Also:

    Serialized Form

    • Constructor Detail

      • ConnectorIdGenerationEvent

        public ConnectorIdGenerationEvent​(VaadinSession session,
                                          ClientConnector connector)

        Creates a new event for the given session and connector.

        Parameters:

        session - the session for which a connector id is needed, not null

        connector - the connector that should get an id, not null

    • Method Detail

      • getSession

        public VaadinSession getSession()

        Gets the session for which connector id is needed.

        Returns:

        the session, not null

      • getConnector

        public ClientConnector getConnector()

        Gets the connector that should get an id.

        Returns:

        the connector, not null