diff options
author | Artur Signell <artur@vaadin.com> | 2012-08-13 18:24:51 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-08-13 18:34:53 +0300 |
commit | 9bc14b90a3ec265587562f2886ec3da1cd904f44 (patch) | |
tree | f823bf5a9a6119b4036bb0facedecdad936f33e4 /src/com/vaadin/shared/Connector.java | |
parent | 4a1d729534e1232088529afcd48360d868093a67 (diff) | |
download | vaadin-framework-9bc14b90a3ec265587562f2886ec3da1cd904f44.tar.gz vaadin-framework-9bc14b90a3ec265587562f2886ec3da1cd904f44.zip |
Moved com.vaadin.shared files to a shared src folder (#9299)
Diffstat (limited to 'src/com/vaadin/shared/Connector.java')
-rw-r--r-- | src/com/vaadin/shared/Connector.java | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/com/vaadin/shared/Connector.java b/src/com/vaadin/shared/Connector.java deleted file mode 100644 index 69f819e881..0000000000 --- a/src/com/vaadin/shared/Connector.java +++ /dev/null @@ -1,57 +0,0 @@ -/* -@VaadinApache2LicenseForJavaFiles@ - */ -package com.vaadin.shared; - -import java.io.Serializable; - -import com.vaadin.shared.communication.SharedState; - -/** - * Interface implemented by all classes that are capable of communicating with - * the server or the client side. - * <p> - * 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. - * </p> - * <p> - * No classes should implement this interface directly, client side classes - * wanting to communicate with server side should implement - * {@link com.vaadin.terminal.gwt.client.ServerConnector} and server side - * classes should implement - * {@link com.vaadin.terminal.gwt.server.ClientConnector}. - * </p> - * - * @author Vaadin Ltd - * @version @VERSION@ - * @since 7.0.0 - */ -public interface Connector extends Serializable { - /** - * Gets the current shared state of the connector. - * - * @since 7.0. - * @return state The shared state object. Can be any sub type of - * {@link SharedState}. Never null. - */ - public SharedState getState(); - - /** - * Returns the id for this connector. This is set by the framework and does - * not change during the lifetime of a connector. - * - * @return The id for the connector. - */ - public String getConnectorId(); - - /** - * Gets the parent connector of this connector, or <code>null</code> if the - * connector is not attached to any parent. - * - * @return the parent connector, or <code>null</code> if there is no parent. - */ - public Connector getParent(); - -} |