Common messages

These classes are message generators. Wrap them in a Proxy class to actually send the messages as well.

class jeepney.Properties(obj: Union[jeepney.wrappers.DBusAddress, jeepney.wrappers.MessageGenerator])[source]

Build messages for accessing object properties

If a D-Bus object has multiple interfaces, each interface has its own set of properties.

This uses the standard DBus interface org.freedesktop.DBus.Properties

get(name)[source]

Get the value of the property name

get_all()[source]

Get all property values for this interface

set(name, signature, value)[source]

Set the property name to value (with appropriate signature)

class jeepney.Introspectable(object_path, bus_name)[source]
Introspect()[source]

Request D-Bus introspection XML for a remote object

class jeepney.DBus(object_path='/org/freedesktop/DBus', bus_name='org.freedesktop.DBus')[source]

Messages to talk to the message bus

There is a ready-made instance of this at jeepney.message_bus.

AddMatch(rule)[source]

rule can be a str or a MatchRule instance

GetAdtAuditSessionData(name)[source]
GetConnectionCredentials(name)[source]
GetConnectionSELinuxSecurityContext(name)[source]
GetConnectionUnixProcessID(name)[source]
GetConnectionUnixUser(name)[source]
GetId()[source]
GetNameOwner(name)[source]
Hello()[source]
ListActivatableNames()[source]
ListNames()[source]
ListQueuedOwners(name)[source]
NameHasOwner(name)[source]
ReleaseName(name)[source]
ReloadConfig()[source]
RemoveMatch(rule)[source]
RequestName(name, flags=0)[source]
StartServiceByName(name)[source]
UpdateActivationEnvironment(env)[source]
interface = 'org.freedesktop.DBus'
class jeepney.Monitoring(object_path='/org/freedesktop/DBus', bus_name='org.freedesktop.DBus')[source]
BecomeMonitor(rules)[source]

Convert this connection to a monitor connection (advanced)