summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-04-06 19:46:07 +0200
committerArne Schwabe <arne@rfc2549.org>2013-04-06 19:46:07 +0200
commitbde3a3f780cc668619076df96147b76be1c4ab64 (patch)
tree0c47b7894df388844ef3b9a806711b704c227b3d /src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
parentad2256b6fe9c211d06321d99590cb457427d8e7d (diff)
Add external API with security.
Diffstat (limited to 'src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl')
-rw-r--r--src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl b/src/de/blinkt/openvpn/api/IOpenVPNStatusCallback.aidl
new file mode 100644
index 00000000..11e369c2
--- /dev/null
+++ b/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 state, String message);
+}