summaryrefslogtreecommitdiffstats
path: root/shared/src/com/vaadin/shared/communication/ClientRpc.java
diff options
context:
space:
mode:
Diffstat (limited to 'shared/src/com/vaadin/shared/communication/ClientRpc.java')
-rw-r--r--shared/src/com/vaadin/shared/communication/ClientRpc.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/communication/ClientRpc.java b/shared/src/com/vaadin/shared/communication/ClientRpc.java
new file mode 100644
index 0000000000..d49bc05260
--- /dev/null
+++ b/shared/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 {
+
+}