-
Notifications
You must be signed in to change notification settings - Fork 148
/
tcmu-handler.xml
28 lines (27 loc) · 1.03 KB
/
tcmu-handler.xml
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
<node>
<interface name="org.kernel.TCMUService1">
<property name="ConfigDesc" type="s" access="read"/>
<!--
CheckConfig:
The creation of a TCMU device is decoupled from the discovery and
use by its backing handler, and there's no good way for errors in
the handler-specific configstring to be visible to the user when
creating the device.
This method lets tools that are creating TCMU devices check
that the configstring is valid before the device has been created.
-->
<method name="CheckConfig">
<arg type="s" name="configstr" direction="in"/>
<arg type="b" name="is_valid" direction="out"/>
<arg type="s" name="message" direction="out"/>
</method>
</interface>
<interface name="org.kernel.TCMUService1.HandlerManager1">
<method name="RegisterHandler">
<arg type="s" name="subtype" direction="in"/>
<arg type="s" name="cfgstr_desc" direction="in"/>
<arg type="b" name="succeeded" direction="out"/>
<arg type="s" name="message" direction="out"/>
</method>
</interface>
</node>