summaryrefslogtreecommitdiff
path: root/cmake/LifecycleConsumer.xml
diff options
context:
space:
mode:
authorchristian linke <christian.linke@bmw.de>2012-12-17 16:15:11 +0100
committerchristian linke <christian.linke@bmw.de>2012-12-17 16:15:11 +0100
commit54c5e965fe8f9a53a78834028fd65c792493da2b (patch)
tree560d7b1209e6a8d4798de9568e4b4a947c2ab42a /cmake/LifecycleConsumer.xml
parent215e8a72dc81e8a86dd5b3a8ca40fd2c7c6a0b9c (diff)
downloadaudiomanager-54c5e965fe8f9a53a78834028fd65c792493da2b.tar.gz
* added new interfaces & nsm support + nsm tests + fixed some unit tests + fixed rundown
Signed-off-by: christian linke <christian.linke@bmw.de>
Diffstat (limited to 'cmake/LifecycleConsumer.xml')
-rw-r--r--cmake/LifecycleConsumer.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/cmake/LifecycleConsumer.xml b/cmake/LifecycleConsumer.xml
new file mode 100644
index 0000000..ec1162b
--- /dev/null
+++ b/cmake/LifecycleConsumer.xml
@@ -0,0 +1,23 @@
+<node>
+ <!--
+ org.genivi.NodeStateManager.LifeCycleConsumer:
+ @short_description: Interface of a life cycle client.
+
+ This interface contains functions, which need to be implemented by life cycle clients, to be able to receive life cycle requests.
+ -->
+ <interface name="org.genivi.NodeStateManager.LifeCycleConsumer">
+ <!--
+ LifecycleRequest:
+ @Request: The type of the life cycle request. Can be NSM_SHUTDOWNTYPE_RUNUP, NSM_SHUTDOWNTYPE_NORMAL or NSM_SHUTDOWNTYPE_FAST.
+ @RequestId: The Id of the client (current request). This Id needs to be passed to the NSM again via the interface "LifecycleRequestComplete", when the client has processed the "LifecycleRequest".
+ @ErrorCode: Client's return value, passed to the NodeStateManager. Based upon NsmErrorStatus_e. NsmErrorStatus_Ok: Request was successfully processed. NsmErrorStatus_ResponsePending: Processing of request started. LifecycleRequestComplete will be called to pass the status after completion. NsmErrorStatus_Error: An error occured, the request could not be processed.
+
+ The method has to be implemented by every life cycle client and is called by the NodeStateManager, when the node is shutting down (fast or normal) or an ongoing shutdown is cancelled (run up).
+ -->
+ <method name="LifecycleRequest">
+ <arg name="Request" direction="in" type="u"/>
+ <arg name="RequestId" direction="in" type="u"/>
+ <arg name="ErrorCode" direction="out" type="i"/>
+ </method>
+ </interface>
+</node>