agama/doc/dbus/bus/org.opensuse.Agama1.Network.Device.bus.xml
2023-09-25 14:40:52 +01:00

55 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<node>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Peer">
<method name="Ping">
</method>
<method name="GetMachineId">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get">
<arg name="interface_name" type="s" direction="in"/>
<arg name="property_name" type="s" direction="in"/>
<arg type="v" direction="out"/>
</method>
<method name="Set">
<arg name="interface_name" type="s" direction="in"/>
<arg name="property_name" type="s" direction="in"/>
<arg name="value" type="v" direction="in"/>
</method>
<method name="GetAll">
<arg name="interface_name" type="s" direction="in"/>
<arg type="a{sv}" direction="out"/>
</method>
<!--
Emits the `org.freedesktop.DBus.Properties.PropertiesChanged` signal.
-->
<signal name="PropertiesChanged">
<arg name="interface_name" type="s"/>
<arg name="changed_properties" type="a{sv}"/>
<arg name="invalidated_properties" type="as"/>
</signal>
</interface>
<interface name="org.opensuse.Agama1.Network.Device">
<!--
Device name.
Kernel device name, e.g., eth0, enp1s0, etc.
-->
<property name="Name" type="s" access="read"/>
<!--
Device type.
Possible values: 0 = loopback, 1 = ethernet, 2 = wireless.
See [agama_lib::network::types::DeviceType].
-->
<property name="Type" type="y" access="read"/>
</interface>
</node>