aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/shared/communication/ClientRpc.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-07-27 14:36:23 +0300
committerLeif Åstrand <leif@vaadin.com>2012-07-27 14:38:15 +0300
commit7f75d0f4cfd93d30bd5209a7fe02c819ee6ac614 (patch)
tree32dca6d9bfdef899aee0e64f78b4ef8802595f8f /src/com/vaadin/shared/communication/ClientRpc.java
parent01c312a4a7b457bfb89c19e804d403537974026f (diff)
downloadvaadin-framework-7f75d0f4cfd93d30bd5209a7fe02c819ee6ac614.tar.gz
vaadin-framework-7f75d0f4cfd93d30bd5209a7fe02c819ee6ac614.zip
Move classes common to client and server to com.vaadin.shared.* (#8934)
Diffstat (limited to 'src/com/vaadin/shared/communication/ClientRpc.java')
-rw-r--r--src/com/vaadin/shared/communication/ClientRpc.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/com/vaadin/shared/communication/ClientRpc.java b/src/com/vaadin/shared/communication/ClientRpc.java
new file mode 100644
index 0000000000..d49bc05260
--- /dev/null
+++ b/src/com/vaadin/shared/communication/ClientRpc.java
@@ -0,0 +1,23 @@
+/*
+@VaadinApache2LicenseForJavaFiles@
+ */
+
+package com.vaadin.shared.communication;
+
+import java.io.Serializable;
+
+/**
+ * Interface to be extended by all server to client RPC interfaces.
+ *
+ * On the server side, proxies of the interface can be obtained from
+ * AbstractComponent. On the client, RPC implementations can be registered with
+ * AbstractConnector.registerRpc().
+ *
+ * Note: Currently, each RPC interface may not contain multiple methods with the
+ * same name, even if their parameter lists would differ.
+ *
+ * @since 7.0
+ */
+public interface ClientRpc extends Serializable {
+
+}