summaryrefslogtreecommitdiff
path: root/same/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'same/src/main')
-rw-r--r--same/src/main/java/com/orbekk/same/ClientInterface.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/same/src/main/java/com/orbekk/same/ClientInterface.java b/same/src/main/java/com/orbekk/same/ClientInterface.java
new file mode 100644
index 0000000..99adf21
--- /dev/null
+++ b/same/src/main/java/com/orbekk/same/ClientInterface.java
@@ -0,0 +1,8 @@
+package com.orbekk.same;
+
+public interface ClientInterface {
+ State getState();
+ void set(String name, String data, long revision) throws UpdateConflict;
+ void addStateListener(StateChangedListener listener);
+ void removeStateListener(StateChangedListener listener);
+} \ No newline at end of file