blob: 743fff88424873236948b257765174523105caf3 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.chromium.leaderd.Group">
<tp:docstring>
Group objects represent a group to join. They have
an associated group ID which will be unique group instance.
</tp:docstring>
<method name="LeaveGroup">
<tp:docstring>
Request leaderd to leave this group.
</tp:docstring>
<annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
</method>
<method name="SetScore">
<tp:docstring>
Set the application specific score for this device. Leaderd
will accept all calls to SetScore, but only update the
published score after a configurable cooldown.
</tp:docstring>
<arg name="score" type="i" direction="in"/>
<annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
</method>
<method name="PokeLeader">
<tp:docstring>
Hints that the application believes the leader to be dead.
May cause leaderd to send the leader an optimistic challenge
and jump into the wanderer state sooner than normal.
</tp:docstring>
<annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
</method>
<property name="LeaderUUID" type="s" access="read">
<tp:docstring>
Peer ID of the leader peer. Will be empty if the local device
does not know the identity of the leader. Will be our own peer
ID if the local device is the leader.
Consumers can obtain more information about a peer (e.g. IP
address(es)) from peerd.
Example value:
“550e8400-e29b-41d4-a716-446655440000”
</tp:docstring>
</property>
<property name="MemberUUIDs" type="as" access="read">
<tp:docstring>
List containing peer IDs of all devices in our group. Includes
ourself; will therefore never be empty.
</tp:docstring>
</property>
</interface>
</node>