summaryrefslogtreecommitdiffstats
path: root/src/afm-user-daemon.xml
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-11-14 11:43:46 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-11-14 13:54:22 +0100
commita1f7f7d2cd79c9391368d0c017452566a5edc44c (patch)
treee1f507900d7526fec3a3cf3c73671d8260045ad4 /src/afm-user-daemon.xml
parentb6ac54640c918aecaf2f28edf82f8217154b12f3 (diff)
afm-user-daemon: Adds method "once"
Adds the method "once" that is intended to start an application in local mode if it doesn't already run. Returns the state of the running application. Change-Id: I4dfff06fa2d3e95f13a2436a2f1af9174799ddcf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afm-user-daemon.xml')
-rw-r--r--src/afm-user-daemon.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afm-user-daemon.xml b/src/afm-user-daemon.xml
index 772e45d..48ff7cd 100644
--- a/src/afm-user-daemon.xml
+++ b/src/afm-user-daemon.xml
@@ -13,6 +13,10 @@
<arg name="in" type="s" direction="in"/>
<arg name="out" type="s" direction="out"/>
</method>
+ <method name="once">
+ <arg name="in" type="s" direction="in"/>
+ <arg name="out" type="s" direction="out"/>
+ </method>
<method name="terminate">
<arg name="in" type="s" direction="in"/>
<arg name="out" type="s" direction="out"/>