get_swarm_leader


Description:

public virtual unowned string get_swarm_leader ()

In case this peer is connected to a message bus, gets the unique DBus address of the current swarm leader, otherwise returns id of the leader.

Parameters:

this

a Peer

Returns:

Unique DBus address of the current swarm leader, possibly null if the leader has not been detected yet