summaryrefslogtreecommitdiff
path: root/app/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2017-09-21 00:57:47 +0200
committercyBerta <cyberta@riseup.net>2017-09-21 00:57:47 +0200
commite5b3484d2723f7c9ecc8eb84c6574888799844e1 (patch)
tree01f310e2f48087a924c6fb7ccf148c2ad7c6ed08 /app/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
parent0805826ea742ff1db853e3a66dde71608c3de3b7 (diff)
update ics-openvpn: add new aidl interface definitions
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..a94b3b44
--- /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.
+ */
+interface IOpenVPNStatusCallback {
+ /**
+ * Called when the service has a new status for you.
+ */
+ oneway void newStatus(in String uuid, in String state, in String message, in String level);
+}