summaryrefslogtreecommitdiff
path: root/common/nsm-lifecycle-control-dbus.xml
blob: 9a85ffcc9b911ae3751e5fd6bd7da4aa2fe00008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<node>
  <!--
    com.contiautomotive.NodeStateManager.LifecycleControl:
    @short_description: Interface for testing the interaction between the
                        Node Startup Controller and the Node State Manager.
                        It is an excerpt of
                        "com.conti.NodeStateManager.LifecycleControl"
                        using only the methods needed to test the NSC.
  -->
  <interface name="com.contiautomotive.NodeStateManager.LifecycleControl">
    <!--
      SetNodeState:
      @NodeStateId: The passed value will be based upon the enum
                    NSM_NodeState_e
      @ErrorCode:

      The method is used by other applications to set the NodeState. When
      this method is called to change the current NodeState a signal will be
      sent to notify registered consumers of the new state
    -->
    <method name="SetNodeState">
      <arg name="NodeStateId" direction="in" type="i"/>
      <arg name="ErrorCode" direction="out" type="i"/>
    </method>

    <!--
      CheckLucRequired:
      @LucWanted: This will be a simple TRUE or FALSE to define whether the LUC
                  is wanted in the current Lifecycle

      This method will be called exclusivley by the Node Startup Controller
      to find out whether the LUC applications should be started in the
      current lifecycle. This is required whilst in certain Node Application
      Modes (i.e. Transport, Factory) we do not want the LUC applications
      started.
    -->
    <method name="CheckLucRequired">
      <arg name="LucWanted" direction="out" type="b"/>
    </method>

  </interface>
</node>