aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl')
-rw-r--r--app/src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl b/app/src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
new file mode 100644
index 0000000..1dfa138
--- /dev/null
+++ b/app/src/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);
+}