summaryrefslogtreecommitdiff
path: root/app/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-05-14 20:11:06 +0200
committerParménides GV <parmegv@sdf.org>2014-05-14 20:11:06 +0200
commitedeb42401201c9c933cc2ba8175863225c813723 (patch)
tree467bf58917588dccdd06b8b3239c3f29fef51803 /app/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
parentb79fd315dd89e7a9f648c6a500b41ce7d9970081 (diff)
Copy aidl too.
WARNING: there are still compiling errors, related to BuildConfig and R classes in de.blinkt.openvpn
Diffstat (limited to 'app/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl')
-rw-r--r--app/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl b/app/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
new file mode 100644
index 00000000..1dfa1381
--- /dev/null
+++ b/app/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
@@ -0,0 +1,13 @@
+package de.blinkt.openvpn.api;
+
+/**
+ * Example of a callback interface used by IRemoteService to send
+ * synchronous notifications back to its clients. Note that this is a
+ * one-way interface so the server does not block waiting for the client.
+ */
+oneway interface IOpenVPNStatusCallback {
+ /**
+ * Called when the service has a new status for you.
+ */
+ void newStatus(String uuid, String state, String message, String level);
+}