Interface Connector

  • All Superinterfaces:
    Serializable

    public interface Connector
    extends Serializable
    Interface implemented by all classes that are capable of communicating with the server or the client side.

    A connector consists of a shared state (server sets the state and automatically communicates changes to the client) and the possibility to do RPC calls either from the server to the client or from the client to the server.

    No classes should implement this interface directly, client side classes wanting to communicate with server side should implement com.vaadin.client.ServerConnector and server side classes should implement com.vaadin.server.ClientConnector.

    Since:
    7.0.0
    Author:
    Vaadin Ltd
    • Method Detail

      • getConnectorId

        String getConnectorId()
        Returns the id for this connector. This is set by the framework and does not change during the lifetime of a connector.
        Returns:
        The id for the connector.
      • getParent

        Connector getParent()
        Gets the parent connector of this connector, or null if the connector is not attached to any parent.
        Returns:
        the parent connector, or null if there is no parent.