Permalink
Browse files

Add task interface

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  • Loading branch information...
1 parent 982b41c commit a6b5494be8624046668653f278c450b70a461cc1 David Scott committed Feb 11, 2014
Showing with 29 additions and 0 deletions.
  1. +29 −0 dbus/vm/task.xml
View
@@ -0,0 +1,29 @@
+<node>
+ <interface name="org.xenserver.api.task">
+ <method name="cancel">
+ </method>
+ <method name="getResult">
+ <arg name="result" type="s" direction="out"/>
+ </method>
+ <method name="destroy">
+ </method>
+ <property name="completed" type="b" access="read">
+ <doc:doc>
+ <doc:description>
+ <doc:para>
+ True if the task has completed and the result is available.
+ </doc:para>
+ </doc:description>
+ </doc:doc>
+ </property>
+ <property name="cancelling" type="b" access="read">
+ <doc:doc>
+ <doc:description>
+ <doc:para>
+ True if an attempt to cancel the task is in progress.
+ </doc:para>
+ </doc:description>
+ </doc:doc>
+ </property>
+ </interface>
+</node>

0 comments on commit a6b5494

Please sign in to comment.