Namespace l2dbus.Dbus

L2DBUS Shared D-Bus constants

This namespace defines shared D-Bus constants that are typically utilized by related L2DBUS components.

These constants directly correspond to their 'C' D-Bus reference library equivalents and protocol definitions.

Constants

SERVICE_DBUS
PATH_DBUS
PATH_LOCAL
INTERFACE_DBUS
INTERFACE_INTROSPECTABLE
INTERFACE_PROPERTIES
INTERFACE_PEER
INTERFACE_LOCAL
NAME_FLAG_ALLOW_REPLACEMENT
NAME_FLAG_REPLACE_EXISTING
NAME_FLAG_DO_NOT_QUEUE
REQUEST_NAME_REPLY_PRIMARY_OWNER
REQUEST_NAME_REPLY_IN_QUEUE
REQUEST_NAME_REPLY_EXISTS
REQUEST_NAME_REPLY_ALREADY_OWNER
RELEASE_NAME_REPLY_RELEASED
RELEASE_NAME_REPLY_NON_EXISTENT
RELEASE_NAME_REPLY_NOT_OWNER
START_REPLY_SUCCESS
START_REPLY_ALREADY_RUNNING
TIMEOUT_USE_DEFAULT
TIMEOUT_INFINITE
BUS_SESSION
BUS_SYSTEM
BUS_STARTER

Message Types

MESSAGE_TYPE_INVALID
MESSAGE_TYPE_METHOD_CALL
MESSAGE_TYPE_METHOD_RETURN
MESSAGE_TYPE_ERROR
MESSAGE_TYPE_SIGNAL

Message Handler Return Values

HANDLER_RESULT_HANDLED
HANDLER_RESULT_NOT_YET_HANDLED
HANDLER_RESULT_NEED_MEMORY

D-Bus Errors

ERROR_FAILED
ERROR_NO_MEMORY
ERROR_SERVICE_UNKNOWN
ERROR_NAME_HAS_NO_OWNER
ERROR_NO_REPLY
ERROR_IO_ERROR
ERROR_BAD_ADDRESS
ERROR_NOT_SUPPORTED
ERROR_LIMITS_EXCEEDED
ERROR_ACCESS_DENIED
ERROR_AUTH_FAILED
ERROR_NO_SERVER
ERROR_TIMEOUT
ERROR_NO_NETWORK
ERROR_ADDRESS_IN_USE
ERROR_DISCONNECTED
ERROR_INVALID_ARGS
ERROR_FILE_NOT_FOUND
ERROR_FILE_EXISTS
ERROR_UNKNOWN_METHOD
ERROR_UNKNOWN_OBJECT
ERROR_UNKNOWN_INTERFACE
ERROR_UNKNOWN_PROPERTY
ERROR_PROPERTY_READ_ONLY
ERROR_TIMED_OUT
ERROR_MATCH_RULE_NOT_FOUND
ERROR_MATCH_RULE_INVALID
ERROR_SPAWN_EXEC_FAILED
ERROR_SPAWN_FORK_FAILED
ERROR_SPAWN_CHILD_EXITED
ERROR_SPAWN_CHILD_SIGNALED
ERROR_SPAWN_FAILED
ERROR_SPAWN_SETUP_FAILED
ERROR_SPAWN_CONFIG_INVALID
ERROR_SPAWN_SERVICE_INVALID
ERROR_SPAWN_SERVICE_NOT_FOUND
ERROR_SPAWN_PERMISSIONS_INVALID
ERROR_SPAWN_FILE_INVALID
ERROR_SPAWN_NO_MEMORY
ERROR_UNIX_PROCESS_ID_UNKNOWN
ERROR_INVALID_SIGNATURE
ERROR_INVALID_FILE_CONTENT
ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN
ERROR_ADT_AUDIT_DATA_UNKNOWN
ERROR_OBJECT_PATH_IN_USE
ERROR_INCONSISTENT_MESSAGE


Constants

