BusNameOwnerFlags

Added in version 2.26.

class BusNameOwnerFlags

Flags used in bus_own_name().

Fields

class BusNameOwnerFlags
ALLOW_REPLACEMENT

Allow another message bus connection to claim the name.

DO_NOT_QUEUE

If another message bus connection owns the name, immediately return an error from bus_own_name() rather than entering the waiting queue for that name. (Since 2.54)

NONE

No flags set.

REPLACE

If another message bus connection owns the name and have specified ALLOW_REPLACEMENT, then take the name from the other connection.