Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviate(String, int) - Static method in class org.freedesktop.dbus.utils.Util
-
Abbreviates a String using ellipses.
- AbstractConnection - Class in org.freedesktop.dbus.connections
-
Handles a connection to DBus.
- AbstractConnection(TransportConfig, ReceivingServiceConfig) - Constructor for class org.freedesktop.dbus.connections.AbstractConnection
- AbstractInputStreamMessageReader - Class in org.freedesktop.dbus.spi.message
-
Base class which can be used to implement a custom message reader.
- AbstractInputStreamMessageReader(SocketChannel, boolean) - Constructor for class org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader
- AbstractInterfacesAddedHandler - Class in org.freedesktop.dbus.handlers
-
Subclass this abstract class for creating a callback for InterfaceAdded signal provided by DBus ObjectManager.
- AbstractInterfacesAddedHandler() - Constructor for class org.freedesktop.dbus.handlers.AbstractInterfacesAddedHandler
- AbstractInterfacesRemovedHandler - Class in org.freedesktop.dbus.handlers
-
Subclass this abstract class for creating a callback for InterfaceRemoved signal provided by DBus ObjectManager.
- AbstractInterfacesRemovedHandler() - Constructor for class org.freedesktop.dbus.handlers.AbstractInterfacesRemovedHandler
- AbstractOutputStreamMessageWriter - Class in org.freedesktop.dbus.spi.message
-
Base class which can be used to implement a custom message writer.
- AbstractOutputStreamMessageWriter(SocketChannel, boolean) - Constructor for class org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter
- AbstractPropertiesChangedHandler - Class in org.freedesktop.dbus.handlers
-
Subclass this abstract class for creating a callback for changed properties.
- AbstractPropertiesChangedHandler() - Constructor for class org.freedesktop.dbus.handlers.AbstractPropertiesChangedHandler
- AbstractSignalHandlerBase<T extends DBusSignal> - Class in org.freedesktop.dbus.handlers
-
Base class for all signal handling classes.
- AbstractSignalHandlerBase() - Constructor for class org.freedesktop.dbus.handlers.AbstractSignalHandlerBase
- AbstractTransport - Class in org.freedesktop.dbus.connections.transports
-
Base class for all transport types.
- AbstractTransport(BusAddress, TransportConfig) - Constructor for class org.freedesktop.dbus.connections.transports.AbstractTransport
- AbstractUnixTransport - Class in org.freedesktop.dbus.connections.transports
- AbstractUnixTransport(BusAddress, TransportConfig) - Constructor for class org.freedesktop.dbus.connections.transports.AbstractUnixTransport
- access() - Element in annotation type org.freedesktop.dbus.annotations.DBusProperty
-
Property access type
- AccessDenied - Exception in org.freedesktop.dbus.errors
-
Thrown if a message is denied due to a security policy
- AccessDenied(String) - Constructor for exception org.freedesktop.dbus.errors.AccessDenied
- add(String) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- add(String, ExportedObject) - Method in class org.freedesktop.dbus.connections.FallbackContainer
- add(String, ExportedObject, String) - Method in class org.freedesktop.dbus.messages.ObjectTree
- addAll(Collection<? extends String>) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- addFallback(String, DBusInterface) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Export an object as a fallback object.
- addGenericSigHandler(DBusMatchRule, DBusSigHandler<DBusSignal>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Adds a
DBusMatchRule
to with a generic signal handler. - addGenericSigHandler(DBusMatchRule, DBusSigHandler<DBusSignal>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- addGenericSigHandler(DBusMatchRule, DBusSigHandler<DBusSignal>) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
- AddMatch(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- AddMatch(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Add a match rule.
- addParameter(String, String) - Method in class org.freedesktop.dbus.connections.BusAddress
-
Add a parameter to the address.
- AddressBuilder - Class in org.freedesktop.dbus.utils
- AddressResolvingException - Exception in org.freedesktop.dbus.exceptions
- AddressResolvingException(String) - Constructor for exception org.freedesktop.dbus.exceptions.AddressResolvingException
- addSigHandler(Class<T>, String, DBusInterface, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Add a Signal Handler.
- addSigHandler(Class<T>, String, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Add a Signal Handler.
- addSigHandler(Class<T>, DBusInterface, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Add a Signal Handler.
- addSigHandler(Class<T>, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Add a Signal Handler.
- addSigHandler(DBusMatchRule, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Add a signal handler with the given
DBusMatchRule
to DBus. - addSigHandler(DBusMatchRule, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Add a signal handler with the given
DBusMatchRule
to DBus. - addSigHandler(DBusMatchRule, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
- addSigHandlerWithoutMatch(Class<? extends DBusSignal>, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
- AGREE_UNIX_FD - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslCommand
- align(int, byte) - Method in class org.freedesktop.dbus.messages.Message
-
Align a counter to the given type.
- append(String, Object...) - Method in class org.freedesktop.dbus.messages.Message
-
Append a series of values to the message.
- appendbody(AbstractConnection) - Method in class org.freedesktop.dbus.messages.DBusSignal
- appendByte(byte) - Method in class org.freedesktop.dbus.messages.Message
-
Appends a byte to the buffer list.
- appendBytes(byte[]) - Method in class org.freedesktop.dbus.messages.Message
-
Appends a buffer to the buffer list.
- appendint(long, int) - Method in class org.freedesktop.dbus.messages.Message
-
Marshalls an integer of a given width and appends it to the message.
- applyXpathExpressionToDocument(String, Node) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Applys a xpathExpression to a xml-Document and return a
NodeList
with the results. - ARRAY - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- ARRAY_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- ArrayFrob - Class in org.freedesktop.dbus
- arraysVeryDeepString(Object[]) - Static method in class org.freedesktop.dbus.utils.LoggingHelper
-
Creates a toString() result for an array.
- ASYNC - Static variable in class org.freedesktop.dbus.DBusCallInfo
- ASYNC - Static variable in interface org.freedesktop.dbus.messages.Message.Flags
- auth(SocketChannel, AbstractTransport) - Method in class org.freedesktop.dbus.connections.SASL
-
Performs SASL auth on the given socketchannel.
- AUTH - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslCommand
- AUTH_ANON - Static variable in class org.freedesktop.dbus.connections.SASL
- AUTH_ANONYMOUS - Enum constant in enum org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
-
No authentication (allow everyone).
- AUTH_COOKIE - Enum constant in enum org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
-
Authentication using SHA Cookie.
- AUTH_EXTERNAL - Enum constant in enum org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
-
External authentication (e.g. by user ID).
- AUTH_EXTERNAL - Static variable in class org.freedesktop.dbus.connections.SASL
- AUTH_NONE - Static variable in class org.freedesktop.dbus.connections.SASL
- AUTH_SHA - Static variable in class org.freedesktop.dbus.connections.SASL
- AuthenticationException - Exception in org.freedesktop.dbus.exceptions
- AuthenticationException(String) - Constructor for exception org.freedesktop.dbus.exceptions.AuthenticationException
- AuthenticationException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.AuthenticationException
B
- back() - Method in class org.freedesktop.dbus.connections.config.SaslConfigBuilder
-
Return to the previous builder.
- back() - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Return to the previous builder.
- BaseConnectionBuilder<R extends BaseConnectionBuilder<R,
C>, C extends AbstractConnection> - Class in org.freedesktop.dbus.connections.impl -
Base class for connection builders containing commonly used options.
- BaseConnectionBuilder(Class<R>, BusAddress) - Constructor for class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
- BecomeMonitor(String[], UInt32) - Method in interface org.freedesktop.dbus.interfaces.Monitoring
-
Converts the connection into a monitor connection which can be used as a debugging/monitoring tool.
- BEGIN - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslCommand
- BIG - Static variable in interface org.freedesktop.dbus.messages.Message.Endian
- BOOLEAN - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- BOOLEAN_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- bottom() - Method in class org.freedesktop.dbus.types.UInt64
-
Least significant 4 bytes.
- build() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Returns the configured
ReceivingServiceConfig
instance. - build() - Method in class org.freedesktop.dbus.connections.config.SaslConfigBuilder
-
Returns the created configuration.
- build() - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Returns the transport config.
- build() - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
- build() - Method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Create the new
DBusConnection
. - build() - Method in class org.freedesktop.dbus.connections.impl.DirectConnectionBuilder
-
Create the new
DBusConnection
. - build() - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Create the transport with the previously provided configuration.
- buildThreadConfig() - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Creates the configuration to use for
ReceivingService
. - buildTransportConfig() - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Creates the configuration to use for
TransportBuilder
. - BusAddress - Class in org.freedesktop.dbus.connections
-
Defines an address to connect to DBus.
- BusAddress(String) - Constructor for class org.freedesktop.dbus.connections.BusAddress
-
Deprecated, for removal: This API element is subject to removal in a future version.Use BusAddress.of instead
- BusAddress(BusAddress) - Constructor for class org.freedesktop.dbus.connections.BusAddress
- BUSNAME_REGEX - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- BYTE - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- BYTE_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- byteValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a byte.
- byteValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a byte.
- byteValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a byte.
C
- CALL_TYPE_ASYNC - Static variable in class org.freedesktop.dbus.RemoteInvocationHandler
- CALL_TYPE_CALLBACK - Static variable in class org.freedesktop.dbus.RemoteInvocationHandler
- CALL_TYPE_SYNC - Static variable in class org.freedesktop.dbus.RemoteInvocationHandler
- CallbackHandler<T> - Interface in org.freedesktop.dbus.interfaces
-
Interface for callbacks in async mode
- callMethodAsync(DBusInterface, String, Object...) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Call a method asynchronously and get a handle with which to get the reply.
- callWithCallback(DBusInterface, String, CallbackHandler<A>, Object...) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Call a method asynchronously and set a callback.
- CANCEL - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslCommand
- changeThreadCount(byte) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.does nothing as threading has been changed significantly
- checkIntInRange(int, int, int) - Static method in class org.freedesktop.dbus.utils.Util
-
Checks if given value is greater or equal to the given minimum and less or equal to the given maximum.
- clear() - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- clear() - Method in class org.freedesktop.dbus.DBusMap
- clear() - Method in class org.freedesktop.dbus.StrongReference
- CLIENT - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslMode
- clientDisconnect() - Method in interface org.freedesktop.dbus.connections.IDisconnectCallback
-
Called when a client disconnected (only if this is a server/listening connection).
- close() - Method in class org.freedesktop.dbus.bin.DBusDaemon
- close() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Shutdown the running DBusDaemon instance.
- close() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Disconnect this session (for use in try-with-resources).
- close() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Same as disconnect.
- close() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- close() - Method in class org.freedesktop.dbus.connections.transports.TransportConnection
- close() - Method in class org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader
- close() - Method in class org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter
- collectionContainsAny(Collection<T>, Collection<T>) - Static method in class org.freedesktop.dbus.utils.Util
-
Checks if any of the 'needle' values are found in 'haystack'.
- Command() - Constructor for class org.freedesktop.dbus.connections.SASL.Command
- Command(String) - Constructor for class org.freedesktop.dbus.connections.SASL.Command
- CommonRegexPattern - Class in org.freedesktop.dbus.utils
-
Utility class containing commonly used regular expression patterns.
- compareTo(DBusPath) - Method in class org.freedesktop.dbus.DBusPath
- compareTo(UInt16) - Method in class org.freedesktop.dbus.types.UInt16
-
Compare two UInt16s.
- compareTo(UInt32) - Method in class org.freedesktop.dbus.types.UInt32
-
Compare two UInt32s.
- compareTo(UInt64) - Method in class org.freedesktop.dbus.types.UInt64
-
Compare two UInt32s.
- configure() - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Returns the configuration builder to configure the transport.
- configureSasl() - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Switch to the
SaslConfigBuilder
to configure the SASL authentication mechanism.
UseSaslConfigBuilder.back()
to return to this builder when finished. - connect() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Connects the underlying transport if it is not already connected.
- connect() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Establish connection on created transport.
- connectImpl() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Abstract method implemented by concrete sub classes to establish a connection using whatever transport type (e.g.
- connectionConfig() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Returns the used ConnectionBuilder for the connection for further configuration.
- CONNID_REGEX - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- CONST - Enum constant in enum org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
- Container - Class in org.freedesktop.dbus
-
This class is the super class of both Structs and Tuples and holds common methods.
- contains(Object) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- containsAll(Collection<?>) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- containsKey(Object) - Method in class org.freedesktop.dbus.DBusMap
- containsValue(Object) - Method in class org.freedesktop.dbus.DBusMap
- CONTINUE - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslResult
- convert(Object, Class<? extends Object>) - Static method in class org.freedesktop.dbus.ArrayFrob
- convertAuthTypes(int) - Method in class org.freedesktop.dbus.connections.SASL
- convertParameters(Object[], Type[], AbstractConnection) - Static method in class org.freedesktop.dbus.Marshalling
-
Recursively converts types for serialization onto DBus.
- convertRV(String, Object[], Method, AbstractConnection) - Static method in class org.freedesktop.dbus.RemoteInvocationHandler
- convertToAttributeMap(NamedNodeMap) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Converts
NamedNodeMap
to aLinkedHashMap
<String,String>. - convertToElementList(NodeList) - Static method in class org.freedesktop.dbus.utils.XmlUtil
- convertToStructCollection(Collection<Object[]>, Class<T>, Collection<T>) - Static method in class org.freedesktop.dbus.StructHelper
-
Creates a collection of struct of the given type using the list of object arrays.
- convertToStructList(List<Object[]>, Class<T>) - Static method in class org.freedesktop.dbus.StructHelper
-
Creates a
ArrayList
of struct of the given type using the list of object arrays. - convertToStructSet(Set<Object[]>, Class<T>) - Static method in class org.freedesktop.dbus.StructHelper
-
Creates a
LinkedHashSet
of struct of the given type using the list of object arrays. - COOKIE_CONTEXT - Static variable in class org.freedesktop.dbus.connections.SASL
- COOKIE_TIMEOUT - Static variable in class org.freedesktop.dbus.connections.SASL
- create() - Static method in class org.freedesktop.dbus.connections.config.SaslConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.only intended for internal backward compatibility, will be removed soon
- create() - Static method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Creates a new
TransportBuilder
instance using a empty transport configuration. - create(String) - Static method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Creates a new
TransportBuilder
instance with the given address. - create(BusAddress) - Static method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Creates a new
TransportBuilder
instance with the given address. - create(TransportConfig) - Static method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Creates a new
TransportBuilder
instance using the given configuration. - createDynamicSession(String, boolean) - Static method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Creates a new dynamic bus address for the given bus type.
- createDynamicSessionAddress(boolean) - Method in interface org.freedesktop.dbus.spi.transport.ITransportProvider
-
Creates a new (dynamic) session for this transport.
- createDynamicSessionAddress(boolean, boolean) - Static method in class org.freedesktop.dbus.utils.Util
-
Creates a unix socket address using.
- createHeaderArgs(byte, String, Object) - Method in class org.freedesktop.dbus.messages.Message
-
Creates a message header.
- createMessage(byte, byte[], byte[], byte[], List<FileDescriptor>) - Static method in class org.freedesktop.dbus.messages.MessageFactory
- createReader(SocketChannel) - Method in interface org.freedesktop.dbus.spi.message.ISocketProvider
-
Method to create a
IMessageReader
implementation. - createReal(AbstractConnection) - Method in class org.freedesktop.dbus.messages.DBusSignal
-
Called to create signal objects for object handlers.
- createStruct(Class<?>[], Object, Class<T>) - Static method in class org.freedesktop.dbus.StructHelper
-
Will create a new
Struct
subclass instance if possible. - createStructFromVariant(Variant<?>, Class<T>) - Static method in class org.freedesktop.dbus.StructHelper
-
Creates a instance of the given
Struct
subclass if the given variant is some sort of Struct. - createTransport(BusAddress, int) - Method in interface org.freedesktop.dbus.spi.transport.ITransportProvider
-
Deprecated, for removal: This API element is subject to removal in a future version.just used for compatibility will be removed in the future. Please use
ITransportProvider.createTransport(BusAddress, TransportConfig)
. - createTransport(BusAddress, TransportConfig) - Method in interface org.freedesktop.dbus.spi.transport.ITransportProvider
-
Creates a new instance of this transport service using the given bus address.
- createWithDynamicSession(String) - Static method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Creates a new
TransportBuilder
with a dynamically created address. - createWriter(SocketChannel) - Method in interface org.freedesktop.dbus.spi.message.ISocketProvider
-
Method to create a
IMessageWriter
implementation.
D
- DATA - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslCommand
- DBus - Interface in org.freedesktop.dbus.interfaces
- DBUS_IFACE_PATTERN - Static variable in class org.freedesktop.dbus.utils.CommonRegexPattern
- DBUS_MACHINE_ID_SYS_VAR - Static variable in class org.freedesktop.dbus.config.DBusSysProps
- DBUS_NAME_FLAG_ALLOW_REPLACEMENT - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_NAME_FLAG_DO_NOT_QUEUE - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_NAME_FLAG_REPLACE_EXISTING - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_RELEASE_NAME_REPLY_NON_EXISTANT - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_RELEASE_NAME_REPLY_NOT_OWNER - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_RELEASE_NAME_REPLY_RELEASED - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_REQUEST_NAME_REPLY_EXISTS - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_REQUEST_NAME_REPLY_IN_QUEUE - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_SESSION_BUS_ADDRESS - Static variable in class org.freedesktop.dbus.config.DBusSysProps
- DBUS_SESSION_BUS_ADDRESS - Static variable in class org.freedesktop.dbus.utils.AddressBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.Constant has been moved to
DBusSysProps
. - DBUS_SESSION_BUS_ADDRESS_MACOS - Static variable in class org.freedesktop.dbus.config.DBusSysProps
- DBUS_START_REPLY_ALREADY_RUNNING - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_START_REPLY_SUCCESS - Static variable in interface org.freedesktop.dbus.interfaces.DBus
- DBUS_SYSTEM_BUS_ADDRESS - Static variable in class org.freedesktop.dbus.config.DBusSysProps
- DBUS_SYSTEM_BUS_ADDRESS - Static variable in class org.freedesktop.dbus.utils.AddressBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.Constant has been moved to
DBusSysProps
. - DBus.NameAcquired - Class in org.freedesktop.dbus.interfaces
-
Signal sent to a connection when it acquires a name.
- DBus.NameLost - Class in org.freedesktop.dbus.interfaces
-
Signal sent to a connection when it loses a name.
- DBus.NameOwnerChanged - Class in org.freedesktop.dbus.interfaces
-
Signal sent when the owner of a name changes
- DBusAsyncReply<T> - Class in org.freedesktop.dbus
-
A handle to an asynchronous method call.
- DBusAsyncReply(MethodCall, Method, AbstractConnection) - Constructor for class org.freedesktop.dbus.DBusAsyncReply
- DBusCallInfo - Class in org.freedesktop.dbus
-
Holds information on a method call
- DBusCallInfo(Message) - Constructor for class org.freedesktop.dbus.DBusCallInfo
- DBusConnection - Class in org.freedesktop.dbus.connections.impl
-
Handles a connection to DBus.
- DBusConnection.DBusBusType - Enum in org.freedesktop.dbus.connections.impl
- DBusConnectionBuilder - Class in org.freedesktop.dbus.connections.impl
-
Builder to create a new DBusConnection.
- DBusConnectionException - Exception in org.freedesktop.dbus.exceptions
-
Thrown when something goes wrong with the connection to DBus.
- DBusConnectionException() - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(String) - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(String, Throwable, boolean, boolean) - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusDaemon - Class in org.freedesktop.dbus.bin
-
A replacement DBusDaemon
- DBusDaemon(AbstractTransport) - Constructor for class org.freedesktop.dbus.bin.DBusDaemon
- DBusDaemon.ConnectionStruct - Class in org.freedesktop.dbus.bin
- DBusDaemon.DBusDaemonReaderThread - Class in org.freedesktop.dbus.bin
- DBusDaemon.DBusDaemonSenderThread - Class in org.freedesktop.dbus.bin
- DBusDaemon.DBusServer - Class in org.freedesktop.dbus.bin
- DBusDaemonReaderThread(DBusDaemon.ConnectionStruct) - Constructor for class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonReaderThread
- DBusDaemonSenderThread() - Constructor for class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonSenderThread
- DBusException - Exception in org.freedesktop.dbus.exceptions
-
An exception within DBus.
- DBusException() - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
- DBusException(String) - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
-
Create an exception with the specified message
- DBusException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
- DBusException(String, Throwable, boolean, boolean) - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
- DBusException(Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
- DBusExecutionException - Exception in org.freedesktop.dbus.exceptions
-
An exception while running a remote method within DBus.
- DBusExecutionException(String) - Constructor for exception org.freedesktop.dbus.exceptions.DBusExecutionException
-
Create an exception with the specified message
- DBusIgnore - Annotation Type in org.freedesktop.dbus.annotations
-
Mark an exported method as ignored.
It will not be included in introspection data, and it will not be remotely callable. - DBusInterface - Interface in org.freedesktop.dbus.interfaces
-
Denotes a class as exportable or a remote interface which can be called.
- DBusInterfaceName - Annotation Type in org.freedesktop.dbus.annotations
-
Force the interface name to be different to the Java class name.
- DBusListType - Class in org.freedesktop.dbus.types
-
The type of a list.
- DBusListType(Type) - Constructor for class org.freedesktop.dbus.types.DBusListType
-
Create a List type.
- DBusMap<K,
V> - Class in org.freedesktop.dbus - DBusMap(Object[][]) - Constructor for class org.freedesktop.dbus.DBusMap
- DBusMapType - Class in org.freedesktop.dbus.types
-
The type of a map.
- DBusMapType(Type, Type) - Constructor for class org.freedesktop.dbus.types.DBusMapType
-
Create a map type.
- DBusMatchRule - Class in org.freedesktop.dbus
-
Defined a rule to match a message.
This is mainly used to handle / take actions when signals arrive. - DBusMatchRule(Class<? extends Object>) - Constructor for class org.freedesktop.dbus.DBusMatchRule
- DBusMatchRule(Class<? extends Object>, String, String) - Constructor for class org.freedesktop.dbus.DBusMatchRule
- DBusMatchRule(Class<? extends DBusInterface>, String) - Constructor for class org.freedesktop.dbus.DBusMatchRule
- DBusMatchRule(String, String, String) - Constructor for class org.freedesktop.dbus.DBusMatchRule
- DBusMatchRule(String, String, String, String) - Constructor for class org.freedesktop.dbus.DBusMatchRule
- DBusMatchRule(DBusExecutionException) - Constructor for class org.freedesktop.dbus.DBusMatchRule
- DBusMatchRule(Message) - Constructor for class org.freedesktop.dbus.DBusMatchRule
- DBusMemberName - Annotation Type in org.freedesktop.dbus.annotations
-
Force the member (method/signal) name on the bus to be different to the Java name.
- DBusNamingUtil - Class in org.freedesktop.dbus.utils
-
DBus name Util class for internal and external use.
- DBusPath - Class in org.freedesktop.dbus
- DBusPath(String) - Constructor for class org.freedesktop.dbus.DBusPath
- DBusProperties - Annotation Type in org.freedesktop.dbus.annotations
-
Container for the multiple
DBusProperty
annotations in the single class. - DBusProperty - Annotation Type in org.freedesktop.dbus.annotations
-
Appends information about properties in the interface.
- DBusProperty.Access - Enum in org.freedesktop.dbus.annotations
- DBusSerializable - Interface in org.freedesktop.dbus.interfaces
-
Custom classes may be sent over DBus if they implement this interface.
- DBusServer() - Constructor for class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- DBusSigHandler<T extends DBusSignal> - Interface in org.freedesktop.dbus.interfaces
-
Handle a signal on DBus.
- DBusSignal - Class in org.freedesktop.dbus.messages
- DBusSignal(String, Object...) - Constructor for class org.freedesktop.dbus.messages.DBusSignal
-
Create a new signal.
- DBusSignal(String, String, String, String, String, Object...) - Constructor for class org.freedesktop.dbus.messages.DBusSignal
- DBusStructType - Class in org.freedesktop.dbus.types
-
The type of a struct.
- DBusStructType(Type...) - Constructor for class org.freedesktop.dbus.types.DBusStructType
-
Create a struct type.
- DBusSysProps - Class in org.freedesktop.dbus.config
-
Constant class containing all properties supported as system properties.
- DEFAULT_HANDLER_RETRIES - Static variable in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
- DEFAULT_SYSTEM_BUS_ADDRESS - Static variable in class org.freedesktop.dbus.config.DBusSysProps
- DEFAULT_SYSTEM_BUS_ADDRESS - Static variable in class org.freedesktop.dbus.utils.AddressBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.Constant has been moved to
DBusSysProps
. - delist(List<T>, Class<T>) - Static method in class org.freedesktop.dbus.ArrayFrob
- delistprimitive(List<T>, Class<T>) - Static method in class org.freedesktop.dbus.ArrayFrob
- demarshallint(byte[], int, byte, int) - Static method in class org.freedesktop.dbus.messages.Message
-
Demarshalls an integer of a given width from a buffer.
- demarshallint(byte[], int, int) - Method in class org.freedesktop.dbus.messages.Message
-
Demarshalls an integer of a given width from a buffer.
- demarshallintBig(byte[], int, int) - Static method in class org.freedesktop.dbus.messages.Message
-
Demarshalls an integer of a given width from a buffer using big-endian format.
- demarshallintLittle(byte[], int, int) - Static method in class org.freedesktop.dbus.messages.Message
-
Demarshalls an integer of a given width from a buffer using little-endian format.
- DeprecatedOnDBus - Annotation Type in org.freedesktop.dbus.annotations
-
Indicates that a DBus interface or method is deprecated
- deSerializeParameters(Object[], Type[], AbstractConnection) - Static method in class org.freedesktop.dbus.Marshalling
- DESTINATION - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- DICT_ENTRY - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY1 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY1_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY2 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY2_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DirectConnection - Class in org.freedesktop.dbus.connections.impl
-
Handles a peer to peer connection between two applications without a bus daemon.
- DirectConnection(String) - Constructor for class org.freedesktop.dbus.connections.impl.DirectConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.
- DirectConnection(String, int) - Constructor for class org.freedesktop.dbus.connections.impl.DirectConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.
- DirectConnectionBuilder - Class in org.freedesktop.dbus.connections.impl
-
Builder to create a new DirectConnection.
- disconnect() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Disconnect from the Bus.
- disconnect() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Disconnect from the Bus.
- disconnect(IDisconnectAction, IDisconnectAction) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Special disconnect method which may be used whenever some cleanup before or after disconnection to DBus is required.
- disconnectOnError(IOException) - Method in interface org.freedesktop.dbus.connections.IDisconnectCallback
-
Called when the connection is closed due to a connection error (e.g. stream closed).
- DOLLAR_PATTERN - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- DOUBLE - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DOUBLE_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- doubleValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a double.
- doubleValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a double.
- doubleValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a double.
- dynamicProxy(String, String, Class<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Tries to resolve a proxy to a remote object.
E
- EmbeddedDBusDaemon - Class in org.freedesktop.dbus.bin
-
Simple DBusDaemon implementation to use if no DBusDaemon is running on the OS level.
- EmbeddedDBusDaemon(String) - Constructor for class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
- EmbeddedDBusDaemon(BusAddress) - Constructor for class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
- enqueue() - Method in class org.freedesktop.dbus.StrongReference
- entrySet() - Method in class org.freedesktop.dbus.DBusMap
- equals(Object) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- equals(Object) - Method in class org.freedesktop.dbus.Container
- equals(Object) - Method in class org.freedesktop.dbus.DBusMap
- equals(Object) - Method in class org.freedesktop.dbus.DBusMatchRule
- equals(Object) - Method in class org.freedesktop.dbus.DBusPath
- equals(Object) - Method in class org.freedesktop.dbus.MethodTuple
- equals(Object) - Method in class org.freedesktop.dbus.RemoteObject
- equals(Object) - Method in class org.freedesktop.dbus.SignalTuple
-
Deprecated.
- equals(Object) - Method in class org.freedesktop.dbus.types.UInt16
-
Test two UInt16s for equality.
- equals(Object) - Method in class org.freedesktop.dbus.types.UInt32
-
Test two UInt32s for equality.
- equals(Object) - Method in class org.freedesktop.dbus.types.UInt64
-
Test two UInt64s for equality.
- equals(Object) - Method in class org.freedesktop.dbus.types.Variant
-
Compare this Variant with another by comparing contents.
- error(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerQuiet
- error(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- Error - Class in org.freedesktop.dbus.errors
-
Error messages which can be sent over the bus.
- Error - Interface in org.freedesktop.dbus.interfaces
-
Contains standard errors that can be thrown from methods.
- Error() - Constructor for class org.freedesktop.dbus.errors.Error
- Error(String, String, long, String, Object...) - Constructor for class org.freedesktop.dbus.errors.Error
- Error(String, String, String, long, String, Object...) - Constructor for class org.freedesktop.dbus.errors.Error
- Error(String, Message, Throwable) - Constructor for class org.freedesktop.dbus.errors.Error
- Error(Message, Throwable) - Constructor for class org.freedesktop.dbus.errors.Error
- ERROR - Enum constant in enum org.freedesktop.dbus.connections.ReceivingService.ExecutorNames
- ERROR - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslCommand
- ERROR - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslResult
- ERROR - Static variable in interface org.freedesktop.dbus.messages.Message.MessageType
- ERROR_NAME - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- EXCEPTION_EXTRACT_PATTERN - Static variable in class org.freedesktop.dbus.utils.CommonRegexPattern
- EXCEPTION_PARTIAL_PATTERN - Static variable in class org.freedesktop.dbus.utils.CommonRegexPattern
- exceptionOnTerminate(IOException) - Method in interface org.freedesktop.dbus.connections.IDisconnectCallback
-
Called when the transport throws an exception while connection was already terminating.
- executeRemoteMethod(RemoteObject, Method, AbstractConnection, int, CallbackHandler<?>, Object...) - Static method in class org.freedesktop.dbus.RemoteInvocationHandler
- EXPIRE_KEYS_TIMEOUT_SECONDS - Static variable in class org.freedesktop.dbus.connections.SASL
- ExportedObject - Class in org.freedesktop.dbus.messages
- ExportedObject(DBusInterface, boolean) - Constructor for class org.freedesktop.dbus.messages.ExportedObject
- exportObject(String, DBusInterface) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Export an object so that its methods can be called on DBus.
- exportObject(DBusInterface) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Export an object so that its methods can be called on DBus.
- extract(String, byte[], int) - Method in class org.freedesktop.dbus.messages.Message
-
Demarshall values from a buffer.
- extract(String, byte[], int[]) - Method in class org.freedesktop.dbus.messages.Message
-
Demarshall values from a buffer.
F
- FallbackContainer - Class in org.freedesktop.dbus.connections
- FALSE - Enum constant in enum org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
- FatalDBusException - Exception in org.freedesktop.dbus.exceptions
- FatalDBusException(String) - Constructor for exception org.freedesktop.dbus.exceptions.FatalDBusException
- FatalDBusException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.FatalDBusException
- FatalDBusException(Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.FatalDBusException
- fatalError(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerQuiet
- fatalError(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- FatalException - Interface in org.freedesktop.dbus.interfaces
- Features - Interface in org.freedesktop.dbus.interfaces
- FileDescriptor - Class in org.freedesktop.dbus
-
Represents a FileDescriptor to be passed over the bus.
- FileDescriptor(int) - Constructor for class org.freedesktop.dbus.FileDescriptor
- FileDescriptor(FileDescriptor) - Constructor for class org.freedesktop.dbus.FileDescriptor
- FILEDESCRIPTOR - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- FILEDESCRIPTOR_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- findMatchingTypes(Class<T>, List<String>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
If given type is null, will try to find suitable types by examining the given ifaces.
- FLOAT - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- FLOAT_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- FLOAT_SUPPORT - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- floatValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a float.
- floatValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a float.
- floatValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a float.
- forAddress(String) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Use the given address to create the connection (e.g. used for remote TCP connected DBus daemons).
- forAddress(String) - Static method in class org.freedesktop.dbus.connections.impl.DirectConnectionBuilder
-
Use the given address to create the connection (e.g. used for remote TCP connected DBus daemons).
- forAddress(BusAddress) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Use the given address to create the connection (e.g. used for remote TCP connected DBus daemons).
- format(byte[]) - Static method in class org.freedesktop.dbus.utils.Hexdump
- format(byte[], int) - Static method in class org.freedesktop.dbus.utils.Hexdump
- format(long) - Method in interface org.freedesktop.dbus.utils.TimeMeasure.ITimeMeasureFormat
- forSessionBus() - Static method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Create a new default connection connecting to the DBus session bus.
- forSessionBus(String) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Create a new default connection connecting to DBus session bus but use an alternative input for the machineID.
- forSystemBus() - Static method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Create new default connection to the DBus system bus.
- forType(DBusConnection.DBusBusType) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Create a default connection to DBus using the given bus type.
- forType(DBusConnection.DBusBusType, String) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Create a default connection to DBus using the given bus type and machineIdFile.
G
- generateAnnotationsXml(AnnotatedElement) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data xml for annotations
- generateMethodsXml(Class<?>) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data for the input interface methods
- generatePropertiesXml(Class<?>) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data for the input interface properties.
- generatePropertyXml(DBusProperty) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data for the single property.
- generateSignalsXml(Class<?>) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data for the input interface signals
- genGUID() - Static method in class org.freedesktop.dbus.utils.Util
-
Create a random GUID (used for connection addresses).
- get() - Method in class org.freedesktop.dbus.StrongReference
- get() - Method in interface org.freedesktop.dbus.utils.IThrowingSupplier
-
Returns the result of the supplier or throws an exception.
- get(Object) - Method in class org.freedesktop.dbus.DBusMap
- get(String) - Method in class org.freedesktop.dbus.connections.FallbackContainer
- Get(String, String) - Method in interface org.freedesktop.dbus.interfaces.Properties
-
Get the value for the given property.
- getAccessName() - Method in enum org.freedesktop.dbus.annotations.DBusProperty.Access
- getActualTypeArguments() - Method in class org.freedesktop.dbus.types.DBusListType
- getActualTypeArguments() - Method in class org.freedesktop.dbus.types.DBusMapType
- getActualTypeArguments() - Method in class org.freedesktop.dbus.types.DBusStructType
- getAdditionalConfig() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getAddress() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Returns the address this connection is connected to.
- getAddress() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Returns the
BusAddress
used for this transport. - getAddress() - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
The currently configured BusAddress.
- GetAdtAuditSessionData(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetAdtAuditSessionData(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
- getAlignment(byte) - Static method in class org.freedesktop.dbus.messages.Message
-
Return the alignment for a given type.
- GetAll(String) - Method in interface org.freedesktop.dbus.interfaces.Properties
-
Get all properties and values.
- getAllPossibleTuples(String, String, String, String) - Static method in class org.freedesktop.dbus.SignalTuple
-
Deprecated.should no longer be used
- getAnnotationName(Class<? extends Annotation>) - Static method in class org.freedesktop.dbus.utils.DBusNamingUtil
-
Get DBus name for specified annotation class
- getAuthMode() - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- getAuthMode() - Method in enum org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
- getBusAddress() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getBusAddress() - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Returns the currently configured BusAddress.
- getBusName() - Method in class org.freedesktop.dbus.RemoteObject
- getBusType() - Method in class org.freedesktop.dbus.connections.BusAddress
-
Returns the transport type in uppercase.
- getByteCounter() - Method in class org.freedesktop.dbus.messages.Message
- getCachedSignalType(String) - Static method in class org.freedesktop.dbus.DBusMatchRule
- getCall() - Method in class org.freedesktop.dbus.DBusAsyncReply
- getCall() - Method in class org.freedesktop.dbus.messages.MethodReturn
- getCallback(MethodCall) - Method in class org.freedesktop.dbus.connections.PendingCallbackManager
- getCallbackReply(MethodCall) - Method in class org.freedesktop.dbus.connections.PendingCallbackManager
- getCallInfo() - Static method in class org.freedesktop.dbus.connections.AbstractConnection
-
Returns a structure with information on the current method call.
- getChannel() - Method in class org.freedesktop.dbus.connections.transports.TransportConnection
- getCommand() - Method in class org.freedesktop.dbus.connections.SASL.Command
- getConnection() - Method in class org.freedesktop.dbus.DBusAsyncReply
- getConnection(String) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getConnection(String, boolean, boolean) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getConnection(String, boolean, boolean, int) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getConnection(DBusConnection.DBusBusType) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getConnection(DBusConnection.DBusBusType, boolean, int) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.
- GetConnectionCredentials(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetConnectionCredentials(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
DBUS Specification:
Returns as many credentials as possible for the process connected to the server. - GetConnectionSELinuxSecurityContext(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetConnectionSELinuxSecurityContext(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
- GetConnectionUnixProcessID(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetConnectionUnixProcessID(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Returns the proccess ID associated with a connection.
- GetConnectionUnixUser(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetConnectionUnixUser(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Get the Unix UID that owns a connection name.
- getCurrentUser() - Static method in class org.freedesktop.dbus.utils.Util
-
Determines the current logged on user.
- getData() - Method in class org.freedesktop.dbus.connections.SASL.Command
- getDBusInterfaces(Class<?>) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Get all valid DBus interfaces which are implemented in a given class.
- getDbusMachineId(String) - Static method in class org.freedesktop.dbus.utils.AddressBuilder
-
Extracts the machine-id usually found on Linux in various system directories, or generate a fake id for non-Linux platforms.
- getDBusType(Type) - Static method in class org.freedesktop.dbus.Marshalling
-
Will return the DBus type corresponding to the given Java type.
- getDBusType(Type[]) - Static method in class org.freedesktop.dbus.Marshalling
-
Will return the DBus type corresponding to the given Java type.
- getDBusType(Type, boolean) - Static method in class org.freedesktop.dbus.Marshalling
-
Will return the DBus type corresponding to the given Java type.
- getDefaultConfig() - Static method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Returns the default configuration used for
ReceivingService
. - getDefaultRetryHandler() - Static method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Returns the default retry handler used for
ReceivingService
. - getDescription() - Method in enum org.freedesktop.dbus.connections.ReceivingService.ExecutorNames
- getDestination() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns the name with which we were addressed on the Bus.
- getDestination() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the destination of the message.
- getDisconnectCallback() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Returns the currently configured disconnect callback.
- getDisconnectCallback() - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
- getElapsed() - Method in class org.freedesktop.dbus.utils.TimeMeasure
-
Returns the elapsed time in milliseconds.
- getElapsedAndReset() - Method in class org.freedesktop.dbus.utils.TimeMeasure
- getElapsedFormatted(DateFormat) - Method in class org.freedesktop.dbus.utils.TimeMeasure
-
Formats the elapsed time using the given dateFormatter.
- getElapsedSeconds() - Method in class org.freedesktop.dbus.utils.TimeMeasure
-
Returns the elapsed time in seconds.
- getEndianess() - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
- getEndianess() - Method in class org.freedesktop.dbus.messages.Message
- getEndianness() - Static method in class org.freedesktop.dbus.connections.AbstractConnection
-
Get current endianness to use.
- getError() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Return any DBus error which has been received.
- getErrorThreadPoolSize() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfig
- getErrorThreadPriority() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfig
- getException() - Method in class org.freedesktop.dbus.errors.Error
-
Turns this into an exception of the correct type
- getExportedObject(String, String) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Retrieves an remote object using source and path.
- getExportedObject(String, String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- getExportedObject(String, String) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
- getExportedObject(String, String, Class<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Retrieves an remote object using source and path.
- getExportedObject(String, String, Class<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- getExportedObject(String, String, Class<T>) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
- getExportedObject(DBusInterface) - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getExportedObjects() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getFiledescriptors() - Method in class org.freedesktop.dbus.messages.Message
- getFileGroup() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getFileOwner() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getFileUnixPermissions() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getFlags() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns any flags set on this method call.
- getFlags() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the message flags.
- getGenericHandledSignals() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getGuid() - Method in class org.freedesktop.dbus.connections.BusAddress
- getGuid() - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- getHandledSignals() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getHeader() - Method in class org.freedesktop.dbus.messages.Message
- getHeader(byte) - Method in class org.freedesktop.dbus.messages.Message
-
Returns the value of the header field of a given field.
- getHeaderFieldName(byte) - Static method in class org.freedesktop.dbus.messages.Message
-
Returns the name of the given header field.
- getHeaders() - Method in class org.freedesktop.dbus.messages.Message
-
Deprecated, for removal: This API element is subject to removal in a future version.use getHeader(). This method did return a map containing message header. It allows changing the map, but changes did not result in changing the actual message header. Therefore using a map was removed and an object array is used instead. Changes to that array (content) will be result in a changed header in the message.
- getHostName() - Static method in class org.freedesktop.dbus.utils.Util
-
Gets the host name of the local machine.
- getId() - Method in class org.freedesktop.dbus.connections.transports.TransportConnection
- GetId() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetId() - Method in interface org.freedesktop.dbus.interfaces.DBus
-
DBUS Specification:
Gets the unique ID of the bus. - getImplementationClass() - Method in class org.freedesktop.dbus.handlers.AbstractInterfacesAddedHandler
- getImplementationClass() - Method in class org.freedesktop.dbus.handlers.AbstractInterfacesRemovedHandler
- getImplementationClass() - Method in class org.freedesktop.dbus.handlers.AbstractPropertiesChangedHandler
- getImplementationClass() - Method in class org.freedesktop.dbus.handlers.AbstractSignalHandlerBase
-
Signal-Class which is implemented in subclasses of this class.
- getImportedObjects() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getInterface() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns the interface this method was called with.
- getInterface() - Method in class org.freedesktop.dbus.DBusMatchRule
- getInterface() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the interface of the message.
- getInterface() - Method in class org.freedesktop.dbus.RemoteObject
- getInterfaceName() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
-
Get name of the interface created this signal (e.g. org.bluez.Adapter1).
- getInterfaceName(Class<?>) - Static method in class org.freedesktop.dbus.utils.DBusNamingUtil
-
Get DBus interface name for specified interface class
- getInterfaces() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
-
Returns the added interfaces.
- getInterfaces() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
-
Returns list of removed DBus interfaces (like org.bluez.Device1).
- getIntFileDescriptor() - Method in class org.freedesktop.dbus.FileDescriptor
- getIntrospectiondata() - Method in class org.freedesktop.dbus.messages.ExportedObject
- getJavaType(String, List<Type>, int) - Static method in class org.freedesktop.dbus.Marshalling
-
Converts a dbus type string into Java Type objects,
- getJavaVersion() - Static method in class org.freedesktop.dbus.utils.Util
-
Get the java version of the current running JRE.
- getListenerAddress() - Method in class org.freedesktop.dbus.connections.BusAddress
-
Creates a listening BusAddress if this instance is not already listening.
- getLogger() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Get the logger in subclasses.
- getLogger() - Method in class org.freedesktop.dbus.MethodTuple
- getMachineId() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
The generated UUID of this machine.
- getMachineId() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- getMachineId() - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
- GetMachineId() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetMachineId() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- GetMachineId() - Method in interface org.freedesktop.dbus.interfaces.Peer
- GetManagedObjects() - Method in interface org.freedesktop.dbus.interfaces.ObjectManager
-
Get a sub-tree of objects.
- getMechs() - Method in class org.freedesktop.dbus.connections.SASL.Command
- getMember() - Method in class org.freedesktop.dbus.DBusMatchRule
- getMethod() - Method in class org.freedesktop.dbus.DBusAsyncReply
- getMethod() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns the method name used to call this method.
- getMethodCallThreadPoolSize() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfig
- getMethodCallThreadPriority() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfig
- getMethodName(Method) - Static method in class org.freedesktop.dbus.utils.DBusNamingUtil
-
Get DBus method name for specified method object.
- getMethodReturnThreadPoolSize() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfig
- getMethodReturnThreadPriority() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfig
- getMethods() - Method in class org.freedesktop.dbus.messages.ExportedObject
- getMode() - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- getName() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the member name or error name this message represents.
- getName() - Method in class org.freedesktop.dbus.MethodTuple
- GetNameOwner(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetNameOwner(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Get the connection unique name that owns the given name.
- getNames() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Returns all the names owned by this connection.
- getObject() - Method in class org.freedesktop.dbus.DBusMatchRule
- getObject() - Method in class org.freedesktop.dbus.messages.ExportedObject
- getObjectPath() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- getObjectPath() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- getObjectPath() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns the object path used to call this method.
- getObjectPath() - Method in interface org.freedesktop.dbus.interfaces.DBusInterface
-
Returns the path of this object.
- getObjectPath() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- getObjectPath() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- getObjectPath() - Method in class org.freedesktop.dbus.RemoteObject
- getObjectTree() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getOutgoingQueue() - Method in class org.freedesktop.dbus.connections.SenderThread
-
Deprecated.
- getOwnerType() - Method in class org.freedesktop.dbus.types.DBusListType
- getOwnerType() - Method in class org.freedesktop.dbus.types.DBusMapType
- getOwnerType() - Method in class org.freedesktop.dbus.types.DBusStructType
- getParameters() - Method in class org.freedesktop.dbus.connections.BusAddress
-
Deprecated, for removal: This API element is subject to removal in a future version.will be removed in future, use
BusAddress.getParameterValue(String)
orBusAddress.hasParameter(String)
- getParameters() - Method in class org.freedesktop.dbus.Container
-
Returns the struct contents in order.
- getParameters() - Method in class org.freedesktop.dbus.messages.Message
-
Parses and returns the parameters to this message as an Object array.
- getParameterValue(String) - Method in class org.freedesktop.dbus.connections.BusAddress
-
Returns a the value of the given parameter.
- getParameterValue(String, String) - Method in class org.freedesktop.dbus.connections.BusAddress
-
Returns a the value of the given parameter.
- getPath() - Method in class org.freedesktop.dbus.DBusPath
- getPath() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the object path of the message.
- getPeerRemoteObject(String, String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getPeerRemoteObject(String, String, Class<I>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- getPeerRemoteObject(String, String, Class<I>, boolean) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getPendingCalls() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getPendingErrorQueue() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getPreConnectCallback() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getPrimitiveToWrapperTypes() - Static method in class org.freedesktop.dbus.ArrayFrob
- getPropertiesChanged() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
-
Return the changed properties.
- getPropertiesRemoved() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
-
Returns a list of removed property keys.
- getRawAddress() - Method in class org.freedesktop.dbus.connections.BusAddress
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getRawType() - Method in class org.freedesktop.dbus.types.DBusListType
- getRawType() - Method in class org.freedesktop.dbus.types.DBusMapType
- getRawType() - Method in class org.freedesktop.dbus.types.DBusStructType
- getReader() - Method in class org.freedesktop.dbus.connections.transports.TransportConnection
- getRegisteredBusTypes() - Static method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Returns a
List
of all bustypes supported in the current runtime. - getRemote() - Method in class org.freedesktop.dbus.RemoteInvocationHandler
- getRemoteObject(String) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
-
Return a reference to a remote object.
- getRemoteObject(String, Class<T>) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
-
Return a reference to a remote object.
- getRemoteObject(String, String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getRemoteObject(String, String, Class<I>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getRemoteObject(String, String, Class<I>, boolean) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getReply() - Method in class org.freedesktop.dbus.DBusAsyncReply
-
Get the reply.
- getReply() - Method in class org.freedesktop.dbus.messages.MethodCall
-
Block (if neccessary) for a reply.
- getReply(long) - Method in class org.freedesktop.dbus.messages.MethodCall
-
Block (if neccessary) for a reply.
- getReplySerial() - Method in class org.freedesktop.dbus.messages.Message
-
If this is a reply to a message, this returns its serial.
- getResponse() - Method in class org.freedesktop.dbus.connections.SASL.Command
- getRetryHandler() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfig
- getSaslAuthMode() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
The currently configured
TransportBuilder.SaslAuthMode
. - getSaslAuthMode() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
AbstractTransport.getSaslConfig()
.getAuthMode() instead - getSaslConfig() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getSaslConfig() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Returns the current configuration used for SASL authentication.
- getSaslMode() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
AbstractTransport.getSaslConfig()
.getMode() instead - getSaslUid() - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- getSerial() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the message serial ID (unique for this connection)
- getSessionConnection(String) - Static method in class org.freedesktop.dbus.utils.AddressBuilder
-
Retrieves the connection address to connect to the DBus session-bus.
Will return TCP connection when no unix transport found and TCP is available. - getSig() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the dbus signature of the parameters.
- getSig() - Method in class org.freedesktop.dbus.MethodTuple
- getSig() - Method in class org.freedesktop.dbus.types.Variant
-
Return the dbus signature of the wrapped value.
- getSig() - Method in class org.freedesktop.dbus.TypeSignature
-
Deprecated.
- getSignalName(Class<?>) - Static method in class org.freedesktop.dbus.utils.DBusNamingUtil
-
Get DBus signal name for specified signal class.
- getSignalSource() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
-
The source DBus object path (e.g.
- getSignalSource() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
-
The source DBus object path (e.g.
- getSignalThreadPoolSize() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfig
- getSignalThreadPriority() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfig
- getSource() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns the BusID which called the method.
- getSource() - Method in class org.freedesktop.dbus.DBusMatchRule
- getSource() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the Bus ID that sent the message.
- getSource() - Method in class org.freedesktop.dbus.ObjectPath
- getStartTime() - Method in class org.freedesktop.dbus.utils.TimeMeasure
-
Returns the start time in milliseconds.
- getSupportedBusType() - Method in interface org.freedesktop.dbus.spi.transport.ITransportProvider
-
Type of transport.
- getSystemConnection() - Static method in class org.freedesktop.dbus.utils.AddressBuilder
-
Determine the address of the DBus system connection.
- getSystemEndianness() - Static method in class org.freedesktop.dbus.connections.AbstractConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.use
BaseConnectionBuilder.getSystemEndianness()
instead - getSystemEndianness() - Static method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Get the default system endianness.
- getSystemEndianness() - Static method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.if required, use
BaseConnectionBuilder.getSystemEndianness()
- getSystemEndianness() - Static method in class org.freedesktop.dbus.connections.impl.DirectConnectionBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.if required, use
BaseConnectionBuilder.getSystemEndianness()
- getTextfileFromUrl(String, Charset, boolean) - Static method in class org.freedesktop.dbus.utils.Util
-
Reads a text file from the given URL using the provided charset.
- getTimeout() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getTransportConfig() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Returns the transport's configuration.
Please note: changing any value will not change the transport settings! - getTransportConfig() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- getTransportName() - Method in interface org.freedesktop.dbus.spi.transport.ITransportProvider
-
Name of the transport implementation.
- getType() - Method in class org.freedesktop.dbus.connections.BusAddress
-
Returns the transport type as found in the address.
- getType() - Method in class org.freedesktop.dbus.DBusMatchRule
- getType() - Method in exception org.freedesktop.dbus.exceptions.DBusExecutionException
-
Get the DBus type of this exception.
- getType() - Method in class org.freedesktop.dbus.messages.Message
-
Type of this message.
- getType() - Method in class org.freedesktop.dbus.types.Variant
-
Return the type of the wrapped value.
- getUid(SocketChannel) - Method in class org.freedesktop.dbus.connections.transports.AbstractUnixTransport
- getUniqueName() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Returns the unique name of this connection.
- getValue() - Method in class org.freedesktop.dbus.types.Variant
-
Return the wrapped value.
- getWiredata() - Method in class org.freedesktop.dbus.messages.Message
- getWireData() - Method in class org.freedesktop.dbus.messages.Message
- getWrapperToPrimitiveTypes() - Static method in class org.freedesktop.dbus.ArrayFrob
- getWriter() - Method in class org.freedesktop.dbus.connections.transports.TransportConnection
- GlibCSymbol - Annotation Type in org.freedesktop.dbus.annotations
-
Define a C symbol to map to this method.
- GlobalHandler - Class in org.freedesktop.dbus.connections
H
- handle(ReceivingService.ExecutorNames, Exception) - Method in interface org.freedesktop.dbus.connections.ReceivingService.IThreadPoolRetryHandler
-
Called to handle an exception.
- handle(DBus.NameOwnerChanged) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- handle(T) - Method in interface org.freedesktop.dbus.interfaces.CallbackHandler
- handle(T) - Method in interface org.freedesktop.dbus.interfaces.DBusSigHandler
-
Handle a signal.
- handleError(DBusExecutionException) - Method in interface org.freedesktop.dbus.interfaces.CallbackHandler
- handleException(Message, DBusExecutionException) - Method in class org.freedesktop.dbus.connections.AbstractConnection
- hasFileDescriptorSupport() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Method to indicate if passing of file descriptors is allowed.
- hashCode() - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- hashCode() - Method in class org.freedesktop.dbus.Container
- hashCode() - Method in class org.freedesktop.dbus.DBusMap
- hashCode() - Method in class org.freedesktop.dbus.DBusMatchRule
- hashCode() - Method in class org.freedesktop.dbus.DBusPath
- hashCode() - Method in class org.freedesktop.dbus.MethodTuple
- hashCode() - Method in class org.freedesktop.dbus.RemoteObject
- hashCode() - Method in class org.freedesktop.dbus.SignalTuple
-
Deprecated.
- hashCode() - Method in class org.freedesktop.dbus.types.UInt16
- hashCode() - Method in class org.freedesktop.dbus.types.UInt32
- hashCode() - Method in class org.freedesktop.dbus.types.UInt64
- hashCode() - Method in class org.freedesktop.dbus.types.Variant
- hasParameter(String) - Method in class org.freedesktop.dbus.connections.BusAddress
-
Checks if the given parameter is present.
- hasReply() - Method in class org.freedesktop.dbus.DBusAsyncReply
-
Check if we've had a reply.
- hasReply() - Method in class org.freedesktop.dbus.messages.MethodCall
- Hello() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- Hello() - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Initial message to register ourselves on the Bus.
- HEX_CHARS - Static variable in class org.freedesktop.dbus.utils.Hexdump
- Hexdump - Class in org.freedesktop.dbus.utils
I
- IDisconnectAction - Interface in org.freedesktop.dbus.connections
- IDisconnectCallback - Interface in org.freedesktop.dbus.connections
-
Callback interface which can be used to get notified about connection losses.
- IFACE_PATTERN - Static variable in class org.freedesktop.dbus.utils.CommonRegexPattern
- IFileBasedBusAddress - Interface in org.freedesktop.dbus.connections.transports
-
Interface which should be implemented by
BusAddress
subclasses which use files as 'address' (e.g. unix sockets) and needs to set permission on those files. - IllegalThreadPoolStateException - Exception in org.freedesktop.dbus.exceptions
-
Thrown when a used thread pool (e.g. in ReceivingService) is in an invalid state.
- IllegalThreadPoolStateException() - Constructor for exception org.freedesktop.dbus.exceptions.IllegalThreadPoolStateException
- IllegalThreadPoolStateException(String) - Constructor for exception org.freedesktop.dbus.exceptions.IllegalThreadPoolStateException
- IllegalThreadPoolStateException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.IllegalThreadPoolStateException
- IllegalThreadPoolStateException(Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.IllegalThreadPoolStateException
- IMessageReader - Interface in org.freedesktop.dbus.spi.message
-
Represents a way to read messages from the bus.
- IMessageWriter - Interface in org.freedesktop.dbus.spi.message
-
Interface that lets you write a message to the currently used transport.
- IncomingMessageThread - Class in org.freedesktop.dbus.connections
- IncomingMessageThread(AbstractConnection, BusAddress) - Constructor for class org.freedesktop.dbus.connections.IncomingMessageThread
- InputStreamMessageReader - Class in org.freedesktop.dbus.spi.message
- InputStreamMessageReader(SocketChannel) - Constructor for class org.freedesktop.dbus.spi.message.InputStreamMessageReader
- INT16 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT16_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT32 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT32_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT64 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT64_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INTERFACE - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- interfaces - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- interfaces - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- InterfacesAdded(String, DBusPath, Map<String, Map<String, Variant<?>>>) - Constructor for class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- InterfacesRemoved(String, DBusPath, List<String>) - Constructor for class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- internalDisconnect(IOException) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Disconnects the DBus session.
- InternalMessageException - Exception in org.freedesktop.dbus.exceptions
- InternalMessageException(String) - Constructor for exception org.freedesktop.dbus.exceptions.InternalMessageException
- Introspect() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- Introspect() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- Introspect() - Method in interface org.freedesktop.dbus.interfaces.Introspectable
- Introspect(String) - Method in class org.freedesktop.dbus.messages.ObjectTree
- Introspectable - Interface in org.freedesktop.dbus.interfaces
-
Objects can provide introspection data via this interface and method.
- IntrospectionDescription - Annotation Type in org.freedesktop.dbus.annotations
-
Description of the interface or method, returned in the introspection data
- intValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a int.
- intValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a int.
- intValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a int.
- INVALIDATES - Enum constant in enum org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
- InvalidBusAddressException - Exception in org.freedesktop.dbus.exceptions
-
Thrown when a invalid BusAddress should be created.
- InvalidBusAddressException() - Constructor for exception org.freedesktop.dbus.exceptions.InvalidBusAddressException
- InvalidBusAddressException(String) - Constructor for exception org.freedesktop.dbus.exceptions.InvalidBusAddressException
- InvalidBusAddressException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.InvalidBusAddressException
- InvalidBusAddressException(Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.InvalidBusAddressException
- InvalidMethodArgument - Exception in org.freedesktop.dbus.errors
-
Thrown if a arguments passed to the method are invalid
- InvalidMethodArgument(String) - Constructor for exception org.freedesktop.dbus.errors.InvalidMethodArgument
- invoke(Object, Method, Object[]) - Method in class org.freedesktop.dbus.RemoteInvocationHandler
- isAbstractAllowed() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Deprecated, for removal: This API element is subject to removal in a future version.Is no longer used and will be removed
- isAutoConnect() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- isAutostart() - Method in class org.freedesktop.dbus.RemoteObject
- isBlank(String) - Static method in class org.freedesktop.dbus.utils.Util
-
Checks if the given String is either null or blank.
- isBusType(String) - Method in class org.freedesktop.dbus.connections.BusAddress
-
Checks if this
BusAddress
is for the given bus type.
The given type will be compared case-insensitive. - isClosed() - Method in class org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader
- isClosed() - Method in class org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter
- isClosed() - Method in interface org.freedesktop.dbus.spi.message.IMessageReader
- isClosed() - Method in interface org.freedesktop.dbus.spi.message.IMessageWriter
- isConnected() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- isConnected() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Returns true if inputReader and outputWriter are not yet closed.
- isElementType(Node) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Shortcut for checking if given node is of type
Element
. - isEmpty() - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- isEmpty() - Method in class org.freedesktop.dbus.DBusMap
- isEmpty(String) - Static method in class org.freedesktop.dbus.utils.Util
-
Checks if the given String is either null or empty.
- isExcluded(Method) - Static method in class org.freedesktop.dbus.messages.ExportedObject
- isFileDescriptorPassingSupported() - Method in interface org.freedesktop.dbus.spi.message.ISocketProvider
-
Indicate if reader/writer supports file descriptor passing.
- isFileDescriptorSupport() - Method in class org.freedesktop.dbus.connections.config.SaslConfig
-
Whether file descriptor passing is allowed.
- isFileDescriptorSupported() - Method in class org.freedesktop.dbus.connections.SASL
- isFreeBsd() - Static method in class org.freedesktop.dbus.utils.Util
- isInteger(String, boolean) - Static method in class org.freedesktop.dbus.utils.Util
-
Check if string is an either positive or negative integer.
- isListening() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- isListening() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
True if this transport connection is a listening (server) connection.
- isListening(boolean) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
TransportBuilder.configure()
- isListeningSocket() - Method in class org.freedesktop.dbus.connections.BusAddress
-
True if this is a listening address.
- isMacOs() - Static method in class org.freedesktop.dbus.utils.Util
-
Checks if the running OS is a MacOS/MacOS X.
- ISocketProvider - Interface in org.freedesktop.dbus.spi.message
- isRemote() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- isRemote() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- isRemote() - Method in interface org.freedesktop.dbus.interfaces.DBusInterface
-
Returns true on remote objects.
- isRunning() - Method in class org.freedesktop.dbus.bin.DBusDaemon
- isRunning() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Whether the DBusDaemon is still running.
- isServer() - Method in class org.freedesktop.dbus.connections.BusAddress
-
True if this address represents a listening server address.
- isStrictCookiePermissions() - Method in class org.freedesktop.dbus.connections.config.SaslConfig
-
Whether the permissions of the cookie files (used for DBUS_COOKIE_SHA1) should be checked.
Cookie permission check will only be used on Linux/Unix like OSes. - isValidNetworkPort(int, boolean) - Static method in class org.freedesktop.dbus.utils.Util
-
Check if the given value is a valid network port (1 - 65535).
- isValidNetworkPort(String, boolean) - Static method in class org.freedesktop.dbus.utils.Util
- isWeakReference() - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
- isWindows() - Static method in class org.freedesktop.dbus.utils.Util
-
Checks if the running OS is a MS Windows OS.
- iterator() - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- IThrowingSupplier<V,
T extends Throwable> - Interface in org.freedesktop.dbus.utils -
Supplier which allows throwing any exception.
- ITransportProvider - Interface in org.freedesktop.dbus.spi.transport
-
Interface used by
ServiceLoader
to provide a transport used by DBus.
K
L
- ListActivatableNames() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- ListActivatableNames() - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Returns a list of all names that can be activated on the bus.
- listen() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Start reading and sending messages.
- listen() - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
-
Use this method when running on server side.
- listen() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Start listening on created transport.
- listening(boolean) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
TransportBuilder.configure()
- listify(Object) - Static method in class org.freedesktop.dbus.ArrayFrob
- listify(T[]) - Static method in class org.freedesktop.dbus.ArrayFrob
- ListNames() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- ListNames() - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Lists all connected names on the Bus.
- ListQueuedOwners(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- ListQueuedOwners(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
List the connections currently queued for a name.
- LITTLE - Static variable in interface org.freedesktop.dbus.messages.Message.Endian
- LOCK_TIMEOUT - Static variable in class org.freedesktop.dbus.connections.SASL
- logger - Variable in class org.freedesktop.dbus.messages.Message
- LoggingHelper - Class in org.freedesktop.dbus.utils
-
Helper for some logging stuff, e.g. avoid call
Arrays.deepToString(Object[])
if loglevel is not enabled. - logIf(boolean, Runnable) - Static method in class org.freedesktop.dbus.utils.LoggingHelper
-
Executes the runnable if the boolean is true.
- longValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a long.
- longValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a long.
- longValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a long.
M
- main(String[]) - Static method in class org.freedesktop.dbus.bin.DBusDaemon
- Marshalling - Class in org.freedesktop.dbus
-
Contains static methods for marshalling values.
- MarshallingException - Exception in org.freedesktop.dbus.exceptions
- MarshallingException(String) - Constructor for exception org.freedesktop.dbus.exceptions.MarshallingException
- MarshallingException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.MarshallingException
- marshallint(long, byte[], int, int) - Method in class org.freedesktop.dbus.messages.Message
-
Marshalls an integer of a given width into a buffer.
- marshallintBig(long, byte[], int, int) - Static method in class org.freedesktop.dbus.messages.Message
-
Marshalls an integer of a given width into a buffer using big-endian format.
- marshallintLittle(long, byte[], int, int) - Static method in class org.freedesktop.dbus.messages.Message
-
Marshalls an integer of a given width into a buffer using little-endian format.
- matches(DBusMatchRule, boolean) - Method in class org.freedesktop.dbus.DBusMatchRule
-
Checks if the given rule matches with our rule.
- matches(DBusSignal, boolean) - Method in class org.freedesktop.dbus.DBusMatchRule
-
Checks if the given signal matches with our rule.
- MatchRuleInvalid - Exception in org.freedesktop.dbus.errors
-
Thrown if the match rule is invalid
- MatchRuleInvalid(String) - Constructor for exception org.freedesktop.dbus.errors.MatchRuleInvalid
- MAX_ARRAY_LENGTH - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- MAX_BIG_VALUE - Static variable in class org.freedesktop.dbus.types.UInt64
-
Maximum allowed value (when accessed as a BigInteger)
- MAX_FIELDS - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- MAX_LONG_VALUE - Static variable in class org.freedesktop.dbus.types.UInt64
-
Maximum allowed value (when accessed as a long)
- MAX_NAME_LENGTH - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- MAX_TIME_TRAVEL_SECONDS - Static variable in class org.freedesktop.dbus.connections.SASL
- MAX_VALUE - Static variable in class org.freedesktop.dbus.types.UInt16
-
Maximum possible value.
- MAX_VALUE - Static variable in class org.freedesktop.dbus.types.UInt32
-
Maximum allowed value
- MAXIMUM_ARRAY_LENGTH - Static variable in class org.freedesktop.dbus.messages.Message
- MAXIMUM_MESSAGE_LENGTH - Static variable in class org.freedesktop.dbus.messages.Message
- MAXIMUM_NUM_UNIX_FDS - Static variable in class org.freedesktop.dbus.messages.Message
- MEMBER - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- Message - Class in org.freedesktop.dbus.messages
-
Superclass of all messages which are sent over the Bus.
- Message() - Constructor for class org.freedesktop.dbus.messages.Message
-
Create a blank message.
- Message(byte, byte, byte) - Constructor for class org.freedesktop.dbus.messages.Message
-
Create a message; only to be called by sub-classes.
- Message.ArgumentType - Interface in org.freedesktop.dbus.messages
-
Defines constants for each argument type.
- Message.Endian - Interface in org.freedesktop.dbus.messages
-
Defines constants representing the endianness of the message.
- Message.Flags - Interface in org.freedesktop.dbus.messages
-
Defines constants representing the flags which can be set on a message.
- Message.HeaderField - Interface in org.freedesktop.dbus.messages
-
Defines constants for each valid header field type.
- Message.MessageType - Interface in org.freedesktop.dbus.messages
-
Defines constants for each message type.
- MessageFactory - Class in org.freedesktop.dbus.messages
- MessageFormatException - Exception in org.freedesktop.dbus.exceptions
-
Thrown if a message is formatted incorrectly.
- MessageFormatException(String) - Constructor for exception org.freedesktop.dbus.exceptions.MessageFormatException
- MessageProtocolVersionException - Exception in org.freedesktop.dbus.exceptions
- MessageProtocolVersionException(String) - Constructor for exception org.freedesktop.dbus.exceptions.MessageProtocolVersionException
- MessageTypeException - Exception in org.freedesktop.dbus.exceptions
- MessageTypeException(String) - Constructor for exception org.freedesktop.dbus.exceptions.MessageTypeException
- METHOD_CALL - Static variable in interface org.freedesktop.dbus.messages.Message.MessageType
- METHOD_RETURN - Static variable in interface org.freedesktop.dbus.messages.Message.MessageType
- MethodBase - Class in org.freedesktop.dbus.messages
- MethodBase(byte, byte, byte) - Constructor for class org.freedesktop.dbus.messages.MethodBase
- MethodCall - Class in org.freedesktop.dbus.messages
- MethodCall(String, String, String, String, byte, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodCall
- MethodCall(String, String, String, String, String, byte, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodCall
- METHODCALL - Enum constant in enum org.freedesktop.dbus.connections.ReceivingService.ExecutorNames
- MethodError - Annotation Type in org.freedesktop.dbus.annotations
-
Give an error that the method can return
- MethodNoReply - Annotation Type in org.freedesktop.dbus.annotations
-
Methods annotated with this do not send a reply
- MethodReturn - Class in org.freedesktop.dbus.messages
- MethodReturn(String, long, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodReturn
- MethodReturn(String, String, long, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodReturn
- MethodReturn(String, MethodCall, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodReturn
- MethodReturn(MethodCall, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodReturn
- METHODRETURN - Enum constant in enum org.freedesktop.dbus.connections.ReceivingService.ExecutorNames
- MethodTuple - Class in org.freedesktop.dbus
- MethodTuple(String, String) - Constructor for class org.freedesktop.dbus.MethodTuple
- MIN_VALUE - Static variable in class org.freedesktop.dbus.types.UInt16
-
Minimum possible value.
- MIN_VALUE - Static variable in class org.freedesktop.dbus.types.UInt32
-
Minimum allowed value
- MIN_VALUE - Static variable in class org.freedesktop.dbus.types.UInt64
-
Minimum allowed value
- Monitoring - Interface in org.freedesktop.dbus.interfaces
N
- name - Variable in class org.freedesktop.dbus.interfaces.DBus.NameAcquired
- name - Variable in class org.freedesktop.dbus.interfaces.DBus.NameLost
- name - Variable in class org.freedesktop.dbus.interfaces.DBus.NameOwnerChanged
- name() - Element in annotation type org.freedesktop.dbus.annotations.DBusProperty
-
Property name
- NameableThreadFactory - Class in org.freedesktop.dbus.utils
-
A thread factory which allows setting name, priority and daemon flag for all newly created threads.
- NameableThreadFactory(String, boolean) - Constructor for class org.freedesktop.dbus.utils.NameableThreadFactory
-
Create a new ThreadFactory instance.
- NameableThreadFactory(String, boolean, int) - Constructor for class org.freedesktop.dbus.utils.NameableThreadFactory
-
Create a new ThreadFactory instance.
- NameAcquired(String, String) - Constructor for class org.freedesktop.dbus.interfaces.DBus.NameAcquired
- NameHasOwner(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- NameHasOwner(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Determine if a name has an owner.
- NameLost(String, String) - Constructor for class org.freedesktop.dbus.interfaces.DBus.NameLost
- NameOwnerChanged(String, String, String, String) - Constructor for class org.freedesktop.dbus.interfaces.DBus.NameOwnerChanged
- NEGOTIATE_UNIX_FD - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslCommand
- NEW_KEY_TIMEOUT_SECONDS - Static variable in class org.freedesktop.dbus.connections.SASL
- newConnection(DBusConnection.DBusBusType) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.
- newOwner - Variable in class org.freedesktop.dbus.interfaces.DBus.NameOwnerChanged
- newThread(Runnable) - Method in class org.freedesktop.dbus.utils.NameableThreadFactory
- NO_AUTO_START - Static variable in interface org.freedesktop.dbus.messages.Message.Flags
- NO_REPLY - Static variable in class org.freedesktop.dbus.DBusCallInfo
-
Indicates the caller won't wait for a reply (and we won't send one).
- NO_REPLY_EXPECTED - Static variable in interface org.freedesktop.dbus.messages.Message.Flags
- NonFatalException - Interface in org.freedesktop.dbus.interfaces
- NoReply - Exception in org.freedesktop.dbus.errors
-
Thrown if there is no reply to a method call
- NoReply(String) - Constructor for exception org.freedesktop.dbus.errors.NoReply
- NotConnected - Exception in org.freedesktop.dbus.exceptions
-
Thrown if a DBus action is called when not connected to the Bus.
- NotConnected(String) - Constructor for exception org.freedesktop.dbus.exceptions.NotConnected
- NotSupported - Exception in org.freedesktop.dbus.errors
-
Thrown if a called operation is not supported
- NotSupported(String) - Constructor for exception org.freedesktop.dbus.errors.NotSupported
O
- OBJECT_PATH - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- OBJECT_PATH_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- OBJECT_REGEX_PATTERN - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- ObjectManager - Interface in org.freedesktop.dbus.interfaces
- ObjectManager.InterfacesAdded - Class in org.freedesktop.dbus.interfaces
-
Signal generated when a new interface is added
- ObjectManager.InterfacesRemoved - Class in org.freedesktop.dbus.interfaces
-
Signal generated when an interface is removed
- objectPath - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- objectPath - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- ObjectPath - Class in org.freedesktop.dbus
- ObjectPath(String, String) - Constructor for class org.freedesktop.dbus.ObjectPath
- ObjectTree - Class in org.freedesktop.dbus.messages
-
Keeps track of the exported objects for introspection data
- ObjectTree() - Constructor for class org.freedesktop.dbus.messages.ObjectTree
- of(String) - Static method in class org.freedesktop.dbus.connections.BusAddress
-
Creates a new
BusAddress
from String. - of(BusAddress) - Static method in class org.freedesktop.dbus.connections.BusAddress
-
Creates a copy of the given
BusAddress
. - OK - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslCommand
- OK - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslResult
- oldOwner - Variable in class org.freedesktop.dbus.interfaces.DBus.NameOwnerChanged
- org.freedesktop.dbus - module org.freedesktop.dbus
- org.freedesktop.dbus - package org.freedesktop.dbus
- org.freedesktop.dbus.annotations - package org.freedesktop.dbus.annotations
- org.freedesktop.dbus.bin - package org.freedesktop.dbus.bin
- org.freedesktop.dbus.config - package org.freedesktop.dbus.config
- org.freedesktop.dbus.connections - package org.freedesktop.dbus.connections
- org.freedesktop.dbus.connections.config - package org.freedesktop.dbus.connections.config
- org.freedesktop.dbus.connections.impl - package org.freedesktop.dbus.connections.impl
- org.freedesktop.dbus.connections.transports - package org.freedesktop.dbus.connections.transports
- org.freedesktop.dbus.errors - package org.freedesktop.dbus.errors
- org.freedesktop.dbus.exceptions - package org.freedesktop.dbus.exceptions
- org.freedesktop.dbus.handlers - package org.freedesktop.dbus.handlers
- org.freedesktop.dbus.interfaces - package org.freedesktop.dbus.interfaces
- org.freedesktop.dbus.messages - package org.freedesktop.dbus.messages
- org.freedesktop.dbus.spi.message - package org.freedesktop.dbus.spi.message
- org.freedesktop.dbus.spi.transport - package org.freedesktop.dbus.spi.transport
- org.freedesktop.dbus.types - package org.freedesktop.dbus.types
- org.freedesktop.dbus.utils - package org.freedesktop.dbus.utils
- OutputStreamMessageWriter - Class in org.freedesktop.dbus.spi.message
- OutputStreamMessageWriter(SocketChannel) - Constructor for class org.freedesktop.dbus.spi.message.OutputStreamMessageWriter
P
- pad(byte) - Method in class org.freedesktop.dbus.messages.Message
-
Pad the message to the proper alignment for the given type.
- padAndMarshall(List<Object>, long, String, Object...) - Method in class org.freedesktop.dbus.messages.Message
-
Adds message padding and marshalling.
- parseXmlString(String, boolean, boolean) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Read the given string as XML document.
- parseXmlStringWithXsdValidation(String, boolean) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Loads XML from string and uses referenced XSD to validate the content.
- parseXmlStringWithXsdValidation(String, boolean, ErrorHandler) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Loads XML from string and uses referenced XSD to validate the content.
- PATH - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- Peer - Interface in org.freedesktop.dbus.interfaces
-
All DBus Applications should respond to the Ping method on this interface
- PeerSet - Class in org.freedesktop.dbus.connections
-
Deprecated, for removal: This API element is subject to removal in a future version.no longer used
- PeerSet(DBusConnection) - Constructor for class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- PendingCallbackManager - Class in org.freedesktop.dbus.connections
- perform() - Method in interface org.freedesktop.dbus.connections.IDisconnectAction
- Ping() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- Ping() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- Ping() - Method in interface org.freedesktop.dbus.interfaces.Peer
- Position - Annotation Type in org.freedesktop.dbus.annotations
-
Position annotation, to annotate Struct fields to be sent over DBus.
- print(byte[]) - Static method in class org.freedesktop.dbus.utils.Hexdump
- print(byte[], int) - Static method in class org.freedesktop.dbus.utils.Hexdump
- print(byte[], int, PrintStream) - Static method in class org.freedesktop.dbus.utils.Hexdump
- print(byte[], PrintStream) - Static method in class org.freedesktop.dbus.utils.Hexdump
- printDocument(Node, OutputStream) - Static method in class org.freedesktop.dbus.utils.XmlUtil
- Properties - Interface in org.freedesktop.dbus.interfaces
-
A standard properties interface.
- Properties.PropertiesChanged - Class in org.freedesktop.dbus.interfaces
-
Signal generated when a property changes.
- PropertiesChanged(String, String, Map<String, Variant<?>>, List<String>) - Constructor for class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
- PropertiesEmitsChangedSignal - Annotation Type in org.freedesktop.dbus.annotations
-
From DBUS Specification:
If set to false, the org.freedesktop.DBus.Properties.PropertiesChanged signal,
see the section called “org.freedesktop.DBus.Properties” is not guaranteed to be emitted if the property changes.
If set to const the property never changes value during the lifetime of the object it belongs to,
and hence the signal is never emitted for it. - PropertiesEmitsChangedSignal.EmitChangeSignal - Enum in org.freedesktop.dbus.annotations
- PropertyReadOnly - Exception in org.freedesktop.dbus.errors
-
Thrown if a attempt to edit read only property
- PropertyReadOnly(String) - Constructor for exception org.freedesktop.dbus.errors.PropertyReadOnly
- PROTOCOL - Static variable in class org.freedesktop.dbus.messages.Message
-
The current protocol major version.
- PROXY_SPLIT_PATTERN - Static variable in class org.freedesktop.dbus.utils.CommonRegexPattern
- put(K, V) - Method in class org.freedesktop.dbus.DBusMap
- putAll(Map<? extends K, ? extends V>) - Method in class org.freedesktop.dbus.DBusMap
Q
- QUEUE_POLL_WAIT - Static variable in class org.freedesktop.dbus.bin.DBusDaemon
- queueCallback(MethodCall, Method, CallbackHandler<?>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
- queueCallback(MethodCall, Method, CallbackHandler<?>, AbstractConnection) - Method in class org.freedesktop.dbus.connections.PendingCallbackManager
R
- randomString(int) - Static method in class org.freedesktop.dbus.utils.Util
-
Generate a simple (cryptographic insecure) random string.
- READ - Enum constant in enum org.freedesktop.dbus.annotations.DBusProperty.Access
- READ_WRITE - Enum constant in enum org.freedesktop.dbus.annotations.DBusProperty.Access
- readFileDescriptors(SocketChannel) - Method in class org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader
-
Methods which will be called when file descriptor passing is enabled.
- readFileDescriptors(SocketChannel) - Method in class org.freedesktop.dbus.spi.message.InputStreamMessageReader
- readFileToList(String) - Static method in class org.freedesktop.dbus.utils.Util
-
Reads a file to a List<String> (each line is one entry in list).
- readFileToString(File) - Static method in class org.freedesktop.dbus.utils.Util
-
Reads a file to a String.
- readMessage() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Read a message from the underlying socket.
- readMessage() - Method in class org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader
- readMessage() - Method in interface org.freedesktop.dbus.spi.message.IMessageReader
- readProperties(File) - Static method in class org.freedesktop.dbus.utils.Util
-
Trys to read a properties file.
- readProperties(InputStream) - Static method in class org.freedesktop.dbus.utils.Util
-
Tries to read a properties file from an inputstream.
- readTextFileFromStream(InputStream, Charset, boolean) - Static method in class org.freedesktop.dbus.utils.Util
-
Reads a text file from given
InputStream
using the givenCharset
. - receive(SocketChannel) - Method in class org.freedesktop.dbus.connections.SASL
- ReceivingService - Class in org.freedesktop.dbus.connections
-
Service providing threads for every type of message expected to be received by DBus.
- ReceivingService.ExecutorNames - Enum in org.freedesktop.dbus.connections
-
Enum representing different executor services.
- ReceivingService.IThreadPoolRetryHandler - Interface in org.freedesktop.dbus.connections
-
Interface which specifies a handler which will be called when the thread pool throws any exception.
- ReceivingServiceConfig - Class in org.freedesktop.dbus.connections.config
-
Bean which holds configuration for
ReceivingService
. - ReceivingServiceConfigBuilder<R extends BaseConnectionBuilder<?,
?>> - Class in org.freedesktop.dbus.connections.config -
Configuration builder to configure
ReceivingService
. - ReceivingServiceConfigBuilder(Supplier<R>) - Constructor for class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
- receivingThreadConfig() - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Returns the builder to configure the receiving thread pools.
- REJECT - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslResult
- REJECTED - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslCommand
- releaseBusName(String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Release a bus name.
- ReleaseName(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- ReleaseName(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Release a name on the bus.
- RemoteInvocationHandler - Class in org.freedesktop.dbus
- RemoteInvocationHandler(AbstractConnection, RemoteObject) - Constructor for class org.freedesktop.dbus.RemoteInvocationHandler
- RemoteObject - Class in org.freedesktop.dbus
- RemoteObject(String, String, Class<? extends DBusInterface>, boolean) - Constructor for class org.freedesktop.dbus.RemoteObject
- remove(Object) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- remove(Object) - Method in class org.freedesktop.dbus.DBusMap
- remove(String) - Method in class org.freedesktop.dbus.connections.FallbackContainer
- remove(String) - Method in class org.freedesktop.dbus.messages.ObjectTree
- removeAll(Collection<?>) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- removeCallback(MethodCall) - Method in class org.freedesktop.dbus.connections.PendingCallbackManager
- removeFallback(String) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a fallback
- removeGenericSigHandler(DBusMatchRule, DBusSigHandler<DBusSignal>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a generic signal handler with the given
DBusMatchRule
. - removeGenericSigHandler(DBusMatchRule, DBusSigHandler<DBusSignal>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- removeGenericSigHandler(DBusMatchRule, DBusSigHandler<DBusSignal>) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
- RemoveMatch(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- RemoveMatch(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Remove a match rule.
- removeParameter(String) - Method in class org.freedesktop.dbus.connections.BusAddress
-
Remove parameter with given name.
- removeSigHandler(Class<T>, String, DBusInterface, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Remove a Signal Handler.
- removeSigHandler(Class<T>, String, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Remove a Signal Handler.
- removeSigHandler(Class<T>, DBusInterface, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a Signal Handler.
- removeSigHandler(Class<T>, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a Signal Handler.
- removeSigHandler(DBusMatchRule, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a match rule with the given
DBusSigHandler
. - removeSigHandler(DBusMatchRule, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Remove a match rule with the given
DBusSigHandler
. - removeSigHandler(DBusMatchRule, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
- REPLY_SERIAL - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- requestBusName(String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Request a bus name.
- requestedDisconnect(Integer) - Method in interface org.freedesktop.dbus.connections.IDisconnectCallback
-
Called when the disconnect was intended.
- RequestName(String, UInt32) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- RequestName(String, UInt32) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Request a name on the bus.
- reset() - Method in class org.freedesktop.dbus.utils.TimeMeasure
-
Resets the start time.
- retainAll(Collection<?>) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- run() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonReaderThread
- run() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonSenderThread
- run() - Method in class org.freedesktop.dbus.bin.DBusDaemon
- run() - Method in class org.freedesktop.dbus.connections.IncomingMessageThread
- run() - Method in class org.freedesktop.dbus.connections.SenderThread
-
Deprecated.
S
- SASL - Class in org.freedesktop.dbus.connections
- SASL() - Constructor for class org.freedesktop.dbus.connections.SASL
-
Deprecated, for removal: This API element is subject to removal in a future version.should not be used as SASL configuration is not provided
- SASL(SaslConfig) - Constructor for class org.freedesktop.dbus.connections.SASL
-
Create a new SASL auth handler.
- SASL.Command - Class in org.freedesktop.dbus.connections
- SASL.SaslCommand - Enum in org.freedesktop.dbus.connections
- SASL.SaslMode - Enum in org.freedesktop.dbus.connections
- SASL.SaslResult - Enum in org.freedesktop.dbus.connections
- SaslConfig - Class in org.freedesktop.dbus.connections.config
-
Bean contains configuration for SASL authentication.
- SaslConfigBuilder<R> - Class in org.freedesktop.dbus.connections.config
-
Configuration used to setup a sasl authentication.
- saveFile(String, String) - Static method in class org.freedesktop.dbus.bin.DBusDaemon
- send(SocketChannel, SASL.SaslCommand, String...) - Method in class org.freedesktop.dbus.connections.SASL
- SENDER - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- SenderThread - Class in org.freedesktop.dbus.connections
-
Deprecated, for removal: This API element is subject to removal in a future version.no longer in use
- sendMessage(Message) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Send a message or signal to the DBus daemon.
- serialize() - Method in interface org.freedesktop.dbus.interfaces.DBusSerializable
- SERVER - Enum constant in enum org.freedesktop.dbus.connections.SASL.SaslMode
- ServiceUnknown - Exception in org.freedesktop.dbus.errors
-
Thrown if the requested service was not available
- ServiceUnknown(String) - Constructor for exception org.freedesktop.dbus.errors.ServiceUnknown
- SESSION - Enum constant in enum org.freedesktop.dbus.connections.impl.DBusConnection.DBusBusType
-
Session Bus
- Set(String, String, A) - Method in interface org.freedesktop.dbus.interfaces.Properties
-
Set the value for the given property.
- setAdditionalConfig(Map<String, Object>) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setArgs(Object[]) - Method in class org.freedesktop.dbus.messages.Message
- setAuthMode(int) - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- setAutoConnect(boolean) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setBusAddress(BusAddress) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setByteCounter(long) - Method in class org.freedesktop.dbus.messages.Message
- setCall(MethodCall) - Method in class org.freedesktop.dbus.messages.MethodReturn
- setDbusMachineIdFile(String) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.no longer required when
DBusConnectionBuilder
is used - setDefaultTimeout(long) - Static method in class org.freedesktop.dbus.messages.MethodCall
-
Set the default timeout for method calls.
- setDisconnectCallback(IDisconnectCallback) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Set the callback which will be notified when a disconnection happens.
- setEndianness(byte) - Static method in class org.freedesktop.dbus.connections.AbstractConnection
-
Set the endianness to use for all connections.
- setFileDescriptorSupport(boolean) - Method in class org.freedesktop.dbus.connections.config.SaslConfig
-
Enable/disable support of file descriptor passing.
- setFileDescriptorSupport(boolean) - Method in interface org.freedesktop.dbus.spi.message.ISocketProvider
-
Called to indicate if the current
AbstractTransport
implementation supports file descriptor passing. - setFileGroup(String) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setFileOwner(String) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setFilePermissions(Path, String, String, Set<PosixFilePermission>) - Static method in class org.freedesktop.dbus.utils.Util
-
Setup the unix socket file permissions.
- setFileUnixPermissions(PosixFilePermission...) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setGuid(String) - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- setHeader(Object[]) - Method in class org.freedesktop.dbus.messages.Message
-
Set header content.
- setListening(boolean) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setMode(SASL.SaslMode) - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- setPath(String) - Method in class org.freedesktop.dbus.DBusPath
- setPreConnectCallback(Consumer<AbstractTransport>) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setPreConnectCallback(Consumer<AbstractTransport>) - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Set a callback which will be called right before the connection will be established to the transport.
- setReply(Message) - Method in class org.freedesktop.dbus.messages.MethodCall
- setResponse(String) - Method in class org.freedesktop.dbus.connections.SASL.Command
- setSaslAuthMode(int) - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
AbstractTransport.getSaslConfig()
.setSaslAuthMode(int) instead - setSaslAuthMode(TransportBuilder.SaslAuthMode) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Use this to override the default authentication mode which would be used by the transport based on the
BusAddress
. - setSaslMode(SASL.SaslMode) - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
AbstractTransport.getSaslConfig()
.setMode(int) instead - setSaslUid(OptionalLong) - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- setSerial(long) - Method in class org.freedesktop.dbus.messages.Message
- setSource(String) - Method in class org.freedesktop.dbus.messages.Message
-
Warning, do not use this method unless you really know what you are doing.
- setSource(String) - Method in class org.freedesktop.dbus.ObjectPath
- setStrictCookiePermissions(boolean) - Method in class org.freedesktop.dbus.connections.config.SaslConfig
-
Enable/disable checking of file permissions of the cookie files (used for DBUS_COOKIE_SHA1).
Cookie permission check will only be used on Linux/Unix like OSes. - setTimeout(int) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setType(String) - Method in exception org.freedesktop.dbus.exceptions.DBusExecutionException
- setUnixSocketGroup(String) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
The file group for the created unix socket.
Ignored if TCP is used.
Will only work if currently running JVM process user has suitable permissions to change the group. - setUnixSocketOwner(String) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
The file owner for the created unix socket.
Ignored if TCP is used.
Will only work if currently running JVM process user has suitable permissions to change the owner. - setUnixSocketPermissions(PosixFilePermission...) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
The file permissions for the created unix socket.
Ignored if TCP is used or if the OS is Windows.
Will only work if currently running JVM process user has suitable permissions to change the permissions. - setWeakReferences(boolean) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
If set to true the bus will not hold a strong reference to exported objects.
- setWiredata(byte[][]) - Method in class org.freedesktop.dbus.messages.Message
- shortValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a short.
- shortValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a short.
- shortValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a short.
- shutdown(int, TimeUnit) - Method in class org.freedesktop.dbus.connections.ReceivingService
-
Shutdown all executor services waiting up to the given timeout/unit.
- shutdownNow() - Method in class org.freedesktop.dbus.connections.ReceivingService
-
Forcefully stop the executors.
- SIGNAL - Enum constant in enum org.freedesktop.dbus.connections.ReceivingService.ExecutorNames
- SIGNAL - Static variable in interface org.freedesktop.dbus.messages.Message.MessageType
- signalSource - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- signalSource - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- SignalTuple - Class in org.freedesktop.dbus
-
Deprecated, for removal: This API element is subject to removal in a future version.this class was used as map key internally and is no longer in use
- SignalTuple(String, String, String, String) - Constructor for class org.freedesktop.dbus.SignalTuple
-
Deprecated.
- SIGNATURE - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- SIGNATURE - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- SIGNATURE_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- size() - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- size() - Method in class org.freedesktop.dbus.DBusMap
- SLASH_PATTERN - Static variable in class org.freedesktop.dbus.messages.ObjectTree
- snakeToCamelCase(String) - Static method in class org.freedesktop.dbus.utils.Util
-
Converts a snake-case-string to camel case string.
- SocketClosedException - Exception in org.freedesktop.dbus.exceptions
-
Exception which indicates a terminated connection.
- SocketClosedException() - Constructor for exception org.freedesktop.dbus.exceptions.SocketClosedException
- SocketClosedException(String) - Constructor for exception org.freedesktop.dbus.exceptions.SocketClosedException
- SocketClosedException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.SocketClosedException
- SocketClosedException(Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.SocketClosedException
- startInBackground() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Start the DBusDaemon in background and returns immediately.
- startInBackgroundAndWait(long) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Starts the DBusDaemon in background.
- startInForeground() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Run the DBusDaemon in foreground.
- StartServiceByName(String, UInt32) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- StartServiceByName(String, UInt32) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Start a service.
- strEquals(String, String) - Static method in class org.freedesktop.dbus.utils.Util
-
Null-safe equals for two strings.
- STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRING_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- StrongReference<T> - Class in org.freedesktop.dbus
-
An alternative to a WeakReference when you don't want that behavior.
- StrongReference(T) - Constructor for class org.freedesktop.dbus.StrongReference
- Struct - Class in org.freedesktop.dbus
-
This class should be extended to create Structs.
- Struct() - Constructor for class org.freedesktop.dbus.Struct
- STRUCT - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT1 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT1_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT2 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT2_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- StructHelper - Class in org.freedesktop.dbus
-
Helper util to create
Struct
subclasses when receiving it from DBus. - syntax() - Static method in class org.freedesktop.dbus.bin.DBusDaemon
- SYSPROP_DBUS_TEST_HOME_DIR - Static variable in class org.freedesktop.dbus.config.DBusSysProps
- SYSTEM - Enum constant in enum org.freedesktop.dbus.connections.impl.DBusConnection.DBusBusType
-
System Bus
T
- TCP_ADDRESS_PROPERTY - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.is no longer in use
- TCP_CONNECT_TIMEOUT - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.no longer used
- terminate() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonReaderThread
- terminate() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonSenderThread
- terminate() - Method in class org.freedesktop.dbus.connections.IncomingMessageThread
- terminate() - Method in class org.freedesktop.dbus.connections.SenderThread
-
Deprecated.
- throwException() - Method in class org.freedesktop.dbus.errors.Error
-
Throw this as an exception of the correct type
- TimeMeasure - Class in org.freedesktop.dbus.utils
-
Utility class for time measurements.
- TimeMeasure() - Constructor for class org.freedesktop.dbus.utils.TimeMeasure
-
Create a new instance, used a formatter converting everything >= 5000 ms to seconds (X.Y -> 6.1).
- TimeMeasure(TimeMeasure.ITimeMeasureFormat) - Constructor for class org.freedesktop.dbus.utils.TimeMeasure
-
Create a new instance using _ts millis as
- TimeMeasure.ITimeMeasureFormat - Interface in org.freedesktop.dbus.utils
- Timeout - Exception in org.freedesktop.dbus.errors
-
Thrown if a operation timed out
- Timeout(String) - Constructor for exception org.freedesktop.dbus.errors.Timeout
- toArray() - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- toArray(T[]) - Method in class org.freedesktop.dbus.connections.PeerSet
-
Deprecated.
- toAscii(byte[]) - Static method in class org.freedesktop.dbus.utils.Hexdump
- toAscii(byte[], int, int) - Static method in class org.freedesktop.dbus.utils.Hexdump
- toByteArray(byte[]) - Static method in class org.freedesktop.dbus.utils.Hexdump
-
Returns a string which can be written to a Java source file as part of a static initializer for a byte array.
- toByteArray(byte[], int, int) - Static method in class org.freedesktop.dbus.utils.Hexdump
-
Returns a string which can be written to a Java source file as part of a static initializer for a byte array.
- toElement(Node) - Static method in class org.freedesktop.dbus.utils.XmlUtil
- toHex(byte[]) - Static method in class org.freedesktop.dbus.utils.Hexdump
- toHex(byte[], boolean) - Static method in class org.freedesktop.dbus.utils.Hexdump
- toHex(byte[], int, int, boolean) - Static method in class org.freedesktop.dbus.utils.Hexdump
- toJavaFileDescriptor() - Method in class org.freedesktop.dbus.FileDescriptor
- top() - Method in class org.freedesktop.dbus.types.UInt64
-
Most significant 4 bytes.
- toString() - Method in enum org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
- toString() - Method in class org.freedesktop.dbus.bin.DBusDaemon.ConnectionStruct
- toString() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- toString() - Method in class org.freedesktop.dbus.connections.BusAddress
- toString() - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- toString() - Method in enum org.freedesktop.dbus.connections.ReceivingService.ExecutorNames
- toString() - Method in class org.freedesktop.dbus.connections.SASL.Command
- toString() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- toString() - Method in class org.freedesktop.dbus.connections.transports.TransportConnection
- toString() - Method in class org.freedesktop.dbus.Container
-
Returns this struct as a string.
- toString() - Method in class org.freedesktop.dbus.DBusAsyncReply
- toString() - Method in class org.freedesktop.dbus.DBusMap
- toString() - Method in class org.freedesktop.dbus.DBusMatchRule
- toString() - Method in class org.freedesktop.dbus.DBusPath
- toString() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- toString() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- toString() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
- toString() - Method in class org.freedesktop.dbus.messages.Message
-
Formats the message in a human-readable format.
- toString() - Method in class org.freedesktop.dbus.messages.ObjectTree
- toString() - Method in class org.freedesktop.dbus.RemoteObject
- toString() - Method in class org.freedesktop.dbus.SignalTuple
-
Deprecated.
- toString() - Method in class org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader
- toString() - Method in class org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter
- toString() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a string.
- toString() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a string
- toString() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a string.
- toString() - Method in class org.freedesktop.dbus.types.Variant
-
Format the Variant as a string.
- toString() - Method in class org.freedesktop.dbus.utils.TimeMeasure
-
Returns the elapsed time in milliseconds formatted as string.
- TransportBuilder - Class in org.freedesktop.dbus.connections.transports
-
Builder to create transports of different types.
- TransportBuilder.SaslAuthMode - Enum in org.freedesktop.dbus.connections.transports
-
Represents supported SASL authentication modes.
- transportConfig() - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Returns the builder to configure the used transport.
- TransportConfig - Class in org.freedesktop.dbus.connections.config
-
Configuration used to setup a transport.
- TransportConfig() - Constructor for class org.freedesktop.dbus.connections.config.TransportConfig
- TransportConfig(BusAddress) - Constructor for class org.freedesktop.dbus.connections.config.TransportConfig
- TransportConfigBuilder<X extends TransportConfigBuilder<?,
R>, R> - Class in org.freedesktop.dbus.connections.config - TransportConfigBuilder(Supplier<R>) - Constructor for class org.freedesktop.dbus.connections.config.TransportConfigBuilder
- TransportConfigurationException - Exception in org.freedesktop.dbus.exceptions
- TransportConfigurationException(String) - Constructor for exception org.freedesktop.dbus.exceptions.TransportConfigurationException
- TransportConfigurationException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.TransportConfigurationException
- TransportConnection - Class in org.freedesktop.dbus.connections.transports
-
Represents one transport connection of any type.
- TransportConnection(SocketChannel, IMessageWriter, IMessageReader) - Constructor for class org.freedesktop.dbus.connections.transports.TransportConnection
- TransportRegistrationException - Exception in org.freedesktop.dbus.exceptions
-
Thrown if registration of transport providers fails.
- TransportRegistrationException(String) - Constructor for exception org.freedesktop.dbus.exceptions.TransportRegistrationException
- TransportRegistrationException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.TransportRegistrationException
- TRUE - Enum constant in enum org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
- Tuple - Class in org.freedesktop.dbus
-
This class should be extended to create Tuples.
- Tuple() - Constructor for class org.freedesktop.dbus.Tuple
- type() - Element in annotation type org.freedesktop.dbus.annotations.DBusProperty
-
type of the property, in case of complex types please create custom interface that extends
TypeRef
- type(Object[], Class<Object>) - Static method in class org.freedesktop.dbus.ArrayFrob
- TypeRef<T> - Interface in org.freedesktop.dbus
-
Interface for retrieving generic type information with reflection.
- TypeSignature - Class in org.freedesktop.dbus
-
Deprecated, for removal: This API element is subject to removal in a future version.not used
- TypeSignature(Type[]) - Constructor for class org.freedesktop.dbus.TypeSignature
-
Deprecated.
- TypeSignature(String) - Constructor for class org.freedesktop.dbus.TypeSignature
-
Deprecated.
U
- UInt16 - Class in org.freedesktop.dbus.types
-
Class to represent 16-bit unsigned integers.
- UInt16(int) - Constructor for class org.freedesktop.dbus.types.UInt16
-
Create a UInt16 from an int.
- UInt16(String) - Constructor for class org.freedesktop.dbus.types.UInt16
-
Create a UInt16 from a String.
- UINT16 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UINT16_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UInt32 - Class in org.freedesktop.dbus.types
-
Class to represent unsigned 32-bit numbers.
- UInt32(long) - Constructor for class org.freedesktop.dbus.types.UInt32
-
Create a UInt32 from a long.
- UInt32(String) - Constructor for class org.freedesktop.dbus.types.UInt32
-
Create a UInt32 from a String.
- UINT32 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UINT32_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UInt64 - Class in org.freedesktop.dbus.types
-
Class to represent unsigned 64-bit numbers.
- UInt64(long) - Constructor for class org.freedesktop.dbus.types.UInt64
-
Create a UInt64 from a long.
- UInt64(long, long) - Constructor for class org.freedesktop.dbus.types.UInt64
-
Create a UInt64 from two longs.
- UInt64(String) - Constructor for class org.freedesktop.dbus.types.UInt64
-
Create a UInt64 from a String.
- UInt64(BigInteger) - Constructor for class org.freedesktop.dbus.types.UInt64
-
Create a UInt64 from a BigInteger
- UINT64 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UINT64_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- unExportObject(String) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Stop Exporting an object
- UNIX_FDS - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- UnknownInterface - Exception in org.freedesktop.dbus.errors
-
Thrown if a interface does not exist
- UnknownInterface(String) - Constructor for exception org.freedesktop.dbus.errors.UnknownInterface
- UnknownMethod - Exception in org.freedesktop.dbus.errors
-
Thrown if the method called was unknown on the remote object
- UnknownMethod(String) - Constructor for exception org.freedesktop.dbus.errors.UnknownMethod
- UnknownObject - Exception in org.freedesktop.dbus.errors
-
Thrown if the object was unknown on a remote connection
- UnknownObject(String) - Constructor for exception org.freedesktop.dbus.errors.UnknownObject
- UnknownProperty - Exception in org.freedesktop.dbus.errors
-
Thrown if a property does not exist in the interface
- UnknownProperty(String) - Constructor for exception org.freedesktop.dbus.errors.UnknownProperty
- UnknownTypeCodeException - Exception in org.freedesktop.dbus.exceptions
- UnknownTypeCodeException(byte) - Constructor for exception org.freedesktop.dbus.exceptions.UnknownTypeCodeException
- unwrap(T[]) - Static method in class org.freedesktop.dbus.ArrayFrob
- UpdateActivationEnvironment(Map<String, String>[]) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- UpdateActivationEnvironment(Map<String, String>[]) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
DBUS Specification:
Normally, session bus activated services inherit the environment of the bus daemon. - updatePermissions(String, String, Set<PosixFilePermission>) - Method in interface org.freedesktop.dbus.connections.transports.IFileBasedBusAddress
- upperCaseFirstChar(String) - Static method in class org.freedesktop.dbus.utils.Util
-
Upper case the first letter of the given string.
- Util - Class in org.freedesktop.dbus.utils
-
Utility class providing helper methods for handling strings, files and so on.
V
- value() - Element in annotation type org.freedesktop.dbus.annotations.DBusInterfaceName
-
The replacement interface name.
- value() - Element in annotation type org.freedesktop.dbus.annotations.DBusMemberName
-
The replacement member name.
- value() - Element in annotation type org.freedesktop.dbus.annotations.DBusProperties
-
Container for multiple properties
- value() - Element in annotation type org.freedesktop.dbus.annotations.DeprecatedOnDBus
-
Annotation value, true by default
- value() - Element in annotation type org.freedesktop.dbus.annotations.GlibCSymbol
- value() - Element in annotation type org.freedesktop.dbus.annotations.IntrospectionDescription
- value() - Element in annotation type org.freedesktop.dbus.annotations.MethodError
- value() - Element in annotation type org.freedesktop.dbus.annotations.MethodNoReply
-
Annotation value, true by default
- value() - Element in annotation type org.freedesktop.dbus.annotations.Position
-
The order of this field in the Struct.
- value() - Element in annotation type org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal
- value() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a BigInteger.
- valueOf(String) - Static method in enum org.freedesktop.dbus.annotations.DBusProperty.Access
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.freedesktop.dbus.connections.impl.DBusConnection.DBusBusType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.freedesktop.dbus.connections.ReceivingService.ExecutorNames
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.freedesktop.dbus.connections.SASL.SaslCommand
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.freedesktop.dbus.connections.SASL.SaslMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.freedesktop.dbus.connections.SASL.SaslResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.freedesktop.dbus.annotations.DBusProperty.Access
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.freedesktop.dbus.connections.impl.DBusConnection.DBusBusType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.freedesktop.dbus.connections.ReceivingService.ExecutorNames
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.freedesktop.dbus.connections.SASL.SaslCommand
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.freedesktop.dbus.connections.SASL.SaslMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.freedesktop.dbus.connections.SASL.SaslResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.freedesktop.dbus.DBusMap
- Variant<T> - Class in org.freedesktop.dbus.types
-
A Wrapper class for Variant values.
- Variant(T) - Constructor for class org.freedesktop.dbus.types.Variant
-
Create a Variant from a basic type object.
- Variant(T, Type) - Constructor for class org.freedesktop.dbus.types.Variant
-
Create a Variant.
- Variant(T, String) - Constructor for class org.freedesktop.dbus.types.Variant
-
Create a Variant.
- VARIANT - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- VARIANT_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- version() - Static method in class org.freedesktop.dbus.bin.DBusDaemon
W
- waitFor(String, IThrowingSupplier<Boolean, T>, long, long) - Static method in class org.freedesktop.dbus.utils.Util
-
Waits for the provided supplier to return true or throws an exception.
- warning(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerQuiet
- warning(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- withAdditionalConfig(String, Object) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Adds an additional config key to the transport config.
Will overwrite value if key exists. - withAuthMode(TransportBuilder.SaslAuthMode) - Method in class org.freedesktop.dbus.connections.config.SaslConfigBuilder
-
Setup the authentication mode to use.
- withAutoConnect(boolean) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Instantly connect to DBus when
TransportConfigBuilder.build()
is called. - withAutoConnect(boolean) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
TransportBuilder.configure()
- withBusAddress(BusAddress) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Set the
BusAddress
which should be used for the connection. - withConfig(TransportConfig) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Use the predefined TransportConfig.
- withDisconnectCallback(IDisconnectCallback) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Set the given disconnect callback to the created connection.
- withEndianess(byte) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Set the endianess for the connection Default is based on system endianess.
- withErrorHandlerThreadCount(int) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Set the size of the thread-pool used to handle error messages received on the bus.
- withErrorHandlerThreadCount(int) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.use receivingThreadConfig().withErrorHandlerThreadCount(_threads)
- withErrorThreadPriority(int) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Sets the thread priority of the created signal thread(s).
- withListening(boolean) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Use true to use the transport as listener (server).
- withMethedCallThreadPriority(int) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Sets the thread priority of the created signal thread(s).
- withMethodCallThreadCount(int) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Set the size of the thread-pool used to handle methods calls previously sent to the bus.
- withMethodCallThreadCount(int) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.use receivingThreadConfig().withMethodCallThreadCount(_threads)
- withMethodReturnThreadCount(int) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Set the size of the thread-pool used to handle method return values received on the bus.
- withMethodReturnThreadCount(int) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.use receivingThreadConfig().withMethodReturnThreadCount(_threads)
- withMethodReturnThreadPriority(int) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Sets the thread priority of the created signal thread(s).
- withPreConnectCallback(Consumer<AbstractTransport>) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Set a callback which will be called right before the connection to the transport is established.
- withRegisterSelf(boolean) - Method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Register the new connection on DBus using 'hello' message.
- withRemoveAdditionalConfig(String) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Removes an additional config key to of transport config.
Will do nothing if key does not exist. - withRetryHandler(ReceivingService.IThreadPoolRetryHandler) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Sets the retry handler which should be called when executing a runnable in
ReceivingService
thread pools fail. - withSaslAuthMode(TransportBuilder.SaslAuthMode) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.use
TransportConfigBuilder.configureSasl()
instead - withSaslAuthMode(TransportBuilder.SaslAuthMode) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
TransportBuilder.configure()
- withSaslUid(long) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.use
TransportConfigBuilder.configureSasl()
instead - withSaslUid(Long) - Method in class org.freedesktop.dbus.connections.config.SaslConfigBuilder
-
Setup the user ID to use for authentication when using unix sockets.
Will default to the user ID of the user running the current process. - withShared(boolean) - Method in class org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
-
Use this connection as shared connection.
- withSignalThreadCount(int) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Set the size of the thread-pool used to handle signals from the bus.
- withSignalThreadCount(int) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.use receivingThreadConfig().withSignalThreadCount(_threads)
- withSignalThreadPriority(int) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Sets the thread priority of the created signal thread(s).
- withStrictCookiePermissions(boolean) - Method in class org.freedesktop.dbus.connections.config.SaslConfigBuilder
-
Enable/disable checking of file permissions of the cookie files (used for DBUS_COOKIE_SHA1).
Cookie permission check will only be used on Linux/Unix like OSes.
Default is false (no strict checking). - withTimeout(int) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Setup a timeout for the transport.
- withTimeout(int) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
TransportBuilder.configure()
- withUnixSocketFileGroup(String) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
The group of the socket file if a unix socket is used and this is a server transport.
- withUnixSocketFileGroup(String) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
TransportBuilder.configure()
- withUnixSocketFileOwner(String) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
The owner of the socket file if a unix socket is used and this is a server transport.
- withUnixSocketFileOwner(String) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
TransportBuilder.configure()
- withUnixSocketFilePermissions(PosixFilePermission...) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
The permissions which will be set on socket file if a unix socket is used and this is a server transport.
- withUnixSocketFilePermissions(PosixFilePermission...) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
TransportBuilder.configure()
- withWeakReferences(boolean) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Enable/Disable weak references on connection.
- wrap(Object) - Static method in class org.freedesktop.dbus.ArrayFrob
- WRITE - Enum constant in enum org.freedesktop.dbus.annotations.DBusProperty.Access
- writeFileDescriptors(SocketChannel, List<FileDescriptor>) - Method in class org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter
-
Called to write any file descriptors to the given channel.
Should do nothing if there is no file descriptor to write, or method is not supported. - writeFileDescriptors(SocketChannel, List<FileDescriptor>) - Method in class org.freedesktop.dbus.spi.message.OutputStreamMessageWriter
- writeMessage(Message) - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Write a message to the underlying socket.
- writeMessage(Message) - Method in class org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter
- writeMessage(Message) - Method in interface org.freedesktop.dbus.spi.message.IMessageWriter
-
Write a message out to the bus.
- writeTextFile(String, String, Charset, boolean) - Static method in class org.freedesktop.dbus.utils.Util
-
Write String to file with the given charset.
X
- XmlErrorHandlerQuiet() - Constructor for class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerQuiet
- XmlErrorHandlerRuntimeException() - Constructor for class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- XmlErrorHandlers - Class in org.freedesktop.dbus.utils
-
Sample ErrorHandlers for XML Parsing.
- XmlErrorHandlers() - Constructor for class org.freedesktop.dbus.utils.XmlErrorHandlers
- XmlErrorHandlers.XmlErrorHandlerQuiet - Class in org.freedesktop.dbus.utils
-
XML Error Handler which will silently ignore all thrown Exceptions.
- XmlErrorHandlers.XmlErrorHandlerRuntimeException - Class in org.freedesktop.dbus.utils
-
XML Error Handler which will throw RuntimeException if any Exception was thrown.
- XmlUtil - Class in org.freedesktop.dbus.utils
-
Assorted static XML utility methods.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form