SERVICE_DBUS
The bus name used to talk to the bus itself.
PATH_DBUS
The object path used to talk to the bus itself.
PATH_LOCAL
The object path used in local/in-process-generated messages.
INTERFACE_DBUS
The interface exported by the object with SERVICE_DBUS and PATH_DBUS.
INTERFACE_INTROSPECTABLE
The interface supported by introspectable objects.
INTERFACE_PROPERTIES
The interface supported by objects with properties.
INTERFACE_PEER
The interface supported by most dbus peers.
INTERFACE_LOCAL
This is a special interface whose methods can only be invoked by the local implementation (messages from remote apps aren't allowed to specify this interface).
NAME_FLAG_ALLOW_REPLACEMENT
Allow another service to become the primary owner if requested.
NAME_FLAG_REPLACE_EXISTING
Request to replace the current primary owner.
NAME_FLAG_DO_NOT_QUEUE
If we can not become the primary owner do not place us in the queue.
REQUEST_NAME_REPLY_PRIMARY_OWNER
Service has become the primary owner of the requested name.
REQUEST_NAME_REPLY_IN_QUEUE
Service could not become the primary owner and has been placed in the queue.
REQUEST_NAME_REPLY_EXISTS
Service is already in the queue.
REQUEST_NAME_REPLY_ALREADY_OWNER
Service is already the primary owner.
RELEASE_NAME_REPLY_RELEASED
Service was released from the given name.
RELEASE_NAME_REPLY_NON_EXISTENT
The given name does not exist on the bus.
RELEASE_NAME_REPLY_NOT_OWNER
Service is not an owner of the given name.
START_REPLY_SUCCESS
Service was auto started.
START_REPLY_ALREADY_RUNNING
Service was already running.
TIMEOUT_USE_DEFAULT
Use the default D-Bus timeout value for waiting for a reply.
TIMEOUT_INFINITE
Use an infinite timeout waiting for a reply.
BUS_SESSION
The SESSION D-bus bus.
BUS_SYSTEM
The SYSTEM D-bus bus.
BUS_STARTER
The STARTER D-bus bus.

Message Types

MESSAGE_TYPE_INVALID
This value is never a valid message type.
MESSAGE_TYPE_METHOD_CALL
Message type of a method call message.
MESSAGE_TYPE_METHOD_RETURN
Message type of a method return message.
MESSAGE_TYPE_ERROR
Message type of an error reply message.
MESSAGE_TYPE_SIGNAL
Message type of a signal message.

Message Handler Return Values

HANDLER_RESULT_HANDLED
The result to return in a message callback when a message has been handled.
HANDLER_RESULT_NOT_YET_HANDLED
The result to return in a message callback when a message cannot be handled.
HANDLER_RESULT_NEED_MEMORY
The result to return in a message callback when more memory is needed to process the message.

D-Bus Errors

ERROR_FAILED
A generic error; "something went wrong" - see the error message for more.
ERROR_NO_MEMORY
There was not enough memory to complete an operation.
ERROR_SERVICE_UNKNOWN
The bus doesn't know how to launch a service to supply the bus name you wanted.
ERROR_NAME_HAS_NO_OWNER
The bus name you referenced doesn't exist.
ERROR_NO_REPLY
No reply to a message expecting one, usually means a timeout occurred.
ERROR_IO_ERROR
Something went wrong reading or writing to a socket, for example.
ERROR_BAD_ADDRESS
A D-Bus bus address was malformed.
ERROR_NOT_SUPPORTED
Requested operation isn't supported (like ENOSYS on UNIX).
ERROR_LIMITS_EXCEEDED
Some limited resource is exhausted.
ERROR_ACCESS_DENIED
Security restrictions don't allow doing what you're trying to do.
ERROR_AUTH_FAILED
Authentication didn't work.
ERROR_NO_SERVER
Unable to connect to server (probably caused by ECONNREFUSED on a socket).
ERROR_TIMEOUT
Certain timeout errors, possibly ETIMEDOUT on a socket.
ERROR_NO_NETWORK
No network access (probably ENETUNREACH on a socket).
ERROR_ADDRESS_IN_USE
Can't bind a socket since its address is in use.
ERROR_DISCONNECTED
The connection is disconnected and you're trying to use it.
ERROR_INVALID_ARGS
Invalid arguments passed to a method call.
ERROR_FILE_NOT_FOUND
Missing file.
ERROR_FILE_EXISTS
Existing file and the operation you're using does not silently overwrite.
ERROR_UNKNOWN_METHOD
Method name you invoked isn't known by the object you invoked it on.
ERROR_UNKNOWN_OBJECT
Object you invoked a method on isn't known.
ERROR_UNKNOWN_INTERFACE
Interface you invoked a method on isn't known by the object.
ERROR_UNKNOWN_PROPERTY
Property you tried to access isn't known by the object.
ERROR_PROPERTY_READ_ONLY
Property you tried to set is read-only.
ERROR_TIMED_OUT
Certain timeout errors.
ERROR_MATCH_RULE_NOT_FOUND
Tried to remove or modify a match rule that didn't exist.
ERROR_MATCH_RULE_INVALID
The match rule isn't syntactically valid.
ERROR_SPAWN_EXEC_FAILED
While starting a new process, the exec() call failed.
ERROR_SPAWN_FORK_FAILED
While starting a new process, the fork() call failed.
ERROR_SPAWN_CHILD_EXITED
While starting a new process, the child exited with a status code.
ERROR_SPAWN_CHILD_SIGNALED
While starting a new process, the child exited on a signal.
ERROR_SPAWN_FAILED
While starting a new process, something went wrong.
ERROR_SPAWN_SETUP_FAILED
We failed to setup the environment correctly.
ERROR_SPAWN_CONFIG_INVALID
We failed to setup the config parser correctly.
ERROR_SPAWN_SERVICE_INVALID
Bus name was not valid.
ERROR_SPAWN_SERVICE_NOT_FOUND
Service file not found in system-services directory.
ERROR_SPAWN_PERMISSIONS_INVALID
Permissions are incorrect on the setuid helper.
ERROR_SPAWN_FILE_INVALID
Service file invalid (Name, User or Exec missing).
ERROR_SPAWN_NO_MEMORY
Tried to get a UNIX process ID and it wasn't available.
ERROR_UNIX_PROCESS_ID_UNKNOWN
Tried to get a UNIX process ID and it wasn't available.
ERROR_INVALID_SIGNATURE
A type signature is not valid.
ERROR_INVALID_FILE_CONTENT
A file contains invalid syntax or is otherwise broken.
ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN
Asked for SELinux security context and it wasn't available.
ERROR_ADT_AUDIT_DATA_UNKNOWN
Asked for ADT audit data and it wasn't available.
ERROR_OBJECT_PATH_IN_USE
There's already an object with the requested object path.
ERROR_INCONSISTENT_MESSAGE
The message meta data does not match the payload.
generated by LDoc 1.3