Constants¶
- class dbus_fast.BusType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
An enum that indicates a type of bus. On most systems, there are normally two different kinds of buses running.
- SESSION = 1¶
A bus for the current graphical user session.
- SYSTEM = 2¶
A persistent bus for the whole machine.
- class dbus_fast.MessageType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
An enum that indicates a type of message.
- ERROR = 3¶
A return to a method call that has failed
- METHOD_CALL = 1¶
An outgoing method call.
- METHOD_RETURN = 2¶
A return to a previously sent method call
- SIGNAL = 4¶
A broadcast signal to subscribed connections
- property value: str¶
Return the value.
- class dbus_fast.MessageFlag(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Flags that affect the behavior of sent and received messages
- ALLOW_INTERACTIVE_AUTHORIZATION = 4¶
- NONE = 0¶
- NO_AUTOSTART = 2¶
- NO_REPLY_EXPECTED = 1¶
The method call does not expect a method return.
- property value: str¶
Return the value.
- class dbus_fast.NameFlag(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
A flag that affects the behavior of a name request.
- ALLOW_REPLACEMENT = 1¶
If another client requests this name, let them have it.
- DO_NOT_QUEUE = 4¶
Name requests normally queue and wait for the owner to release the name. Do not enter this queue.
- NONE = 0¶
- REPLACE_EXISTING = 2¶
If another client owns this name, try to take it.
- class dbus_fast.RequestNameReply(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
An enum that describes the result of a name request.
- ALREADY_OWNER = 4¶
The bus already owns the name.
- EXISTS = 3¶
The name has an owner and NameFlag.DO_NOT_QUEUE was given.
- IN_QUEUE = 2¶
The bus is in a queue and may receive the name after it is relased by the primary owner.
- PRIMARY_OWNER = 1¶
The bus owns the name.
- class dbus_fast.ReleaseNameReply(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
An enum that describes the result of a name release request
- NON_EXISTENT = 2¶
- NOT_OWNER = 3¶
- RELEASED = 1¶
- class dbus_fast.PropertyAccess(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
An enum that describes whether a DBus property can be gotten or set with the
org.freedesktop.DBus.Properties
interface.- READ = 'read'¶
The property is readonly.
- READWRITE = 'readwrite'¶
The property can be read or written to.
- WRITE = 'write'¶
The property is writeonly.
- readable() bool ¶
Get whether the property can be read.
- writable() bool ¶
Get whether the property can be written to.
- class dbus_fast.ArgDirection(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
For an introspected argument, indicates whether it is an input parameter or a return value.
- IN = 'in'¶
- OUT = 'out'¶
- class dbus_fast.ErrorType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
An enum for the type of an error for a message reply.
- ACCESS_DENIED = 'org.freedesktop.DBus.Error.AccessDenied'¶
- ADDRESS_IN_USE = 'org.freedesktop.DBus.Error.AddressInUse'¶
- AUTH_FAILED = 'org.freedesktop.DBus.Error.AuthFailed'¶
- BAD_ADDRESS = 'org.freedesktop.DBus.Error.BadAddress'¶
- CLIENT_ERROR = 'com.dubstepdish.dbus.next.ClientError'¶
A custom error to indicate something went wrong with the client.
- DISCONNECTED = 'org.freedesktop.DBus.Error.Disconnected'¶
- FAILED = 'org.freedesktop.DBus.Error.Failed'¶
- FILE_EXISTS = 'org.freedesktop.DBus.Error.FileExists'¶
- FILE_NOT_FOUND = 'org.freedesktop.DBus.Error.FileNotFound'¶
- INCONSISTENT_MESSAGE = 'org.freedesktop.DBus.Error.InconsistentMessage'¶
- INTERACTIVE_AUTHORIZATION_REQUIRED = 'org.freedesktop.DBus.Error.InteractiveAuthorizationRequired'¶
- INTERNAL_ERROR = 'com.dubstepdish.dbus.next.InternalError'¶
A custom error to indicate something went wrong with the library.
- INVALID_ARGS = 'org.freedesktop.DBus.Error.InvalidArgs'¶
- INVALID_SIGNATURE = 'org.freedesktop.DBus.Error.InvalidSignature'¶
- IO_ERROR = 'org.freedesktop.DBus.Error.IOError'¶
- LIMITS_EXCEEDED = 'org.freedesktop.DBus.Error.LimitsExceeded'¶
- MATCH_RULE_INVALID = 'org.freedesktop.DBus.Error.MatchRuleInvalid'¶
- MATCH_RULE_NOT_FOUND = 'org.freedesktop.DBus.Error.MatchRuleNotFound'¶
- NAME_HAS_NO_OWNER = 'org.freedesktop.DBus.Error.NameHasNoOwner'¶
- NOT_SUPPORTED = 'org.freedesktop.DBus.Error.NotSupported'¶
- NO_MEMORY = 'org.freedesktop.DBus.Error.NoMemory'¶
- NO_NETWORK = 'org.freedesktop.DBus.Error.NoNetwork'¶
- NO_REPLY = 'org.freedesktop.DBus.Error.NoReply'¶
- NO_SERVER = 'org.freedesktop.DBus.Error.NoServer'¶
- PROPERTY_READ_ONLY = 'org.freedesktop.DBus.Error.PropertyReadOnly'¶
- SERVICE_ERROR = 'com.dubstepdish.dbus.next.ServiceError'¶
A custom error to indicate an exported service threw an exception.
- SERVICE_UNKNOWN = 'org.freedesktop.DBus.Error.ServiceUnknown'¶
- TIMEOUT = 'org.freedesktop.DBus.Error.Timeout'¶
- UNIX_PROCESS_ID_UNKNOWN = 'org.freedesktop.DBus.Error.UnixProcessIdUnknown'¶
- UNKNOWN_INTERFACE = 'org.freedesktop.DBus.Error.UnknownInterface'¶
- UNKNOWN_METHOD = 'org.freedesktop.DBus.Error.UnknownMethod'¶
- UNKNOWN_OBJECT = 'org.freedesktop.DBus.Error.UnknownObject'¶
- UNKNOWN_PROPERTY = 'org.freedesktop.DBus.Error.UnknownProperty'¶