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(ConnectionConfig, TransportConfig, ReceivingServiceConfig) - Constructor for class org.freedesktop.dbus.connections.AbstractConnection
- AbstractConnectionBase - Class in org.freedesktop.dbus.connections.base
-
Class containing most parts required for a arbitrary connection.
It is not intended to be used directly, therefore it is sealed. - AbstractConnectionBase(ConnectionConfig, TransportConfig, ReceivingServiceConfig) - Constructor for class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- AbstractInputStreamMessageReader - Class in org.freedesktop.dbus.spi.message
-
Base class which can be used to implement a custom message reader.
- AbstractInputStreamMessageReader(SocketChannel, ISocketProvider) - 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, ISocketProvider) - 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> - 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
- accept(V) - Method in interface org.freedesktop.dbus.utils.IThrowingConsumer
-
Performs this operation on the given argument.
- acceptImpl() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Method to accept new incoming listening connections.
This is the place whereaccept()
is called on the server socket created byAbstractTransport.bindImpl()
.
Therefore this method will block until a client is connected. - access() - Element in annotation interface org.freedesktop.dbus.annotations.DBusBoundProperty
-
Property access type.
- access() - Element in annotation interface org.freedesktop.dbus.annotations.DBusProperty
-
Specifies the access type of this property.
- AccessDenied - Exception Class in org.freedesktop.dbus.errors
-
Thrown if a message is denied due to a security policy
- AccessDenied(String) - Constructor for exception class org.freedesktop.dbus.errors.AccessDenied
- accessForMethod(Method) - Static method in class org.freedesktop.dbus.propertyref.PropertyRef
- add(String, ExportedObject) - Method in class org.freedesktop.dbus.connections.base.FallbackContainer
- add(String, ExportedObject, String) - Method in class org.freedesktop.dbus.messages.ObjectTree
- 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 Class in org.freedesktop.dbus.exceptions
- AddressResolvingException(String) - Constructor for exception class 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 class 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(AbstractConnectionBase) - 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.
- apply(V) - Method in interface org.freedesktop.dbus.utils.IThrowingFunction
-
Returns the result of the function or throws an exception.
- 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. - ArgumentType - Class in org.freedesktop.dbus.messages.constants
-
Defines constants for each argument type.
- ARRAY - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- ARRAY_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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 class org.freedesktop.dbus.messages.constants.Flags
- auth(SocketChannel, AbstractTransport) - Method in class org.freedesktop.dbus.connections.SASL
-
Performs SASL auth on the given socketchannel.
- AUTH - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslCommand
- AUTH_ANON - Static variable in class org.freedesktop.dbus.connections.SASL
- AUTH_ANONYMOUS - Enum constant in enum class org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
-
No authentication (allow everyone).
- AUTH_COOKIE - Enum constant in enum class org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
-
Authentication using SHA Cookie.
- AUTH_EXTERNAL - Enum constant in enum class 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 Class in org.freedesktop.dbus.exceptions
- AuthenticationException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.AuthenticationException
- AuthenticationException(String, Throwable) - Constructor for exception class 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,
C> - 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 class org.freedesktop.dbus.connections.SASL.SaslCommand
- BIG - Static variable in class org.freedesktop.dbus.messages.constants.Endian
- bindImpl() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Method called to prepare listening for connections.
This is usually the place where theServerSocketChannel
is created andbind()
is called. - BOOLEAN - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- BOOLEAN_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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(BusAddress) - Constructor for class org.freedesktop.dbus.connections.BusAddress
- BYTE - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- BYTE_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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 class org.freedesktop.dbus.connections.SASL.SaslCommand
- 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.
- checkMethod(Method) - Static method in class org.freedesktop.dbus.propertyref.PropertyRef
- ClassOutsideOfPackageException - Exception Class in org.freedesktop.dbus.exceptions
- ClassOutsideOfPackageException(Class<?>) - Constructor for exception class org.freedesktop.dbus.exceptions.ClassOutsideOfPackageException
- ClassOutsideOfPackageException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.ClassOutsideOfPackageException
- clear() - Method in class org.freedesktop.dbus.DBusMap
-
Deprecated.
- clear() - Method in class org.freedesktop.dbus.StrongReference
- CLIENT - Enum constant in enum class 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.base.AbstractConnectionBase
-
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
- closeTransport() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Method which is called to close a transport.
Should be used to close all sockets and/or serversockets. - 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.base.AbstractConnectionBase
-
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.
- connectionConfig() - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Returns the used ConnectionBuilder for the connection for further configuration.
- ConnectionConfig - Class in org.freedesktop.dbus.connections.impl
- ConnectionConfig() - Constructor for class org.freedesktop.dbus.connections.impl.ConnectionConfig
- ConnectionMessageHandler - Class in org.freedesktop.dbus.connections.base
-
Abstract class containing most methods to handle/react to a message received on a connection.
- ConnectionMessageHandler(ConnectionConfig, TransportConfig, ReceivingServiceConfig) - Constructor for class org.freedesktop.dbus.connections.base.ConnectionMessageHandler
- ConnectionMethodInvocation - Class in org.freedesktop.dbus.connections.base
-
Abstract class containing most methods to invoke methods on a connection.
- ConnectionMethodInvocation(ConnectionConfig, TransportConfig, ReceivingServiceConfig) - Constructor for class org.freedesktop.dbus.connections.base.ConnectionMethodInvocation
- CONST - Enum constant in enum class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
-
The property never changes value during the lifetime of the object it belongs to, and hence the signal is never emitted for it.
- Container - Class in org.freedesktop.dbus
-
This class is the super class of both Structs and Tuples and holds common methods.
- containsKey(Object) - Method in class org.freedesktop.dbus.DBusMap
-
Deprecated.
- containsValue(Object) - Method in class org.freedesktop.dbus.DBusMap
-
Deprecated.
- CONTINUE - Enum constant in enum class 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
- convertJavaClassesToSignature(Class<?>...) - Static method in class org.freedesktop.dbus.Marshalling
-
Will return the DBus type corresponding to the given Java type.
- convertParameters(Object[], Type[], String[], AbstractConnectionBase) - Static method in class org.freedesktop.dbus.Marshalling
-
Recursively converts types for serialization onto DBus.
When _customSignature is not empty or null, it will be used to wrap the given parameters to aVariant
of the type defined in the _customSignature array.
It is required that everyVariant
passed has a signature definition in _customSignature.
E.g. 3 Objects are given in _parameters: String, Variant, Variant.
Then it is expected that _customSignature (if used) contains 2 entries one for eachVariant
.
If the _customSignature is smaller than the count ofVariant
s in _parameters, all remainingVariant
s
are created without a explicit signature (Variant constructor will try to determine type automatically).
If more entries are given thenVariant
s found in _parameters, the additional signatures are ignored. - convertParameters(Object[], Type[], AbstractConnectionBase) - Static method in class org.freedesktop.dbus.Marshalling
-
Recursively converts types for serialization onto DBus.
- convertRV(Object[], Method, AbstractConnection) - Static method in class org.freedesktop.dbus.RemoteInvocationHandler
- convertRV(Object[], Type[], 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.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. - create(X) - Method in class org.freedesktop.dbus.types.VariantBuilder
-
Create the Variant instance using the provided data object.
- 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.
- createError(String, String, long, String, Object...) - Method in class org.freedesktop.dbus.messages.MessageFactory
- createError(String, String, String, long, String, Object...) - Method in class org.freedesktop.dbus.messages.MessageFactory
- createError(String, Message, Throwable) - Method in class org.freedesktop.dbus.messages.MessageFactory
- createError(Message, Throwable) - Method in class org.freedesktop.dbus.messages.MessageFactory
- createFileDescriptor(int) - Method in interface org.freedesktop.dbus.spi.message.ISocketProvider
-
Attempts to create native
FileDescriptor
from raw int value. - createFileDescriptor(int) - Method in class org.freedesktop.dbus.utils.ReflectionFileDescriptorHelper
- createHeaderArgs(byte, String, Object) - Method in class org.freedesktop.dbus.messages.Message
-
Creates a message header.
- createMachineId() - Static method in class org.freedesktop.dbus.utils.AddressBuilder
-
Creates a machine identifier by using the MD5 sum of the hostname.
- createMessage(byte, byte[], byte[], byte[], List<FileDescriptor>) - Static method in class org.freedesktop.dbus.messages.MessageFactory
- createMethodCall(String, String, String, String, byte, String, Object...) - Method in class org.freedesktop.dbus.messages.MessageFactory
- createMethodCall(String, String, String, String, String, byte, String, Object...) - Method in class org.freedesktop.dbus.messages.MessageFactory
- createMethodReturn(String, MethodCall, String, Object...) - Method in class org.freedesktop.dbus.messages.MessageFactory
- createMethodReturn(MethodCall, String, Object...) - 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. - createReaderThread(BusAddress) - Method in class org.freedesktop.dbus.connections.AbstractConnection
- createReaderThread(BusAddress) - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
Create the read thread for reading incoming messages.
- createReal(AbstractConnectionBase) - Method in class org.freedesktop.dbus.messages.DBusSignal
-
Called to create signal objects for object handlers.
- createSignal(String, Object...) - Method in class org.freedesktop.dbus.messages.MessageFactory
- createSignal(String, String, String, String, String, Object...) - Method in class org.freedesktop.dbus.messages.MessageFactory
- 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, 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 class 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_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.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
- DBusBoundProperty - Annotation Interface in org.freedesktop.dbus.annotations
-
Binds a setter or getter method to a DBus property, in a similar manner to the familiar JavaBeans pattern.
- DBusBoundPropertyHandler - Class in org.freedesktop.dbus.connections.base
-
Abstract class containing methods for handling DBus properties and
DBusBoundProperty
annotation. - DBusBoundPropertyHandler(ConnectionConfig, TransportConfig, ReceivingServiceConfig) - Constructor for class org.freedesktop.dbus.connections.base.DBusBoundPropertyHandler
- 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 Class in org.freedesktop.dbus.connections.impl
- DBusConnectionBuilder - Class in org.freedesktop.dbus.connections.impl
-
Builder to create a new DBusConnection.
- DBusConnectionException - Exception Class in org.freedesktop.dbus.exceptions
-
Thrown when something goes wrong with the connection to DBus.
- DBusConnectionException() - Constructor for exception class org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(String, Throwable, boolean, boolean) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(Throwable) - Constructor for exception class 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 Class in org.freedesktop.dbus.exceptions
-
An exception within DBus.
- DBusException() - Constructor for exception class org.freedesktop.dbus.exceptions.DBusException
- DBusException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusException
-
Create an exception with the specified message
- DBusException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusException
- DBusException(String, Throwable, boolean, boolean) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusException
- DBusException(Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusException
- DBusExecutionException - Exception Class in org.freedesktop.dbus.exceptions
-
An exception while running a remote method within DBus.
- DBusExecutionException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusExecutionException
-
Create an exception with the specified message
- DBusExecutionException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusExecutionException
-
Create an exception with the specified message
- DBusIgnore - Annotation Interface 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 Interface 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 -
Deprecated, for removal: This API element is subject to removal in a future version.use any other Map implementation like HashMap, LinkedHashMap etc
- DBusMap(Object[][]) - Constructor for class org.freedesktop.dbus.DBusMap
-
Deprecated.
- 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 Interface 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.
- DBusObjects - Class in org.freedesktop.dbus.utils
-
Various validations.
- DBusPath - Class in org.freedesktop.dbus
- DBusPath(String) - Constructor for class org.freedesktop.dbus.DBusPath
- DBusPath(String, String) - Constructor for class org.freedesktop.dbus.DBusPath
- DBusProperties - Annotation Interface in org.freedesktop.dbus.annotations
-
Container for the multiple
DBusProperty
annotations in the single class. - DBusProperty - Annotation Interface in org.freedesktop.dbus.annotations
-
Appends information about properties in the interface.
- DBusProperty.Access - Enum Class 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> - Interface in org.freedesktop.dbus.interfaces
-
Handle a signal on DBus.
- DBusSignal - Class in org.freedesktop.dbus.messages
- DBusSignal(byte, String, Object...) - Constructor for class org.freedesktop.dbus.messages.DBusSignal
-
Create a new signal.
- DBusSignal(byte, String, String, String, String, String, Object...) - Constructor for class org.freedesktop.dbus.messages.DBusSignal
- DBusSignal(String, Object...) - Constructor for class org.freedesktop.dbus.messages.DBusSignal
-
Create a new signal.
- 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.
- DBusTypeConversationRuntimeException - Exception Class in org.freedesktop.dbus.exceptions
-
Exception thrown when type conversation failed.
- DBusTypeConversationRuntimeException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusTypeConversationRuntimeException
- DBusTypeConversationRuntimeException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.DBusTypeConversationRuntimeException
- 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
- defaultString(String, String) - Static method in class org.freedesktop.dbus.utils.Util
-
Return a default String if input is null.
- 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 Interface in org.freedesktop.dbus.annotations
-
Indicates that a DBus interface or method is deprecated
- deSerializeParameters(Object[], Type[], AbstractConnectionBase) - Static method in class org.freedesktop.dbus.Marshalling
- DESTINATION - Static variable in class org.freedesktop.dbus.messages.constants.HeaderField
- DICT_ENTRY - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- DICT_ENTRY_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- DICT_ENTRY1 - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- DICT_ENTRY1_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- DICT_ENTRY2 - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- DICT_ENTRY2_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- DirectConnection - Class in org.freedesktop.dbus.connections.impl
-
Handles a peer to peer connection between two applications without a bus daemon.
- DirectConnectionBuilder - Class in org.freedesktop.dbus.connections.impl
-
Builder to create a new DirectConnection.
- disconnect() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
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.base.AbstractConnectionBase
-
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 class org.freedesktop.dbus.messages.constants.ArgumentType
- DOUBLE_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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.
- doWithExportedObjects(Class<X>, IThrowingConsumer<Map<String, ExportedObject>, X>) - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
Do some action with the currently exported objects in a synchronized manor.
- doWithExportedObjectsAndReturn(Class<X>, IThrowingFunction<Map<String, ExportedObject>, T, X>) - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
Do some action with the currently exported objects in a synchronized manor.
- 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
- emitChangeSignal() - Element in annotation interface org.freedesktop.dbus.annotations.DBusBoundProperty
-
Annotation org.freedesktop.DBus.Property.EmitsChangedSignal.
- emitChangeSignal() - Element in annotation interface org.freedesktop.dbus.annotations.DBusProperty
-
Property which defines if a signal is emitted when the annotated property was changed.
- Endian - Class in org.freedesktop.dbus.messages.constants
-
Defines constants representing the endianness of the message.
- enqueue() - Method in class org.freedesktop.dbus.StrongReference
- ensurePublicInterfaces(Object) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures that all interfaces found on the given object a public accessable.
- entrySet() - Method in class org.freedesktop.dbus.DBusMap
-
Deprecated.
- equals(Object) - Method in class org.freedesktop.dbus.Container
- equals(Object) - Method in class org.freedesktop.dbus.DBusMap
-
Deprecated.
- 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.FileDescriptor
- equals(Object) - Method in class org.freedesktop.dbus.MethodTuple
- equals(Object) - Method in class org.freedesktop.dbus.ObjectPath
-
Deprecated.
- equals(Object) - Method in class org.freedesktop.dbus.propertyref.PropertyRef
- equals(Object) - Method in class org.freedesktop.dbus.RemoteObject
- 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.messages
-
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.messages.Error
- Error(byte, String, String, long, String, Object...) - Constructor for class org.freedesktop.dbus.messages.Error
- Error(byte, String, String, String, long, String, Object...) - Constructor for class org.freedesktop.dbus.messages.Error
- Error(byte, String, Message, Throwable) - Constructor for class org.freedesktop.dbus.messages.Error
- Error(byte, Message, Throwable) - Constructor for class org.freedesktop.dbus.messages.Error
- ERROR - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslCommand
- ERROR - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslResult
- ERROR - Enum constant in enum class org.freedesktop.dbus.connections.shared.ExecutorNames
- ERROR - Static variable in class org.freedesktop.dbus.messages.constants.MessageType
- ERROR_NAME - Static variable in class org.freedesktop.dbus.messages.constants.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, Type[], AbstractConnection, int, CallbackHandler<?>, Object...) - Static method in class org.freedesktop.dbus.RemoteInvocationHandler
- executeRemoteMethod(RemoteObject, Method, String[], Type[], AbstractConnection, int, CallbackHandler<?>, Object...) - Static method in class org.freedesktop.dbus.RemoteInvocationHandler
-
Executes a remote method.
- executeRemoteMethod(RemoteObject, Method, AbstractConnection, int, CallbackHandler<?>, Object...) - Static method in class org.freedesktop.dbus.RemoteInvocationHandler
- ExecutorNames - Enum Class in org.freedesktop.dbus.connections.shared
-
Enum representing different executor services.
- 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[], Message.ExtractOptions) - Method in class org.freedesktop.dbus.messages.Message
-
Demarshall values from a buffer.
- extract(String, byte[], int, Message.ExtractOptions) - Method in class org.freedesktop.dbus.messages.Message
-
Demarshall values from a buffer.
F
- FallbackContainer - Class in org.freedesktop.dbus.connections.base
- FALSE - Enum constant in enum class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
-
It is not guaranteed to emit a signal if the property changes.
- FatalDBusException - Exception Class in org.freedesktop.dbus.exceptions
- FatalDBusException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.FatalDBusException
- FatalDBusException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.FatalDBusException
- FatalDBusException(Throwable) - Constructor for exception class 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 - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- FILEDESCRIPTOR_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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.
- Flags - Class in org.freedesktop.dbus.messages.constants
-
Defines constants representing the flags which can be set on a message.
- FLOAT - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- FLOAT_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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.
- fromJavaFileDescriptor(FileDescriptor, ISocketProvider) - Static method in class org.freedesktop.dbus.FileDescriptor
-
Utility method to create a DBus
FileDescriptor
from aFileDescriptor
.
Tries to use the provided ISocketProvider if present first.
If not present or conversion failed, tries to convert using reflection.
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(String, Class<?>, DBusProperty.Access, PropertiesEmitsChangedSignal.EmitChangeSignal) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data for the single property.
- 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
-
Deprecated.
- get(String) - Method in class org.freedesktop.dbus.connections.base.FallbackContainer
- Get(String, String) - Method in interface org.freedesktop.dbus.interfaces.Properties
-
Get the value for the given property.
- getAccess() - Method in class org.freedesktop.dbus.propertyref.PropertyRef
- getAccessName() - Method in enum class 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.base.AbstractConnectionBase
-
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
- getAfterBindCallback() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- 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.
- 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 class org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
- getBindCallback() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Configured bind callback.
- getBusAddress() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- 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.base.PendingCallbackManager
- getCallbackManager() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- getCallbackReply(MethodCall) - Method in class org.freedesktop.dbus.connections.base.PendingCallbackManager
- getCallInfo() - Static method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
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
- getConnectCallback() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Configured pre-connect callback.
- getConnection() - Method in class org.freedesktop.dbus.DBusAsyncReply
- getConnectionConfig() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- getConnectionConfig() - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Returns the currently configured connection configuration.
- 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.
- getConstructor(Class<? extends C>, Class<?>...) - Static method in class org.freedesktop.dbus.utils.Util
-
Tries to find a constructor of the given class with the given signature.
- 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.
- getDBusOwnerName(String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- getDBusOwnerName(String) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
-
Returns name of the current owning dbus session.
- 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 class org.freedesktop.dbus.connections.shared.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.base.AbstractConnectionBase
-
Returns the currently configured disconnect callback.
- getDisconnectCallback() - Method in class org.freedesktop.dbus.connections.impl.ConnectionConfig
- 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.
- getEmitChangeSignal() - Method in class org.freedesktop.dbus.propertyref.PropertyRef
- getEndianess() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getEndianess() - Method in class org.freedesktop.dbus.messages.Message
- getEndianess() - Method in class org.freedesktop.dbus.messages.MessageFactory
- getError() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
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.messages.Error
-
Turns this into an exception of the correct type
- getExportedObject(String, String) - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
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.base.AbstractConnectionBase
-
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.base.AbstractConnectionBase
- getFallbackContainer() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- getFiledescriptors() - Method in class org.freedesktop.dbus.messages.Message
- getFileDescriptorValue(FileDescriptor) - Method in interface org.freedesktop.dbus.spi.message.ISocketProvider
-
Attempts to extract raw FileDescriptor value from
FileDescriptor
instance. - getFileDescriptorValue(FileDescriptor) - Method in class org.freedesktop.dbus.utils.ReflectionFileDescriptorHelper
- 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.base.AbstractConnectionBase
- 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.base.AbstractConnectionBase
- 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.
- 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.
- getImplementedInterfaces() - Method in class org.freedesktop.dbus.messages.ExportedObject
- getImportedObjects() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- getInfoMap() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- getInstance() - Static method in class org.freedesktop.dbus.utils.ReflectionFileDescriptorHelper
- 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.base.AbstractConnectionBase
- getLogger() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Get the logger in subclasses.
- getLogger() - Method in class org.freedesktop.dbus.MethodTuple
- getLogger() - Method in class org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader
- getLogger() - Method in class org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter
- getMachineId() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
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.base.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
- getMessageFactory() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- getMessageFactory() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Currently configured message factory.
- getMessageFactory() - Method in class org.freedesktop.dbus.connections.transports.TransportConnection
- 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
- getName() - Method in class org.freedesktop.dbus.propertyref.PropertyRef
- 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.base.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.base.AbstractConnectionBase
- 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.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.
- getParameters(List<Type[]>) - 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
- getPeerRemoteObject(String, String) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
-
Return a reference to a remote object.
- getPeerRemoteObject(String, String, Class<I>) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
- getPeerRemoteObject(String, String, Class<I>, boolean) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
-
Return a reference to a remote object.
- getPeerRemoteObject(String, DBusPath, Class<I>) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
- getPeerRemoteObject(String, DBusPath, Class<I>, boolean) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
- getPendingCalls() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- getPendingErrorQueue() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- getPreConnectCallback() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getPrimitiveToWrapperTypes() - Static method in class org.freedesktop.dbus.ArrayFrob
-
Deprecated.
- getPrimitiveToWrapperTypes() - Static method in class org.freedesktop.dbus.utils.PrimitiveUtils
-
Map with all primitives and the corresponding wrapper type.
- getPropertiesChanged() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
-
Return the changed properties.
- getPropertiesMethod(String, Class<?>...) - Static method in class org.freedesktop.dbus.propertyref.PropRefRemoteHandler
- getPropertiesRemoved() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
-
Returns a list of removed property keys.
- getPropertyMethods() - Method in class org.freedesktop.dbus.messages.ExportedObject
- getPropertyName(Method) - Static method in class org.freedesktop.dbus.utils.DBusNamingUtil
-
Get a property name for a method (annotated with
DBusBoundProperty
. - 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
- getReceivingService() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- 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
- getRemoteObject(String, String) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
-
Return a reference to a remote object.
- getRemoteObject(String, String, Class<I>) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
-
Return a reference to a remote object.
- getRemoteObject(String, String, Class<I>, boolean) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- getRemoteObject(String, String, Class<I>, boolean) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
-
Return a reference to a remote object.
- getRemoteObject(String, DBusPath) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
- getRemoteObject(String, DBusPath, Class<I>) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
- getRemoteObject(String, DBusPath, Class<I>, boolean) - Method in interface org.freedesktop.dbus.connections.impl.IRemoteObjectGetter
- 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
. - 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.
- 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)
- getServiceLoaderClassLoader() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- getServiceLoaderModuleLayer() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- 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.
- 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
- getSocketProviderImpl() - Method in class org.freedesktop.dbus.connections.transports.TransportConnection
- getSocketProviderImpl() - Method in class org.freedesktop.dbus.spi.message.AbstractInputStreamMessageReader
- getSocketProviderImpl() - Method in class org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter
- 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.DBusPath
- 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
-
Deprecated.
- 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.impl.BaseConnectionBuilder
-
Get the default system endianness.
- 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
- getTransport() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
The currently configured transport.
- getTransportConfig() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
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
- getTransportConnection() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Returns the current transport connection.
- 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 class org.freedesktop.dbus.exceptions.DBusExecutionException
-
Deprecated, for removal: This API element is subject to removal in a future version.type is never used
- getType() - Method in class org.freedesktop.dbus.messages.Message
-
Type of this message.
- getType() - Method in class org.freedesktop.dbus.propertyref.PropertyRef
- 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.
- getUnknownSignalHandler() - Method in class org.freedesktop.dbus.connections.impl.ConnectionConfig
- getValue() - Method in class org.freedesktop.dbus.types.Variant
-
Return the wrapped value.
- getWireData() - Method in class org.freedesktop.dbus.messages.Message
- getWrapperToPrimitiveTypes() - Static method in class org.freedesktop.dbus.ArrayFrob
-
Deprecated.
- getWrapperToPrimitiveTypes() - Static method in class org.freedesktop.dbus.utils.PrimitiveUtils
-
Map with all wrapper types and the corresponding primitive.
- getWriter() - Method in class org.freedesktop.dbus.connections.transports.TransportConnection
- GlibCSymbol - Annotation Interface in org.freedesktop.dbus.annotations
-
Define a C symbol to map to this method.
- GlobalHandler - Class in org.freedesktop.dbus.connections.base
H
- handle(ExecutorNames, Exception) - Method in interface org.freedesktop.dbus.connections.shared.IThreadPoolRetryHandler
-
Called to handle an exception.
- handle(T) - Method in interface org.freedesktop.dbus.interfaces.CallbackHandler
- handle(T) - Method in interface org.freedesktop.dbus.interfaces.DBusSigHandler
-
Handle a signal.
- handleDBusBoundProperties(ExportedObject, MethodCall, Object[]) - Method in class org.freedesktop.dbus.connections.base.DBusBoundPropertyHandler
-
Method which handles the magic related to
DBusBoundProperty
annotation.
It takes care of proper method calling (calling Get/Set stuff on DBus Properties interface)
and will also take care of converting wrapped Variant types. - handleDBusBoundProperty(AbstractConnection, RemoteObject, Method, Object[]) - Static method in class org.freedesktop.dbus.propertyref.PropRefRemoteHandler
-
Handles the
DBusBoundProperty
annotation.
The special handling is needed because when this annotation is used the
object uses the DBusProperties
interface without explicitly implementing it.
In that case we have to fake the presents of this interface and also take care about
the types which have to be wrapped inVariant
(due to DBus Properties specify that every property value is aVariant
). - handleError(DBusExecutionException) - Method in interface org.freedesktop.dbus.interfaces.CallbackHandler
- handleException(Message, DBusExecutionException) - Method in class org.freedesktop.dbus.connections.base.ConnectionMessageHandler
- handleException(Message, DBusExecutionException) - Method in class org.freedesktop.dbus.connections.base.ConnectionMethodInvocation
- handleGet(ExportedObject, MethodCall, Object[]) - Method in class org.freedesktop.dbus.connections.base.DBusBoundPropertyHandler
-
Called when 'Get' method of DBus
Properties
interface is called. - handleGetAll(ExportedObject, MethodCall) - Method in class org.freedesktop.dbus.connections.base.DBusBoundPropertyHandler
-
Called when 'GetAll' method of DBus
Properties
interface is called. - handleMessage(Error) - Method in class org.freedesktop.dbus.connections.base.ConnectionMessageHandler
- handleMessage(MethodReturn) - Method in class org.freedesktop.dbus.connections.base.ConnectionMessageHandler
- handleSet(ExportedObject, MethodCall, Object[]) - Method in class org.freedesktop.dbus.connections.base.DBusBoundPropertyHandler
-
Called when 'Set' method of DBus
Properties
interface is called. - 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.Container
- hashCode() - Method in class org.freedesktop.dbus.DBusMap
-
Deprecated.
- hashCode() - Method in class org.freedesktop.dbus.DBusMatchRule
- hashCode() - Method in class org.freedesktop.dbus.DBusPath
- hashCode() - Method in class org.freedesktop.dbus.FileDescriptor
- hashCode() - Method in class org.freedesktop.dbus.MethodTuple
- hashCode() - Method in class org.freedesktop.dbus.ObjectPath
-
Deprecated.
- hashCode() - Method in class org.freedesktop.dbus.propertyref.PropertyRef
- hashCode() - Method in class org.freedesktop.dbus.RemoteObject
- 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
- HeaderField - Class in org.freedesktop.dbus.messages.constants
-
Defines constants for each valid header field type.
- 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.
- 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 Class in org.freedesktop.dbus.exceptions
-
Thrown when a used thread pool (e.g. in ReceivingService) is in an invalid state.
- IllegalThreadPoolStateException() - Constructor for exception class org.freedesktop.dbus.exceptions.IllegalThreadPoolStateException
- IllegalThreadPoolStateException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.IllegalThreadPoolStateException
- IllegalThreadPoolStateException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.IllegalThreadPoolStateException
- IllegalThreadPoolStateException(Throwable) - Constructor for exception class 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.base
- IncomingMessageThread(ConnectionMessageHandler, BusAddress) - Constructor for class org.freedesktop.dbus.connections.base.IncomingMessageThread
- InputStreamMessageReader - Class in org.freedesktop.dbus.spi.message
- InputStreamMessageReader(SocketChannel) - Constructor for class org.freedesktop.dbus.spi.message.InputStreamMessageReader
- INT16 - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- INT16_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- INT32 - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- INT32_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- INT64 - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- INT64_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- INTERFACE - Static variable in class org.freedesktop.dbus.messages.constants.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.base.AbstractConnectionBase
-
Disconnects the DBus session.
- InternalMessageException - Exception Class in org.freedesktop.dbus.exceptions
- InternalMessageException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.InternalMessageException
- Introspect() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- Introspect() - Method in class org.freedesktop.dbus.connections.base.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 Interface 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 class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
-
The signal is emitted but the value is not included in the signal.
- InvalidBusAddressException - Exception Class in org.freedesktop.dbus.exceptions
-
Thrown when a invalid BusAddress should be created.
- InvalidBusAddressException() - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidBusAddressException
- InvalidBusAddressException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidBusAddressException
- InvalidBusAddressException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidBusAddressException
- InvalidBusAddressException(Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidBusAddressException
- InvalidBusNameException - Exception Class in org.freedesktop.dbus.exceptions
- InvalidBusNameException() - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidBusNameException
- InvalidBusNameException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidBusNameException
- InvalidBusNameException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidBusNameException
- InvalidBusNameException(Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidBusNameException
- InvalidInterfaceSignature - Exception Class in org.freedesktop.dbus.exceptions
- InvalidInterfaceSignature(Collection<String>) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidInterfaceSignature
- InvalidMethodArgument - Exception Class in org.freedesktop.dbus.errors
-
Thrown if a arguments passed to the method are invalid
- InvalidMethodArgument(String) - Constructor for exception class org.freedesktop.dbus.errors.InvalidMethodArgument
- InvalidObjectPathException - Exception Class in org.freedesktop.dbus.exceptions
- InvalidObjectPathException() - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidObjectPathException
- InvalidObjectPathException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidObjectPathException
- InvalidObjectPathException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidObjectPathException
- InvalidObjectPathException(Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidObjectPathException
- InvalidSignalException - Exception Class in org.freedesktop.dbus.exceptions
- InvalidSignalException(Class<?>) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidSignalException
- InvalidSignalException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidSignalException
- InvalidSignalException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidSignalException
- InvalidSignalException(Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.InvalidSignalException
- invoke(Object, Method, Object[]) - Method in class org.freedesktop.dbus.RemoteInvocationHandler
- invokedMethodReply(MethodCall, Method, Object) - Method in class org.freedesktop.dbus.connections.base.ConnectionMethodInvocation
- invokeMethod(MethodCall, Method, Object) - Method in class org.freedesktop.dbus.connections.base.ConnectionMethodInvocation
- invokeMethodAndReply(MethodCall, Method, Object, boolean) - Method in class org.freedesktop.dbus.connections.base.ConnectionMethodInvocation
- IRemoteObjectGetter - Interface in org.freedesktop.dbus.connections.impl
-
Interface which contains all methods to retrieve any object from DBus.
- 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.
- isBound() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Status of the server socket if this transport is configured to be a server connection.
Must be false ifAbstractTransport.bindImpl()
was not called. - 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
- isCompatiblePrimitiveOrWrapper(Class<?>, Class<?>) - Static method in class org.freedesktop.dbus.utils.PrimitiveUtils
-
Check if the given classes are equal or are equal wrapper types (e.g. byte == Byte).
- isConnected() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
Whether the transport is connected.
- 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.DBusMap
-
Deprecated.
- 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
- isExportWeakReferences() - Method in class org.freedesktop.dbus.connections.impl.ConnectionConfig
- 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.AbstractConnection
- isFileDescriptorSupported() - Method in class org.freedesktop.dbus.connections.SASL
- isFileDescriptorSupported() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- isFreeBsd() - Static method in class org.freedesktop.dbus.utils.Util
- isImportWeakReferences() - Method in class org.freedesktop.dbus.connections.impl.ConnectionConfig
- 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.
- 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
- isRegisterSelf() - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- isRemote() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- isRemote() - Method in class org.freedesktop.dbus.connections.base.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
- isWindows() - Static method in class org.freedesktop.dbus.utils.Util
-
Checks if the running OS is a MS Windows OS.
- IThreadPoolRetryHandler - Interface in org.freedesktop.dbus.connections.shared
-
Interface which specifies a handler which will be called when the thread pool throws any exception.
- IThrowingConsumer<V,
T> - Interface in org.freedesktop.dbus.utils -
Supplier which allows throwing any exception.
- IThrowingFunction<V,
R, - Interface in org.freedesktop.dbus.utilsT> -
Function which allows throwing any exception.
- IThrowingSupplier<V,
T> - 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.base.AbstractConnectionBase
-
Start reading and 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.
- 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 class org.freedesktop.dbus.messages.constants.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 Class in org.freedesktop.dbus.exceptions
- MarshallingException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.MarshallingException
- MarshallingException(String, Throwable) - Constructor for exception class 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 Class in org.freedesktop.dbus.errors
-
Thrown if the match rule is invalid
- MatchRuleInvalid(String) - Constructor for exception class 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 class org.freedesktop.dbus.messages.constants.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 class org.freedesktop.dbus.messages.constants.HeaderField
- Message - Class in org.freedesktop.dbus.messages
-
Superclass of all messages which are sent over the Bus.
This class deals with all the marshalling to/from the wire format. - 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.
- MessageFactory - Class in org.freedesktop.dbus.messages
- MessageFactory(byte) - Constructor for class org.freedesktop.dbus.messages.MessageFactory
- MessageFormatException - Exception Class in org.freedesktop.dbus.exceptions
-
Thrown if a message is formatted incorrectly.
- MessageFormatException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.MessageFormatException
- MessageProtocolVersionException - Exception Class in org.freedesktop.dbus.exceptions
- MessageProtocolVersionException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.MessageProtocolVersionException
- MessageType - Class in org.freedesktop.dbus.messages.constants
-
Defines constants for each message type.
- MessageTypeException - Exception Class in org.freedesktop.dbus.exceptions
- MessageTypeException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.MessageTypeException
- METHOD_CALL - Static variable in class org.freedesktop.dbus.messages.constants.MessageType
- METHOD_RETURN - Static variable in class org.freedesktop.dbus.messages.constants.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(byte, String, String, String, String, byte, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodCall
- MethodCall(byte, String, String, String, String, String, byte, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodCall
- METHODCALL - Enum constant in enum class org.freedesktop.dbus.connections.shared.ExecutorNames
- MethodError - Annotation Interface in org.freedesktop.dbus.annotations
-
Give an error that the method can return
- MethodNoReply - Annotation Interface in org.freedesktop.dbus.annotations
-
Methods annotated with this do not send a reply
- MethodReturn - Class in org.freedesktop.dbus.messages
- MethodReturn(byte, String, long, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodReturn
- MethodReturn(byte, 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 class org.freedesktop.dbus.connections.shared.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
- MissingInterfaceImplementationException - Exception Class in org.freedesktop.dbus.exceptions
- MissingInterfaceImplementationException(Class<?>) - Constructor for exception class org.freedesktop.dbus.exceptions.MissingInterfaceImplementationException
- MissingInterfaceImplementationException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.MissingInterfaceImplementationException
- 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 interface org.freedesktop.dbus.annotations.DBusBoundProperty
-
Property name.
- name() - Element in annotation interface 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 class org.freedesktop.dbus.connections.SASL.SaslCommand
- NEW_KEY_TIMEOUT_SECONDS - Static variable in class org.freedesktop.dbus.connections.SASL
- 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 class org.freedesktop.dbus.messages.constants.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 class org.freedesktop.dbus.messages.constants.Flags
- NonFatalException - Interface in org.freedesktop.dbus.interfaces
- NoReply - Exception Class in org.freedesktop.dbus.errors
-
Thrown if there is no reply to a method call
- NoReply(String) - Constructor for exception class org.freedesktop.dbus.errors.NoReply
- NotConnected - Exception Class in org.freedesktop.dbus.exceptions
-
Thrown if a DBus action is called when not connected to the Bus.
- NotConnected(String) - Constructor for exception class org.freedesktop.dbus.exceptions.NotConnected
- NotSupported - Exception Class in org.freedesktop.dbus.errors
-
Thrown if a called operation is not supported
- NotSupported(String) - Constructor for exception class org.freedesktop.dbus.errors.NotSupported
O
- OBJECT_PATH - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- OBJECT_PATH_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- 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
-
Deprecated, for removal: This API element is subject to removal in a future version.please use
DBusPath
instead - ObjectPath(String, String) - Constructor for class org.freedesktop.dbus.ObjectPath
-
Deprecated.
- 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(Class<?>) - Static method in class org.freedesktop.dbus.types.VariantBuilder
-
Create a new instance using the given class as starting point.
- of(String) - Static method in class org.freedesktop.dbus.connections.BusAddress
-
Creates a new
BusAddress
from String. - of(String...) - Static method in class org.freedesktop.dbus.DBusPath
-
Create a DBusPath object using one or multiple string parts.
- of(BusAddress) - Static method in class org.freedesktop.dbus.connections.BusAddress
-
Creates a copy of the given
BusAddress
. - OK - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslCommand
- OK - Enum constant in enum class 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.base - package org.freedesktop.dbus.connections.base
- 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.shared - package org.freedesktop.dbus.connections.shared
- 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.messages.constants - package org.freedesktop.dbus.messages.constants
- org.freedesktop.dbus.propertyref - package org.freedesktop.dbus.propertyref
- 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.
- PATH - Static variable in class org.freedesktop.dbus.messages.constants.HeaderField
- Peer - Interface in org.freedesktop.dbus.interfaces
-
All DBus Applications should respond to the Ping method on this interface
- PendingCallbackManager - Class in org.freedesktop.dbus.connections.base
- 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.base.GlobalHandler
- Ping() - Method in interface org.freedesktop.dbus.interfaces.Peer
- Position - Annotation Interface in org.freedesktop.dbus.annotations
-
Position annotation, to annotate Struct fields to be sent over DBus.
- PrimitiveUtils - Class in org.freedesktop.dbus.utils
-
Utility class containing methods dealing with object and primitive class types.
- 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
- 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 Interface 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 Class in org.freedesktop.dbus.annotations
-
The different values which are supported for emitting a signal.
- PropertyReadOnly - Exception Class in org.freedesktop.dbus.errors
-
Thrown if a attempt to edit read only property
- PropertyReadOnly(String) - Constructor for exception class org.freedesktop.dbus.errors.PropertyReadOnly
- PropertyRef - Class in org.freedesktop.dbus.propertyref
-
Contains the same information as a
DBusBoundProperty
, but as a POJO. - PropertyRef(String, Class<?>, DBusProperty.Access) - Constructor for class org.freedesktop.dbus.propertyref.PropertyRef
- PropertyRef(String, Class<?>, DBusProperty.Access, PropertiesEmitsChangedSignal.EmitChangeSignal) - Constructor for class org.freedesktop.dbus.propertyref.PropertyRef
- PropertyRef(DBusProperty) - Constructor for class org.freedesktop.dbus.propertyref.PropertyRef
- PropRefRemoteHandler - Class in org.freedesktop.dbus.propertyref
-
Contains
DBusBoundProperty
code used for remote method invokation. - 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
-
Deprecated.
- putAll(Map<? extends K, ? extends V>) - Method in class org.freedesktop.dbus.DBusMap
-
Deprecated.
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.base.PendingCallbackManager
- queueInvokeMethod(MethodCall, Method, Object) - Method in class org.freedesktop.dbus.connections.base.ConnectionMethodInvocation
R
- randomString(int) - Static method in class org.freedesktop.dbus.utils.Util
-
Generate a simple (cryptographic insecure) random string.
- READ - Enum constant in enum class org.freedesktop.dbus.annotations.DBusProperty.Access
- READ_WRITE - Enum constant in enum class 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.base
-
Service providing threads for every type of message expected to be received by DBus.
- ReceivingServiceConfig - Class in org.freedesktop.dbus.connections.config
-
Bean which holds configuration for
ReceivingService
. - ReceivingServiceConfigBuilder<R> - 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.
- ReflectionFileDescriptorHelper - Class in org.freedesktop.dbus.utils
-
Helper to work with
FileDescriptor
instances by using reflection - register() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Register this connection on the bus using 'Hello' message.
Will do nothing if session was already registered. - REJECT - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslResult
- REJECTED - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslCommand
- rejectUnknownProperty(MethodCall, Object[]) - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
Sends a reply on the bus to signal a non-existing property was requested.
- 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.DBusMap
-
Deprecated.
- remove(String) - Method in class org.freedesktop.dbus.connections.base.FallbackContainer
- remove(String) - Method in class org.freedesktop.dbus.messages.ObjectTree
- removeCallback(MethodCall) - Method in class org.freedesktop.dbus.connections.base.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 class org.freedesktop.dbus.messages.constants.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.
- requireBusName(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures given string is a valid bus name.
- requireBusName(String, String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures given string is a valid bus name.
- requireBusNameOrConnectionId(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures given string is a valid bus name or connection Id.
- requireConnectionId(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures given string is a valid connection Id.
- requireDBusInterface(Class<?>) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures that the given class is implements or extends
DBusInterface
class. - requireDBusInterface(Class<?>, String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures that the given class is implements or extends
DBusInterface
class. - requireNotBusName(String, String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures given string is NOT a valid bus name.
- requireNotNull(T, Supplier<X>) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensure given value is not null.
- requireObjectPath(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures given string is a valid object path.
- requireObjectPath(String, String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures given string is a valid object path.
- requireObjectPath(DBusPath) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures given DBusPath is a valid object path.
- requireObjectPath(DBusPath, String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures given DBusPath is a valid object path.
- requirePackage(Class<?>) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures that the given class is part of a package.
- requirePackage(Class<?>, String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Ensures that the given class is part of a package.
- reset() - Method in class org.freedesktop.dbus.utils.TimeMeasure
-
Resets the start time.
- 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.base.IncomingMessageThread
S
- SASL - Class in org.freedesktop.dbus.connections
- 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 Class in org.freedesktop.dbus.connections
- SASL.SaslMode - Enum Class in org.freedesktop.dbus.connections
- SASL.SaslResult - Enum Class 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 class org.freedesktop.dbus.messages.constants.HeaderField
- sendMessage(Message) - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
Send a message or signal to the DBus daemon.
- serialize() - Method in interface org.freedesktop.dbus.interfaces.DBusSerializable
- SERVER - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslMode
- ServiceUnknown - Exception Class in org.freedesktop.dbus.errors
-
Thrown if the requested service was not available
- ServiceUnknown(String) - Constructor for exception class org.freedesktop.dbus.errors.ServiceUnknown
- SESSION - Enum constant in enum class 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
- setAfterBindCallback(Consumer<AbstractTransport>) - 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
- setBindCallback(Consumer<AbstractTransport>) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Callback which will be called by transport right after the server socket was bound.
Server will not yet accept connections at this point, but it started listening on the configured address. - 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
- setConnectCallback(Consumer<AbstractTransport>) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Callback which will be called by transport right before the socket is bound and connections will be accepted.
- 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.base.AbstractConnectionBase
-
Deprecated, for removal: This API element is subject to removal in a future version.should be set on construction using the builder
- setDisconnectCallback(IDisconnectCallback) - Method in class org.freedesktop.dbus.connections.impl.ConnectionConfig
- setEndianess(byte) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setExportWeakReferences(boolean) - Method in class org.freedesktop.dbus.connections.impl.ConnectionConfig
- 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.
- setImportWeakReferences(boolean) - Method in class org.freedesktop.dbus.connections.impl.ConnectionConfig
- 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
-
Deprecated, for removal: This API element is subject to removal in a future version.path will be final in future, please do no longer use the setter.
- 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.
- setRegisterSelf(boolean) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setReply(Message) - Method in class org.freedesktop.dbus.messages.MethodCall
- setResponse(String) - Method in class org.freedesktop.dbus.connections.SASL.Command
- 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
. - setSaslUid(OptionalLong) - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- setSerial(long) - Method in class org.freedesktop.dbus.messages.Message
- setServiceLoaderClassLoader(ClassLoader) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
ClassLoader to use for
ServiceLoader
to findITransportProvider
implementations. - setServiceLoaderClassLoader(ClassLoader) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- setServiceLoaderModuleLayer(ModuleLayer) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Module Layer to use for
ServiceLoader
to findITransportProvider
implementations. - setServiceLoaderModuleLayer(ModuleLayer) - Method in class org.freedesktop.dbus.connections.config.TransportConfig
- 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
-
Deprecated.
- 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 class org.freedesktop.dbus.exceptions.DBusExecutionException
-
Deprecated, for removal: This API element is subject to removal in a future version.the configured type is never used
- 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. - setUnknownSignalHandler(Consumer<DBusSignal>) - Method in class org.freedesktop.dbus.connections.impl.ConnectionConfig
- setupAndInvoke(MethodCall, Method, Object, boolean) - Method in class org.freedesktop.dbus.connections.base.ConnectionMethodInvocation
- setWeakReferences(boolean) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.should be set during construction time (using the builder), will be removed in future
- 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.base.ReceivingService
-
Shutdown all executor services waiting up to the given timeout/unit.
- shutdownNow() - Method in class org.freedesktop.dbus.connections.base.ReceivingService
-
Forcefully stop the executors.
- SIGNAL - Enum constant in enum class org.freedesktop.dbus.connections.shared.ExecutorNames
- SIGNAL - Static variable in class org.freedesktop.dbus.messages.constants.MessageType
- signalSource - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- signalSource - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- SIGNATURE - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- SIGNATURE - Static variable in class org.freedesktop.dbus.messages.constants.HeaderField
- SIGNATURE_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- size() - Method in class org.freedesktop.dbus.DBusMap
-
Deprecated.
- 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 Class in org.freedesktop.dbus.exceptions
-
Exception which indicates a terminated connection.
- SocketClosedException() - Constructor for exception class org.freedesktop.dbus.exceptions.SocketClosedException
- SocketClosedException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.SocketClosedException
- SocketClosedException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.SocketClosedException
- SocketClosedException(Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.SocketClosedException
- startInBackground() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Start the DBusDaemon in background and returns immediately.
- startInBackgroundAndWait() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Starts the DBusDaemon in background.
- 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 class org.freedesktop.dbus.messages.constants.ArgumentType
- STRING_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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 class org.freedesktop.dbus.messages.constants.ArgumentType
- STRUCT_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- STRUCT1 - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- STRUCT1_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- STRUCT2 - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- STRUCT2_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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 class org.freedesktop.dbus.connections.impl.DBusConnection.DBusBusType
-
System Bus
T
- 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.base.IncomingMessageThread
- throwException() - Method in class org.freedesktop.dbus.messages.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 Class in org.freedesktop.dbus.errors
-
Thrown if a operation timed out
- Timeout(String) - Constructor for exception class org.freedesktop.dbus.errors.Timeout
- 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(ISocketProvider) - Method in class org.freedesktop.dbus.FileDescriptor
-
Converts this DBus
FileDescriptor
to aFileDescriptor
.
Tries to use the provided ISocketProvider if present first. - toObjectArray(Object) - Static method in class org.freedesktop.dbus.utils.Util
-
Convert a object of arbitrary type to an object array.
If input is null or not an array, an empty array will be returned. - top() - Method in class org.freedesktop.dbus.types.UInt64
-
Most significant 4 bytes.
- toString() - Method in enum class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
- toString() - Method in class org.freedesktop.dbus.bin.DBusDaemon.ConnectionStruct
- toString() - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
- toString() - Method in class org.freedesktop.dbus.connections.BusAddress
- toString() - Method in class org.freedesktop.dbus.connections.config.SaslConfig
- toString() - Method in class org.freedesktop.dbus.connections.SASL.Command
- toString() - Method in enum class org.freedesktop.dbus.connections.shared.ExecutorNames
- 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
-
Deprecated.
- toString() - Method in class org.freedesktop.dbus.DBusMatchRule
- toString() - Method in class org.freedesktop.dbus.DBusPath
- toString() - Method in class org.freedesktop.dbus.FileDescriptor
- toString() - Method in class org.freedesktop.dbus.interfaces.DBus.NameAcquired
- toString() - Method in class org.freedesktop.dbus.interfaces.DBus.NameLost
- toString() - Method in class org.freedesktop.dbus.interfaces.DBus.NameOwnerChanged
- 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.ExportedObject
- 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.spi.message.AbstractInputStreamMessageReader
- toString() - Method in class org.freedesktop.dbus.spi.message.AbstractOutputStreamMessageWriter
- toString() - Method in class org.freedesktop.dbus.types.DBusListType
- toString() - Method in class org.freedesktop.dbus.types.DBusMapType
- 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 Class 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,
R> - Class in org.freedesktop.dbus.connections.config - TransportConfigBuilder(Supplier<R>) - Constructor for class org.freedesktop.dbus.connections.config.TransportConfigBuilder
- TransportConfigurationException - Exception Class in org.freedesktop.dbus.exceptions
- TransportConfigurationException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.TransportConfigurationException
- TransportConfigurationException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.TransportConfigurationException
- TransportConnection - Class in org.freedesktop.dbus.connections.transports
-
Represents one transport connection of any type.
- TransportConnection(MessageFactory, SocketChannel, ISocketProvider, IMessageWriter, IMessageReader) - Constructor for class org.freedesktop.dbus.connections.transports.TransportConnection
- TransportRegistrationException - Exception Class in org.freedesktop.dbus.exceptions
-
Thrown if registration of transport providers fails.
- TransportRegistrationException(String) - Constructor for exception class org.freedesktop.dbus.exceptions.TransportRegistrationException
- TransportRegistrationException(String, Throwable) - Constructor for exception class org.freedesktop.dbus.exceptions.TransportRegistrationException
- TRUE - Enum constant in enum class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
-
The signal is emitted with the value included.
- 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 interface org.freedesktop.dbus.annotations.DBusBoundProperty
-
Type of the property, in case of complex types please create custom interface that extends
TypeRef
. - type() - Element in annotation interface 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
- typeForMethod(Method) - Static method in class org.freedesktop.dbus.propertyref.PropertyRef
- TypeRef<T> - Interface in org.freedesktop.dbus
-
Interface for retrieving generic type information with reflection.
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 class org.freedesktop.dbus.messages.constants.ArgumentType
- UINT16_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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 class org.freedesktop.dbus.messages.constants.ArgumentType
- UINT32_STRING - Static variable in class org.freedesktop.dbus.messages.constants.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 class org.freedesktop.dbus.messages.constants.ArgumentType
- UINT64_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- unExportObject(String) - Method in class org.freedesktop.dbus.connections.base.AbstractConnectionBase
-
Stop Exporting an object
- UNIX_FDS - Static variable in class org.freedesktop.dbus.messages.constants.HeaderField
- UnknownInterface - Exception Class in org.freedesktop.dbus.errors
-
Thrown if a interface does not exist
- UnknownInterface(String) - Constructor for exception class org.freedesktop.dbus.errors.UnknownInterface
- UnknownMethod - Exception Class in org.freedesktop.dbus.errors
-
Thrown if the method called was unknown on the remote object
- UnknownMethod(String) - Constructor for exception class org.freedesktop.dbus.errors.UnknownMethod
- UnknownObject - Exception Class in org.freedesktop.dbus.errors
-
Thrown if the object was unknown on a remote connection
- UnknownObject(String) - Constructor for exception class org.freedesktop.dbus.errors.UnknownObject
- UnknownProperty - Exception Class in org.freedesktop.dbus.errors
-
Thrown if a property does not exist in the interface
- UnknownProperty(String) - Constructor for exception class org.freedesktop.dbus.errors.UnknownProperty
- UnknownTypeCodeException - Exception Class in org.freedesktop.dbus.exceptions
- UnknownTypeCodeException(byte) - Constructor for exception class org.freedesktop.dbus.exceptions.UnknownTypeCodeException
- unwrap(T[]) - Static method in class org.freedesktop.dbus.ArrayFrob
- unwrapTypeRef(Class<?>) - Static method in class org.freedesktop.dbus.utils.Util
-
Gets the type wrapped by a
TypeRef
interface. - 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. - updateEndianess(byte) - Method in class org.freedesktop.dbus.messages.Message
- 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
- validateBusName(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Checks if input is valid bus name.
- validateClassHasPackage(Class<?>) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Checks if given class has/is in a package.
- validateConnectionId(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Checks if input is a valid connection Id.
- validateDBusInterface(Class<?>) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Checks if given class is compatible with
DBusInterface
class. - validateNotBusName(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Checks if input is NOT a valid bus name.
- validateNotConnectionId(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Checks if input is NOT a valid connection Id.
- validateNotObjectPath(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Checks if input is NOT a valid object path.
- validateObjectPath(String) - Static method in class org.freedesktop.dbus.utils.DBusObjects
-
Checks if input is a valid object path.
- value() - Element in annotation interface org.freedesktop.dbus.annotations.DBusInterfaceName
-
The replacement interface name.
- value() - Element in annotation interface org.freedesktop.dbus.annotations.DBusMemberName
-
The replacement member name.
- value() - Element in annotation interface org.freedesktop.dbus.annotations.DBusProperties
-
Container for multiple properties
- value() - Element in annotation interface org.freedesktop.dbus.annotations.DeprecatedOnDBus
-
Annotation value, true by default
- value() - Element in annotation interface org.freedesktop.dbus.annotations.GlibCSymbol
- value() - Element in annotation interface org.freedesktop.dbus.annotations.IntrospectionDescription
- value() - Element in annotation interface org.freedesktop.dbus.annotations.MethodError
- value() - Element in annotation interface org.freedesktop.dbus.annotations.MethodNoReply
-
Annotation value, true by default
- value() - Element in annotation interface org.freedesktop.dbus.annotations.Position
-
The order of this field in the Struct.
- value() - Element in annotation interface 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 class org.freedesktop.dbus.annotations.DBusProperty.Access
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.dbus.connections.impl.DBusConnection.DBusBusType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.dbus.connections.SASL.SaslCommand
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.dbus.connections.SASL.SaslMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.dbus.connections.SASL.SaslResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.dbus.connections.shared.ExecutorNames
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.freedesktop.dbus.annotations.DBusProperty.Access
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.dbus.connections.impl.DBusConnection.DBusBusType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.dbus.connections.SASL.SaslCommand
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.dbus.connections.SASL.SaslMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.dbus.connections.SASL.SaslResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.dbus.connections.shared.ExecutorNames
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.freedesktop.dbus.DBusMap
-
Deprecated.
- 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.
It is expected that the given value is compatible with the provided DBus signature String.
This constructor is intended to be used when a generic using class/interface should be wrapped.
Map or List are two examples where it is not possible to determine the internal data type (the type represented by a generic placeholder) due to type erasure.
Therefore the only way to properly serialize these Maps/Lists is by providing a suitable signature manually. - VARIANT - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- VARIANT_STRING - Static variable in class org.freedesktop.dbus.messages.constants.ArgumentType
- VariantBuilder - Class in org.freedesktop.dbus.types
-
Builder to create Variants for parameterized types like Collections or Maps more easily.
- 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. - withAfterBindCallback(Consumer<AbstractTransport>) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Set a callback which will be called after
bindImpl()
on a server connection was called.
This method is only called if the transport is configured as server connection. - 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. - 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.config.TransportConfigBuilder
-
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.
- withErrorThreadPriority(int) - Method in class org.freedesktop.dbus.connections.config.ReceivingServiceConfigBuilder
-
Sets the thread priority of the created signal thread(s).
- withExportWeakReferences(boolean) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Enable/Disable usage of weak references for exported objects.
- withGenericTypes(Class<?>...) - Method in class org.freedesktop.dbus.types.VariantBuilder
-
Add one or more generic types.
- withImportWeakReferences(boolean) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Enable/Disable usage of weak references for imported objects.
- 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.
- 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.
- 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.config.TransportConfigBuilder
-
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(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. - 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. - withServiceLoaderClassLoader(ClassLoader) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
-
Configure parent class loader used for
ServiceLoader
to findITransportProvider
implementations.
IfTransportConfigBuilder.withServiceLoaderModuleLayer(ModuleLayer)
is also configured,ModuleLayer
will take precedence. - withServiceLoaderModuleLayer(ModuleLayer) - Method in class org.freedesktop.dbus.connections.config.TransportConfigBuilder
- 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.
- 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.
- 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.
- 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.
- 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.
- withUnknownSignalHandler(Consumer<DBusSignal>) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Configures a consumer which will receive any signal which could not be handled.
- withWeakReferences(boolean) - Method in class org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- wrap(Object) - Static method in class org.freedesktop.dbus.ArrayFrob
- WRITE - Enum constant in enum class 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.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