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(String, int) - Constructor for class org.freedesktop.dbus.connections.AbstractConnection
- 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
- AbstractPropertiesChangedHandler - Class in org.freedesktop.dbus.handlers
-
Subclass this abstract class for creating a callback for changed properties.
- AbstractPropertiesChangedHandler() - Constructor for class org.freedesktop.dbus.handlers.AbstractPropertiesChangedHandler
- AbstractSignalHandlerBase<T extends DBusSignal> - Class in org.freedesktop.dbus.handlers
-
Base class for all signal handling classes.
- AbstractSignalHandlerBase() - Constructor for class org.freedesktop.dbus.handlers.AbstractSignalHandlerBase
- AbstractTransport - Class in org.freedesktop.dbus.connections.transports
-
Base class for all transport types.
- AbstractTransport(BusAddress) - Constructor for class org.freedesktop.dbus.connections.transports.AbstractTransport
- AbstractUnixTransport - Class in org.freedesktop.dbus.connections.transports
- AbstractUnixTransport(BusAddress) - Constructor for class org.freedesktop.dbus.connections.transports.AbstractUnixTransport
- access() - Element in annotation interface org.freedesktop.dbus.annotations.DBusProperty
-
Property access type
- AccessDenied - Exception in org.freedesktop.dbus.errors
-
Thrown if a message is denied due to a security policy
- AccessDenied(String) - Constructor for exception org.freedesktop.dbus.errors.AccessDenied
- add(String) - Method in class org.freedesktop.dbus.connections.PeerSet
- add(String, ExportedObject) - Method in class org.freedesktop.dbus.connections.FallbackContainer
- add(String, ExportedObject, String) - Method in class org.freedesktop.dbus.messages.ObjectTree
- addAll(Collection<? extends String>) - Method in class org.freedesktop.dbus.connections.PeerSet
- 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
-
Adds a
DBusMatchRule
to with a generic signal handler. - 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.
- 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(AbstractConnection) - Method in class org.freedesktop.dbus.messages.DBusSignal
- appendByte(byte) - Method in class org.freedesktop.dbus.messages.Message
-
Appends a byte to the buffer list.
- appendBytes(byte[]) - Method in class org.freedesktop.dbus.messages.Message
-
Appends a buffer to the buffer list.
- appendint(long, int) - Method in class org.freedesktop.dbus.messages.Message
-
Marshalls an integer of a given width and appends it to the message.
- applyXpathExpressionToDocument(String, Node) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Applys a xpathExpression to a xml-Document and return a
NodeList
with the results. - ARRAY - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- ARRAY_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- ArrayFrob - Class in org.freedesktop.dbus
- arraysDeepString(boolean, Object[]) - Static method in class org.freedesktop.dbus.utils.LoggingHelper
-
Calls
Arrays.deepToString(Object[])
if given boolean is true, returns null otherwise. - ASYNC - Static variable in class org.freedesktop.dbus.DBusCallInfo
- ASYNC - Static variable in interface org.freedesktop.dbus.messages.Message.Flags
- auth(SASL.SaslMode, int, String, 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 in org.freedesktop.dbus.exceptions
- AuthenticationException(String) - Constructor for exception org.freedesktop.dbus.exceptions.AuthenticationException
- AuthenticationException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.AuthenticationException
B
- 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 interface org.freedesktop.dbus.messages.Message.Endian
- BOOLEAN - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- BOOLEAN_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- bottom() - Method in class org.freedesktop.dbus.types.UInt64
-
Least significant 4 bytes.
- build() - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Create the transport with the previously provided configuration.
- BusAddress - Class in org.freedesktop.dbus.connections
- BusAddress(String) - Constructor for class org.freedesktop.dbus.connections.BusAddress
- BUSNAME_REGEX - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- BYTE - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- BYTE_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- byteValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a byte.
- byteValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a byte.
- byteValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a byte.
C
- CALL_TYPE_ASYNC - Static variable in class org.freedesktop.dbus.RemoteInvocationHandler
- CALL_TYPE_CALLBACK - Static variable in class org.freedesktop.dbus.RemoteInvocationHandler
- CALL_TYPE_SYNC - Static variable in class org.freedesktop.dbus.RemoteInvocationHandler
- CallbackHandler<T> - Interface in org.freedesktop.dbus.interfaces
-
Interface for callbacks in async mode
- callMethodAsync(DBusInterface, String, Object...) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Call a method asynchronously and get a handle with which to get the reply.
- callWithCallback(DBusInterface, String, CallbackHandler<A>, Object...) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Call a method asynchronously and set a callback.
- CANCEL - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslCommand
- changeThreadCount(byte) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Change the number of worker threads to receive method calls and handle signals.
- clear() - Method in class org.freedesktop.dbus.connections.PeerSet
- clear() - Method in class org.freedesktop.dbus.DBusMap
- clear() - Method in class org.freedesktop.dbus.StrongReference
- CLIENT - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslMode
- close() - Method in class org.freedesktop.dbus.bin.DBusDaemon
- close() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Shutdown the running DBusDaemon instance.
- close() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Disconnect this session (for use in try-with-resources).
- close() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Same as disconnect.
- close() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- close() - Method in class org.freedesktop.dbus.spi.message.InputStreamMessageReader
- close() - Method in class org.freedesktop.dbus.spi.message.OutputStreamMessageWriter
- Command() - Constructor for class org.freedesktop.dbus.connections.SASL.Command
- Command(String) - Constructor for class org.freedesktop.dbus.connections.SASL.Command
- 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.
- connect() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Establish connection on created transport.
- connectImpl() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Abstract method implemented by concrete sub classes to establish a connection using whatever transport type (e.g.
- CONNID_REGEX - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- CONST - Enum constant in enum class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
- Container - Class in org.freedesktop.dbus
-
This class is the super class of both Structs and Tuples and holds common methods.
- contains(Object) - Method in class org.freedesktop.dbus.connections.PeerSet
- containsAll(Collection<?>) - Method in class org.freedesktop.dbus.connections.PeerSet
- containsKey(Object) - Method in class org.freedesktop.dbus.DBusMap
- containsValue(Object) - Method in class org.freedesktop.dbus.DBusMap
- 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
- convertParameters(Object[], Type[], AbstractConnection) - Static method in class org.freedesktop.dbus.Marshalling
-
Recursively converts types for serialization onto DBus.
- convertRV(String, Object[], Method, AbstractConnection) - Static method in class org.freedesktop.dbus.RemoteInvocationHandler
- convertToAttributeMap(NamedNodeMap) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Converts
NamedNodeMap
to aLinkedHashMap
<String,String>. - convertToElementList(NodeList) - Static method in class org.freedesktop.dbus.utils.XmlUtil
- COOKIE_CONTEXT - Static variable in class org.freedesktop.dbus.connections.SASL
- COOKIE_TIMEOUT - Static variable in class org.freedesktop.dbus.connections.SASL
- 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. - createDynamicSession(String, boolean) - Static method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Creates a new dynamic bus address for the given bus type.
- createDynamicSession(String, boolean) - Static method in class org.freedesktop.dbus.connections.transports.TransportFactory
-
Deprecated.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.
- createMessage(byte, byte[], byte[], byte[], List<FileDescriptor>) - Static method in class org.freedesktop.dbus.messages.MessageFactory
- createReader(SocketChannel) - Method in interface org.freedesktop.dbus.spi.message.ISocketProvider
-
Method to create a
IMessageReader
implementation. - createReal(AbstractConnection) - Method in class org.freedesktop.dbus.messages.DBusSignal
- 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) - Static method in class org.freedesktop.dbus.connections.transports.TransportFactory
-
Deprecated.Creates a new transport encapsulating connection to a UNIX or TCP socket.
- createTransport(BusAddress, int) - Static method in class org.freedesktop.dbus.connections.transports.TransportFactory
-
Deprecated.Creates a new transport encapsulating connection to a UNIX or TCP socket.
- createTransport(BusAddress, int) - Method in interface org.freedesktop.dbus.spi.transport.ITransportProvider
-
Creates a new instance of this transport service using the given bus address.
- createTransport(BusAddress, int, boolean) - Static method in class org.freedesktop.dbus.connections.transports.TransportFactory
-
Deprecated.Creates a new transport encapsulating connection to a UNIX or TCP socket.
- 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_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_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.NameAcquired - Class in org.freedesktop.dbus.interfaces
-
Signal sent to a connection when it aquires a name
- DBus.NameLost - Class in org.freedesktop.dbus.interfaces
-
Signal sent to a connection when it loses a name
- DBus.NameOwnerChanged - Class in org.freedesktop.dbus.interfaces
-
Signal sent when the owner of a name changes
- DBusAsyncReply<T> - Class in org.freedesktop.dbus
-
A handle to an asynchronous method call.
- DBusAsyncReply(MethodCall, Method, AbstractConnection) - Constructor for class org.freedesktop.dbus.DBusAsyncReply
- DBusCallInfo - Class in org.freedesktop.dbus
-
Holds information on a method call
- DBusCallInfo(Message) - Constructor for class org.freedesktop.dbus.DBusCallInfo
- DBusConnection - Class in org.freedesktop.dbus.connections.impl
-
Handles a connection to DBus.
- DBusConnection.DBusBusType - Enum Class in org.freedesktop.dbus.connections.impl
- DBusConnectionException - Exception in org.freedesktop.dbus.exceptions
-
Thrown when something goes wrong with the connection to DBus.
- DBusConnectionException() - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(String) - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(String, Throwable, boolean, boolean) - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusConnectionException(Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.DBusConnectionException
- DBusDaemon - Class in org.freedesktop.dbus.bin
-
A replacement DBusDaemon
- DBusDaemon() - Constructor for class org.freedesktop.dbus.bin.DBusDaemon
- DBusDaemon.ConnectionStruct - Class in org.freedesktop.dbus.bin
- DBusDaemon.DBusDaemonReaderThread - Class in org.freedesktop.dbus.bin
- DBusDaemon.DBusDaemonSenderThread - Class in org.freedesktop.dbus.bin
- DBusDaemon.DBusServer - Class in org.freedesktop.dbus.bin
- DBusDaemonReaderThread(DBusDaemon.ConnectionStruct) - Constructor for class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonReaderThread
- DBusDaemonSenderThread() - Constructor for class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonSenderThread
- DBusException - Exception in org.freedesktop.dbus.exceptions
-
An exception within DBus.
- DBusException() - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
- DBusException(String) - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
-
Create an exception with the specified message
- DBusException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
- DBusException(String, Throwable, boolean, boolean) - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
- DBusException(Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.DBusException
- DBusExecutionException - Exception in org.freedesktop.dbus.exceptions
-
An exception while running a remote method within DBus.
- DBusExecutionException(String) - Constructor for exception org.freedesktop.dbus.exceptions.DBusExecutionException
-
Create an exception with the specified message
- 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 - DBusMap(Object[][]) - Constructor for class org.freedesktop.dbus.DBusMap
- DBusMapType - Class in org.freedesktop.dbus.types
-
The type of a map.
- DBusMapType(Type, Type) - Constructor for class org.freedesktop.dbus.types.DBusMapType
-
Create a map type.
- DBusMatchRule - Class in org.freedesktop.dbus
- 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.
- DBusPath - Class in org.freedesktop.dbus
- DBusPath(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 extends DBusSignal> - Interface in org.freedesktop.dbus.interfaces
-
Handle a signal on DBus.
- DBusSignal - Class in org.freedesktop.dbus.messages
- DBusSignal(String, Object...) - Constructor for class org.freedesktop.dbus.messages.DBusSignal
-
Create a new signal.
- DBusSignal(String, String, String, String, String, Object...) - Constructor for class org.freedesktop.dbus.messages.DBusSignal
- DBusStructType - Class in org.freedesktop.dbus.types
-
The type of a struct.
- DBusStructType(Type...) - Constructor for class org.freedesktop.dbus.types.DBusStructType
-
Create a struct type.
- DEFAULT_SYSTEM_BUS_ADDRESS - Static variable in class org.freedesktop.dbus.connections.impl.DBusConnection
- 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[], AbstractConnection) - Static method in class org.freedesktop.dbus.Marshalling
- DESTINATION - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- DICT_ENTRY - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY1 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY1_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY2 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DICT_ENTRY2_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DirectConnection - Class in org.freedesktop.dbus.connections.impl
-
Handles a peer to peer connection between two applications withou a bus daemon.
- DirectConnection(String) - Constructor for class org.freedesktop.dbus.connections.impl.DirectConnection
-
Create a direct connection to another application.
- DirectConnection(String, int) - Constructor for class org.freedesktop.dbus.connections.impl.DirectConnection
-
Create a direct connection to another application.
- disconnect() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Disconnect from the Bus.
- disconnect() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Disconnect from the Bus.
- disconnect(IDisconnectAction, IDisconnectAction) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Special disconnect method which may be used whenever some cleanup before or after disconnection to DBus is required.
- Disconnected(String) - Constructor for class org.freedesktop.dbus.interfaces.Local.Disconnected
- DOLLAR_PATTERN - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- DOUBLE - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- DOUBLE_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- doubleValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a double.
- doubleValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a double.
- doubleValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a double.
- dynamicProxy(String, String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
E
- EmbeddedDBusDaemon - Class in org.freedesktop.dbus.bin
-
Simple DBusDaemon implementation to use if no DBusDaemon is running on the OS level.
- EmbeddedDBusDaemon(String) - Constructor for class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
- EmbeddedDBusDaemon(BusAddress) - Constructor for class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
- enqueue() - Method in class org.freedesktop.dbus.StrongReference
- entrySet() - Method in class org.freedesktop.dbus.DBusMap
- equals(Object) - Method in class org.freedesktop.dbus.connections.PeerSet
- equals(Object) - Method in class org.freedesktop.dbus.Container
- equals(Object) - Method in class org.freedesktop.dbus.DBusMap
- equals(Object) - Method in class org.freedesktop.dbus.DBusPath
- equals(Object) - Method in class org.freedesktop.dbus.MethodTuple
- equals(Object) - Method in class org.freedesktop.dbus.RemoteObject
- equals(Object) - Method in class org.freedesktop.dbus.SignalTuple
- equals(Object) - Method in class org.freedesktop.dbus.types.UInt16
-
Test two UInt16s for equality.
- equals(Object) - Method in class org.freedesktop.dbus.types.UInt32
-
Test two UInt32s for equality.
- equals(Object) - Method in class org.freedesktop.dbus.types.UInt64
-
Test two UInt64s for equality.
- equals(Object) - Method in class org.freedesktop.dbus.types.Variant
-
Compare this Variant with another by comparing contents.
- error(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerQuiet
- error(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- Error - Class in org.freedesktop.dbus.errors
-
Error messages which can be sent over the bus.
- Error - Interface in org.freedesktop.dbus.interfaces
-
Contains standard errors that can be thrown from methods.
- Error() - Constructor for class org.freedesktop.dbus.errors.Error
- Error(String, String, long, String, Object...) - Constructor for class org.freedesktop.dbus.errors.Error
- Error(String, String, String, long, String, Object...) - Constructor for class org.freedesktop.dbus.errors.Error
- Error(String, Message, Throwable) - Constructor for class org.freedesktop.dbus.errors.Error
- Error(Message, Throwable) - Constructor for class org.freedesktop.dbus.errors.Error
- ERROR - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslCommand
- ERROR - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslResult
- ERROR - Static variable in interface org.freedesktop.dbus.messages.Message.MessageType
- ERROR_NAME - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- executeRemoteMethod(RemoteObject, Method, AbstractConnection, int, CallbackHandler<?>, Object...) - Static method in class org.freedesktop.dbus.RemoteInvocationHandler
- EXPIRE_KEYS_TIMEOUT_SECONDS - Static variable in class org.freedesktop.dbus.connections.SASL
- ExportedObject - Class in org.freedesktop.dbus.messages
- ExportedObject(DBusInterface, boolean) - Constructor for class org.freedesktop.dbus.messages.ExportedObject
- exportObject(String, DBusInterface) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Export an object so that its methods can be called on DBus.
- exportObject(DBusInterface) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Export an object so that its methods can be called on DBus.
- extract(String, byte[], int) - Method in class org.freedesktop.dbus.messages.Message
-
Demarshall values from a buffer.
- extract(String, byte[], int[]) - Method in class org.freedesktop.dbus.messages.Message
-
Demarshall values from a buffer.
F
- FallbackContainer - Class in org.freedesktop.dbus.connections
- FALSE - Enum constant in enum class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
- FatalDBusException - Exception in org.freedesktop.dbus.exceptions
- FatalDBusException(String) - Constructor for exception org.freedesktop.dbus.exceptions.FatalDBusException
- fatalError(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerQuiet
- fatalError(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- FatalException - Interface in org.freedesktop.dbus.interfaces
- Features - Interface in org.freedesktop.dbus.interfaces
- FileDescriptor - Class in org.freedesktop.dbus
-
Represents a FileDescriptor to be passed over the bus.
- FileDescriptor(int) - Constructor for class org.freedesktop.dbus.FileDescriptor
- FileDescriptor(FileDescriptor) - Constructor for class org.freedesktop.dbus.FileDescriptor
- FILEDESCRIPTOR - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- FILEDESCRIPTOR_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- FLOAT - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- FLOAT_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- FLOAT_SUPPORT - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- floatValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a float.
- floatValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a float.
- floatValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a float.
- 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
G
- generateAnnotationsXml(AnnotatedElement) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data xml for annotations
- generateMethodsXml(Class<?>) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data for the input interface methods
- generatePropertiesXml(Class<?>) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data for the input interface properties.
- generatePropertyXml(DBusProperty) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data for the single property.
- generateSignalsXml(Class<?>) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Generates the introspection data for the input interface signals
- genGUID() - Static method in class org.freedesktop.dbus.utils.Util
-
Create a random GUID (used for connection addresses).
- get() - Method in class org.freedesktop.dbus.StrongReference
- get(Object) - Method in class org.freedesktop.dbus.DBusMap
- get(String) - Method in class org.freedesktop.dbus.connections.FallbackContainer
- Get(String, String) - Method in interface org.freedesktop.dbus.interfaces.Properties
-
Get the value for the given property.
- getAbstract() - Method in class org.freedesktop.dbus.connections.BusAddress
- 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
- getAddress() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Returns the address this connection is connected to.
- getAddress() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- getAddress() - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
The currently configured BusAddress.
- GetAdtAuditSessionData(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetAdtAuditSessionData(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
- getAlignment(byte) - Static method in class org.freedesktop.dbus.messages.Message
-
Return the alignment for a given type.
- GetAll(String) - Method in interface org.freedesktop.dbus.interfaces.Properties
-
Get all properties and values.
- getAllPossibleTuples(String, String, String, String) - Static method in class org.freedesktop.dbus.SignalTuple
-
Get a
Set
of all possible SignalTuples that we can have, given the 4 parameters. - getAnnotationName(Class<? extends Annotation>) - Static method in class org.freedesktop.dbus.utils.DBusNamingUtil
-
Get DBus name for specified annotation class
- getAuthMode() - Method in enum class org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
- getBusName() - Method in class org.freedesktop.dbus.RemoteObject
- getBusType() - Method in class org.freedesktop.dbus.connections.BusAddress
- getByteCounter() - Method in class org.freedesktop.dbus.messages.Message
- getCachedSignalType(String) - Static method in class org.freedesktop.dbus.DBusMatchRule
- getCall() - Method in class org.freedesktop.dbus.DBusAsyncReply
- getCall() - Method in class org.freedesktop.dbus.messages.MethodReturn
- getCallback(MethodCall) - Method in class org.freedesktop.dbus.connections.PendingCallbackManager
- getCallbackReply(MethodCall) - Method in class org.freedesktop.dbus.connections.PendingCallbackManager
- getCallInfo() - Static method in class org.freedesktop.dbus.connections.AbstractConnection
-
Returns a structure with information on the current method call.
- getCommand() - Method in class org.freedesktop.dbus.connections.SASL.Command
- getConnection() - Method in class org.freedesktop.dbus.DBusAsyncReply
- getConnection(String) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Connect to the BUS.
- getConnection(String, boolean, boolean) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Connect to the BUS.
- getConnection(String, boolean, boolean, int) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Connect to the BUS.
- getConnection(DBusConnection.DBusBusType) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Connect to DBus.
- getConnection(DBusConnection.DBusBusType, boolean, int) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Connect to the BUS.
- GetConnectionCredentials(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetConnectionCredentials(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
DBUS Specification:
Returns as many credentials as possible for the process connected to the server. - GetConnectionSELinuxSecurityContext(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetConnectionSELinuxSecurityContext(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
- GetConnectionUnixProcessID(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetConnectionUnixProcessID(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Returns the proccess ID associated with a connection.
- GetConnectionUnixUser(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetConnectionUnixUser(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Get the Unix UID that owns a connection name.
- getCurrentUser() - Static method in class org.freedesktop.dbus.utils.Util
-
Determines the current logged on user.
- getData() - Method in class org.freedesktop.dbus.connections.SASL.Command
- getDBusInterfaces(Class<?>) - Method in class org.freedesktop.dbus.messages.ExportedObject
-
Get all valid DBus interfaces which are implemented in a given class.
- getDbusMachineId() - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Extracts the machine-id usually found on Linux in various system directories, or generate a fake id for non-Linux platforms.
- getDBusType(Type) - Static method in class org.freedesktop.dbus.Marshalling
-
Will return the DBus type corresponding to the given Java type.
- getDBusType(Type[]) - Static method in class org.freedesktop.dbus.Marshalling
-
Will return the DBus type corresponding to the given Java type.
- getDBusType(Type, boolean) - Static method in class org.freedesktop.dbus.Marshalling
-
Will return the DBus type corresponding to the given Java type.
- 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.
- 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.
- getEndianess() - Method in class org.freedesktop.dbus.messages.Message
- getEndianness() - Static method in class org.freedesktop.dbus.connections.AbstractConnection
-
Get current endianness to use.
- getError() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Return any DBus error which has been received.
- getException() - Method in class org.freedesktop.dbus.errors.Error
-
Turns this into an exception of the correct type
- getExportedObject(String, String) - Method in class org.freedesktop.dbus.connections.AbstractConnection
- 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(DBusInterface) - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getExportedObjects() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getFiledescriptors() - Method in class org.freedesktop.dbus.messages.Message
- getFlags() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns any flags set on this method call.
- getFlags() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the message flags.
- getGenericHandledSignals() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getGuid() - Method in class org.freedesktop.dbus.connections.BusAddress
- getHandledSignals() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getHeader(byte) - Method in class org.freedesktop.dbus.messages.Message
-
Returns the value of the header field of a given field.
- getHeaderFieldName(byte) - Static method in class org.freedesktop.dbus.messages.Message
-
Returns the name of the given header field.
- getHeaders() - Method in class org.freedesktop.dbus.messages.Message
- getHost() - Method in class org.freedesktop.dbus.connections.BusAddress
- 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.bin.DBusDaemon.DBusServer
- GetId() - Method in interface org.freedesktop.dbus.interfaces.DBus
-
DBUS Specification:
Gets the unique ID of the bus. - getImplementationClass() - Method in class org.freedesktop.dbus.handlers.AbstractInterfacesAddedHandler
- getImplementationClass() - Method in class org.freedesktop.dbus.handlers.AbstractInterfacesRemovedHandler
- getImplementationClass() - Method in class org.freedesktop.dbus.handlers.AbstractPropertiesChangedHandler
- getImplementationClass() - Method in class org.freedesktop.dbus.handlers.AbstractSignalHandlerBase
-
Signal-Class which is implemented in subclasses of this class.
- getImportedObjects() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getInterface() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns the interface this method was called with.
- getInterface() - Method in class org.freedesktop.dbus.DBusMatchRule
- getInterface() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the interface of the message.
- getInterface() - Method in class org.freedesktop.dbus.RemoteObject
- getInterfaceName() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
-
Get name of the interface created this signal (e.g. org.bluez.Adapter1).
- getInterfaceName(Class<?>) - Static method in class org.freedesktop.dbus.utils.DBusNamingUtil
-
Get DBus interface name for specified interface class
- getInterfaces() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
-
Returns the added interfaces.
- getInterfaces() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
-
Returns list of removed DBus interfaces (like org.bluez.Device1).
- getIntFileDescriptor() - Method in class org.freedesktop.dbus.FileDescriptor
- getIntrospectiondata() - Method in class org.freedesktop.dbus.messages.ExportedObject
- getJavaType(String, List<Type>, int) - Static method in class org.freedesktop.dbus.Marshalling
-
Converts a dbus type string into Java Type objects,
- getJavaVersion() - Static method in class org.freedesktop.dbus.utils.Util
-
Get the java version of the current running JRE.
- getListenerAddress() - Method in class org.freedesktop.dbus.connections.BusAddress
- getLogger() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- getLogger() - Method in class org.freedesktop.dbus.MethodTuple
- getMachineId() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
The generated UUID of this machine.
- getMachineId() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- getMachineId() - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
- GetMachineId() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetMachineId() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- GetMachineId() - Method in interface org.freedesktop.dbus.interfaces.Peer
- GetManagedObjects() - Method in interface org.freedesktop.dbus.interfaces.ObjectManager
-
Get a sub-tree of objects.
- getMechs() - Method in class org.freedesktop.dbus.connections.SASL.Command
- getMember() - Method in class org.freedesktop.dbus.DBusMatchRule
- getMethod() - Method in class org.freedesktop.dbus.DBusAsyncReply
- getMethod() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns the method name used to call this method.
- getMethodName(Method) - Static method in class org.freedesktop.dbus.utils.DBusNamingUtil
-
Get DBus method name for specified method object.
- getMethods() - Method in class org.freedesktop.dbus.messages.ExportedObject
- getName() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the member name or error name this message represents.
- getName() - Method in class org.freedesktop.dbus.MethodTuple
- GetNameOwner(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- GetNameOwner(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Get the connection unique name that owns the given name.
- getNames() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Returns all the names owned by this connection.
- getObject() - Method in class org.freedesktop.dbus.DBusMatchRule
- getObject() - Method in class org.freedesktop.dbus.messages.ExportedObject
- getObjectPath() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- getObjectPath() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- getObjectPath() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns the object path used to call this method.
- getObjectPath() - Method in interface org.freedesktop.dbus.interfaces.DBusInterface
-
Returns the path of this object.
- getObjectPath() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- getObjectPath() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- getObjectPath() - Method in class org.freedesktop.dbus.RemoteObject
- getObjectTree() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getOutgoingQueue() - Method in class org.freedesktop.dbus.connections.SenderThread
- 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.
- getPath() - Method in class org.freedesktop.dbus.connections.BusAddress
- getPath() - Method in class org.freedesktop.dbus.DBusPath
- getPath() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the object path of the message.
- getPeerRemoteObject(String, String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getPeerRemoteObject(String, String, Class<I>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
- getPeerRemoteObject(String, String, Class<I>, boolean) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getPendingCalls() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getPendingErrorQueue() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- getPort() - Method in class org.freedesktop.dbus.connections.BusAddress
- getPrimitiveToWrapperTypes() - Static method in class org.freedesktop.dbus.ArrayFrob
- getPropertiesChanged() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
-
Return the changed properties.
- getPropertiesRemoved() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
-
Returns a list of removed property keys.
- getRawAddress() - Method in class org.freedesktop.dbus.connections.BusAddress
- 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
- getRegisteredBusTypes() - Static method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Returns a
List
of all bustypes supported in the current runtime. - getRegisteredBusTypes() - Static method in class org.freedesktop.dbus.connections.transports.TransportFactory
-
Deprecated.Returns a
List
of all bustypes supported in the current runtime. - getRemoteObject(String) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
-
Return a reference to a remote object.
- getRemoteObject(String, Class<T>) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
-
Return a reference to a remote object.
- getRemoteObject(String, String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getRemoteObject(String, String, Class<I>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getRemoteObject(String, String, Class<I>, boolean) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Return a reference to a remote object.
- getReply() - Method in class org.freedesktop.dbus.DBusAsyncReply
-
Get the reply.
- getReply() - Method in class org.freedesktop.dbus.messages.MethodCall
-
Block (if neccessary) for a reply.
- getReply(long) - Method in class org.freedesktop.dbus.messages.MethodCall
-
Block (if neccessary) for a reply.
- getReplySerial() - Method in class org.freedesktop.dbus.messages.Message
-
If this is a reply to a message, this returns its serial.
- getResponse() - Method in class org.freedesktop.dbus.connections.SASL.Command
- getSaslAuthMode() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
The currently configured
TransportBuilder.SaslAuthMode
. - getSaslAuthMode() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- getSaslMode() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- getSerial() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the message serial ID (unique for this connection)
- getSig() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the dbus signature of the parameters.
- getSig() - Method in class org.freedesktop.dbus.MethodTuple
- getSig() - Method in class org.freedesktop.dbus.types.Variant
-
Return the dbus signature of the wrapped value.
- getSig() - Method in class org.freedesktop.dbus.TypeSignature
- 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.
- getSource() - Method in class org.freedesktop.dbus.DBusCallInfo
-
Returns the BusID which called the method.
- getSource() - Method in class org.freedesktop.dbus.DBusMatchRule
- getSource() - Method in class org.freedesktop.dbus.messages.Message
-
Returns the Bus ID that sent the message.
- getSource() - Method in class org.freedesktop.dbus.ObjectPath
- getStartTime() - Method in class org.freedesktop.dbus.utils.TimeMeasure
-
Returns the start time in milliseconds.
- getSupportedBusType() - Method in interface org.freedesktop.dbus.spi.transport.ITransportProvider
-
Type of transport.
- getSystemEndianness() - Static method in class org.freedesktop.dbus.connections.AbstractConnection
-
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.
- getTransportName() - Method in interface org.freedesktop.dbus.spi.transport.ITransportProvider
-
Name of the transport implementation.
- getType() - Method in class org.freedesktop.dbus.connections.BusAddress
- getType() - Method in class org.freedesktop.dbus.DBusMatchRule
- getType() - Method in exception org.freedesktop.dbus.exceptions.DBusExecutionException
-
Get the DBus type of this exception.
- getType() - Method in class org.freedesktop.dbus.messages.Message
-
Type of this message.
- getType() - Method in class org.freedesktop.dbus.types.Variant
-
Return the type of the wrapped value.
- getTypes(int) - Method in class org.freedesktop.dbus.connections.SASL
- getUid(SocketChannel) - Method in class org.freedesktop.dbus.connections.transports.AbstractUnixTransport
- getUniqueName() - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Returns the unique name of this connection.
- getValue() - Method in class org.freedesktop.dbus.types.Variant
-
Return the wrapped value.
- getWiredata() - Method in class org.freedesktop.dbus.messages.Message
- getWireData() - Method in class org.freedesktop.dbus.messages.Message
- getWrapperToPrimitiveTypes() - Static method in class org.freedesktop.dbus.ArrayFrob
- GlibCSymbol - Annotation Interface in org.freedesktop.dbus.annotations
-
Define a C symbol to map to this method.
- GlobalHandler - Class in org.freedesktop.dbus.connections
- globalserial - Static variable in class org.freedesktop.dbus.messages.Message
H
- handle(DBus.NameOwnerChanged) - Method in class org.freedesktop.dbus.connections.PeerSet
- handle(T) - Method in interface org.freedesktop.dbus.interfaces.CallbackHandler
- handle(T) - Method in interface org.freedesktop.dbus.interfaces.DBusSigHandler
-
Handle a signal.
- handleError(DBusExecutionException) - Method in interface org.freedesktop.dbus.interfaces.CallbackHandler
- handleException(AbstractConnection, Message, DBusExecutionException) - Method in class org.freedesktop.dbus.connections.AbstractConnection
- hasFileDescriptorSupport() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Method to indicate if passing of file descriptors is allowed.
- hasGuid() - Method in class org.freedesktop.dbus.connections.BusAddress
- hashCode() - Method in class org.freedesktop.dbus.connections.PeerSet
- hashCode() - Method in class org.freedesktop.dbus.DBusMap
- hashCode() - Method in class org.freedesktop.dbus.DBusPath
- hashCode() - Method in class org.freedesktop.dbus.MethodTuple
- hashCode() - Method in class org.freedesktop.dbus.RemoteObject
- hashCode() - Method in class org.freedesktop.dbus.SignalTuple
- 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
- hasHost() - Method in class org.freedesktop.dbus.connections.BusAddress
- hasPath() - Method in class org.freedesktop.dbus.connections.BusAddress
- hasPort() - Method in class org.freedesktop.dbus.connections.BusAddress
- hasReply() - Method in class org.freedesktop.dbus.DBusAsyncReply
-
Check if we've had a reply.
- hasReply() - Method in class org.freedesktop.dbus.messages.MethodCall
- hasReply(Collection<DBusAsyncReply<?>>) - Static method in class org.freedesktop.dbus.DBusAsyncReply
-
Check if any of a set of asynchronous calls have had a reply.
- Hello() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- Hello() - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Initial message to register ourselves on the Bus.
- HEX_CHARS - Static variable in class org.freedesktop.dbus.utils.Hexdump
- Hexdump - Class in org.freedesktop.dbus.utils
I
- IDisconnectAction - Interface in org.freedesktop.dbus.connections
- IMessageReader - Interface in org.freedesktop.dbus.spi.message
-
Represents a way to read messages from the bus.
- IMessageWriter - Interface in org.freedesktop.dbus.spi.message
-
Interface that lets you write a message to the currently used transport.
- IncomingMessageThread - Class in org.freedesktop.dbus.connections
- IncomingMessageThread(AbstractConnection) - Constructor for class org.freedesktop.dbus.connections.IncomingMessageThread
- InputStreamMessageReader - Class in org.freedesktop.dbus.spi.message
- InputStreamMessageReader(SocketChannel) - Constructor for class org.freedesktop.dbus.spi.message.InputStreamMessageReader
- INT16 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT16_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT32 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT32_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT64 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INT64_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- INTERFACE - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- interfaces - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- interfaces - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- InterfacesAdded(String, DBusPath, Map<String, Map<String, Variant<?>>>) - Constructor for class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- InterfacesRemoved(String, DBusPath, List<String>) - Constructor for class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- InternalMessageException - Exception in org.freedesktop.dbus.exceptions
- InternalMessageException(String) - Constructor for exception org.freedesktop.dbus.exceptions.InternalMessageException
- InternalSignal - Class in org.freedesktop.dbus
- InternalSignal(String, String, String, String, String, long, Object...) - Constructor for class org.freedesktop.dbus.InternalSignal
- Introspect() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- Introspect() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- Introspect() - Method in interface org.freedesktop.dbus.interfaces.Introspectable
- Introspect(String) - Method in class org.freedesktop.dbus.messages.ObjectTree
- Introspectable - Interface in org.freedesktop.dbus.interfaces
-
Objects can provide introspection data via this interface and method.
- IntrospectionDescription - Annotation 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
- InvalidMethodArgument - Exception in org.freedesktop.dbus.errors
-
Thrown if a arguments passed to the method are invalid
- InvalidMethodArgument(String) - Constructor for exception org.freedesktop.dbus.errors.InvalidMethodArgument
- invoke(Object, Method, Object[]) - Method in class org.freedesktop.dbus.RemoteInvocationHandler
- isAbstract() - Method in class org.freedesktop.dbus.connections.BusAddress
- isAbstractAllowed() - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Return true if the transport supports 'abstract' sockets.
- 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.
- isClosed() - Method in interface org.freedesktop.dbus.spi.message.IMessageReader
- isClosed() - Method in interface org.freedesktop.dbus.spi.message.IMessageWriter
- isClosed() - Method in class org.freedesktop.dbus.spi.message.InputStreamMessageReader
- isClosed() - Method in class org.freedesktop.dbus.spi.message.OutputStreamMessageWriter
- isConnected() - Method in class org.freedesktop.dbus.connections.AbstractConnection
- isElementType(Node) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Shortcut for checking if given node is of type
Element
. - isEmpty() - Method in class org.freedesktop.dbus.connections.PeerSet
- isEmpty() - Method in class org.freedesktop.dbus.DBusMap
- isEmpty(String) - Static method in class org.freedesktop.dbus.utils.Util
-
Checks if the given String is either null or empty.
- isEnqueued() - Method in class org.freedesktop.dbus.StrongReference
- isFileBasedAddress() - Method in class org.freedesktop.dbus.connections.BusAddress
- isFileDescriptorPassingSupported() - Method in interface org.freedesktop.dbus.spi.message.ISocketProvider
-
Indicate if reader/writer supports file descriptor passing.
- isFileDescriptorSupported() - Method in class org.freedesktop.dbus.connections.SASL
- isFreeBsd() - Static method in class org.freedesktop.dbus.utils.Util
- isInteger(String, boolean) - Static method in class org.freedesktop.dbus.utils.Util
-
Check if string is an either positive or negative integer.
- isListening(boolean) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Toggle the created transport to be a listening (server) or initiating (client) connection.
- isListeningSocket() - Method in class org.freedesktop.dbus.connections.BusAddress
- isMacOs() - Static method in class org.freedesktop.dbus.utils.Util
-
Checks if the running OS is a MacOS/MacOS X.
- ISocketProvider - Interface in org.freedesktop.dbus.spi.message
- isRemote() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- isRemote() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- isRemote() - Method in interface org.freedesktop.dbus.interfaces.DBusInterface
-
Returns true on remote objects.
- isRunning() - Method in class org.freedesktop.dbus.bin.DBusDaemon
- isRunning() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Whether the DBusDaemon is still running.
- isServer() - Method in class org.freedesktop.dbus.connections.BusAddress
- 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.
- iterator() - Method in class org.freedesktop.dbus.connections.PeerSet
- ITransportProvider - Interface in org.freedesktop.dbus.spi.transport
-
Interface used by
ServiceLoader
to provide a transport used by DBus.
K
L
- ListActivatableNames() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- ListActivatableNames() - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Returns a list of all names that can be activated on the bus.
- listen() - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Start reading and sending messages.
- listen() - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
-
Use this method when running on server side.
- listify(Object) - Static method in class org.freedesktop.dbus.ArrayFrob
- listify(T[]) - Static method in class org.freedesktop.dbus.ArrayFrob
- ListNames() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- ListNames() - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Lists all connected names on the Bus.
- ListQueuedOwners(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- ListQueuedOwners(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
List the connections currently queued for a name.
- LITTLE - Static variable in interface org.freedesktop.dbus.messages.Message.Endian
- Local - Interface in org.freedesktop.dbus.interfaces
-
Messages generated locally in the application.
- Local.Disconnected - Class in org.freedesktop.dbus.interfaces
- LOCK_TIMEOUT - Static variable in class org.freedesktop.dbus.connections.SASL
- LoggingHelper - Class in org.freedesktop.dbus.utils
-
Helper for some logging stuff, e.g. avoid call
Arrays.deepToString(Object[])
if loglevel is not enabled. - longValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a long.
- longValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a long.
- longValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a long.
M
- main(String[]) - Static method in class org.freedesktop.dbus.bin.DBusDaemon
- Marshalling - Class in org.freedesktop.dbus
-
Contains static methods for marshalling values.
- MarshallingException - Exception in org.freedesktop.dbus.exceptions
- MarshallingException(String) - Constructor for exception org.freedesktop.dbus.exceptions.MarshallingException
- MarshallingException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.MarshallingException
- marshallint(long, byte[], int, int) - Method in class org.freedesktop.dbus.messages.Message
-
Marshalls an integer of a given width into a buffer.
- marshallintBig(long, byte[], int, int) - Static method in class org.freedesktop.dbus.messages.Message
-
Marshalls an integer of a given width into a buffer using big-endian format.
- marshallintLittle(long, byte[], int, int) - Static method in class org.freedesktop.dbus.messages.Message
-
Marshalls an integer of a given width into a buffer using little-endian format.
- MatchRuleInvalid - Exception in org.freedesktop.dbus.errors
-
Thrown if the match rule is invalid
- MatchRuleInvalid(String) - Constructor for exception org.freedesktop.dbus.errors.MatchRuleInvalid
- MAX_ARRAY_LENGTH - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- MAX_BIG_VALUE - Static variable in class org.freedesktop.dbus.types.UInt64
-
Maximum allowed value (when accessed as a BigInteger)
- MAX_LONG_VALUE - Static variable in class org.freedesktop.dbus.types.UInt64
-
Maximum allowed value (when accessed as a long)
- MAX_NAME_LENGTH - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- MAX_TIME_TRAVEL_SECONDS - Static variable in class org.freedesktop.dbus.connections.SASL
- MAX_VALUE - Static variable in class org.freedesktop.dbus.types.UInt16
-
Maximum possible value.
- MAX_VALUE - Static variable in class org.freedesktop.dbus.types.UInt32
-
Maximum allowed value
- MAXIMUM_ARRAY_LENGTH - Static variable in class org.freedesktop.dbus.messages.Message
- MAXIMUM_MESSAGE_LENGTH - Static variable in class org.freedesktop.dbus.messages.Message
- MAXIMUM_NUM_UNIX_FDS - Static variable in class org.freedesktop.dbus.messages.Message
- MEMBER - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- Message - Class in org.freedesktop.dbus.messages
-
Superclass of all messages which are sent over the Bus.
- Message() - Constructor for class org.freedesktop.dbus.messages.Message
-
Create a blank message.
- Message(byte, byte, byte) - Constructor for class org.freedesktop.dbus.messages.Message
-
Create a message; only to be called by sub-classes.
- Message.ArgumentType - Interface in org.freedesktop.dbus.messages
-
Defines constants for each argument type.
- Message.Endian - Interface in org.freedesktop.dbus.messages
-
Defines constants representing the endianness of the message.
- Message.Flags - Interface in org.freedesktop.dbus.messages
-
Defines constants representing the flags which can be set on a message.
- Message.HeaderField - Interface in org.freedesktop.dbus.messages
-
Defines constants for each valid header field type.
- Message.MessageType - Interface in org.freedesktop.dbus.messages
-
Defines constants for each message type.
- MessageFactory - Class in org.freedesktop.dbus.messages
- MessageFactory() - Constructor for class org.freedesktop.dbus.messages.MessageFactory
- MessageFormatException - Exception in org.freedesktop.dbus.exceptions
-
Thrown if a message is formatted incorrectly.
- MessageFormatException(String) - Constructor for exception org.freedesktop.dbus.exceptions.MessageFormatException
- MessageProtocolVersionException - Exception in org.freedesktop.dbus.exceptions
- MessageProtocolVersionException(String) - Constructor for exception org.freedesktop.dbus.exceptions.MessageProtocolVersionException
- MessageTypeException - Exception in org.freedesktop.dbus.exceptions
- MessageTypeException(String) - Constructor for exception org.freedesktop.dbus.exceptions.MessageTypeException
- METHOD_CALL - Static variable in interface org.freedesktop.dbus.messages.Message.MessageType
- METHOD_RETURN - Static variable in interface org.freedesktop.dbus.messages.Message.MessageType
- MethodCall - Class in org.freedesktop.dbus.messages
- MethodCall(String, String, String, String, byte, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodCall
- MethodCall(String, String, String, String, String, byte, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodCall
- 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(String, long, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodReturn
- MethodReturn(String, String, long, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodReturn
- MethodReturn(String, MethodCall, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodReturn
- MethodReturn(MethodCall, String, Object...) - Constructor for class org.freedesktop.dbus.messages.MethodReturn
- MethodTuple - Class in org.freedesktop.dbus
- MethodTuple(String, String) - Constructor for class org.freedesktop.dbus.MethodTuple
- MIN_VALUE - Static variable in class org.freedesktop.dbus.types.UInt16
-
Minimum possible value.
- MIN_VALUE - Static variable in class org.freedesktop.dbus.types.UInt32
-
Minimum allowed value
- MIN_VALUE - Static variable in class org.freedesktop.dbus.types.UInt64
-
Minimum allowed value
- Monitoring - Interface in org.freedesktop.dbus.interfaces
N
- name - Variable in class org.freedesktop.dbus.interfaces.DBus.NameAcquired
- name - Variable in class org.freedesktop.dbus.interfaces.DBus.NameLost
- name - Variable in class org.freedesktop.dbus.interfaces.DBus.NameOwnerChanged
- name() - Element in annotation interface org.freedesktop.dbus.annotations.DBusProperty
-
Property name
- NameableThreadFactory - Class in org.freedesktop.dbus.utils
- NameableThreadFactory(String, boolean) - 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
- newConnection(DBusConnection.DBusBusType) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Connect to DBus using a new connection even if there is already a connection established.
- newOwner - Variable in class org.freedesktop.dbus.interfaces.DBus.NameOwnerChanged
- newThread(Runnable) - Method in class org.freedesktop.dbus.utils.NameableThreadFactory
- NO_AUTO_START - Static variable in interface org.freedesktop.dbus.messages.Message.Flags
- NO_REPLY - Static variable in class org.freedesktop.dbus.DBusCallInfo
-
Indicates the caller won't wait for a reply (and we won't send one).
- NO_REPLY_EXPECTED - Static variable in interface org.freedesktop.dbus.messages.Message.Flags
- NonFatalException - Interface in org.freedesktop.dbus.interfaces
- NoReply - Exception in org.freedesktop.dbus.errors
-
Thrown if there is no reply to a method call
- NoReply(String) - Constructor for exception org.freedesktop.dbus.errors.NoReply
- NotConnected - Exception in org.freedesktop.dbus.exceptions
-
Thrown if a DBus action is called when not connected to the Bus.
- NotConnected(String) - Constructor for exception org.freedesktop.dbus.exceptions.NotConnected
- NotSupported - Exception in org.freedesktop.dbus.errors
-
Thrown if a called operation is not supported
- NotSupported(String) - Constructor for exception org.freedesktop.dbus.errors.NotSupported
O
- OBJECT_PATH - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- OBJECT_PATH_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- OBJECT_REGEX_PATTERN - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
- ObjectManager - Interface in org.freedesktop.dbus.interfaces
- ObjectManager.InterfacesAdded - Class in org.freedesktop.dbus.interfaces
-
Signal generated when a new interface is added
- ObjectManager.InterfacesRemoved - Class in org.freedesktop.dbus.interfaces
-
Signal generated when an interface is removed
- objectPath - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- objectPath - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- ObjectPath - Class in org.freedesktop.dbus
- ObjectPath(String, String) - Constructor for class org.freedesktop.dbus.ObjectPath
- ObjectTree - Class in org.freedesktop.dbus.messages
-
Keeps track of the exported objects for introspection data
- ObjectTree() - Constructor for class org.freedesktop.dbus.messages.ObjectTree
- 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.connections - package org.freedesktop.dbus.connections
- org.freedesktop.dbus.connections.impl - package org.freedesktop.dbus.connections.impl
- org.freedesktop.dbus.connections.transports - package org.freedesktop.dbus.connections.transports
- org.freedesktop.dbus.errors - package org.freedesktop.dbus.errors
- org.freedesktop.dbus.exceptions - package org.freedesktop.dbus.exceptions
- org.freedesktop.dbus.handlers - package org.freedesktop.dbus.handlers
- org.freedesktop.dbus.interfaces - package org.freedesktop.dbus.interfaces
- org.freedesktop.dbus.messages - package org.freedesktop.dbus.messages
- org.freedesktop.dbus.spi.message - package org.freedesktop.dbus.spi.message
- org.freedesktop.dbus.spi.transport - package org.freedesktop.dbus.spi.transport
- org.freedesktop.dbus.types - package org.freedesktop.dbus.types
- org.freedesktop.dbus.utils - package org.freedesktop.dbus.utils
- OutputStreamMessageWriter - Class in org.freedesktop.dbus.spi.message
- OutputStreamMessageWriter(SocketChannel) - Constructor for class org.freedesktop.dbus.spi.message.OutputStreamMessageWriter
P
- pad(byte) - Method in class org.freedesktop.dbus.messages.Message
-
Pad the message to the proper alignment for the given type.
- parseXmlString(String, boolean, boolean) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Read the given string as XML document.
- parseXmlStringWithXsdValidation(String, boolean) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Loads XML from string and uses referenced XSD to validate the content.
- parseXmlStringWithXsdValidation(String, boolean, ErrorHandler) - Static method in class org.freedesktop.dbus.utils.XmlUtil
-
Loads XML from string and uses referenced XSD to validate the content.
- PATH - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- Peer - Interface in org.freedesktop.dbus.interfaces
-
All DBus Applications should respond to the Ping method on this interface
- PeerSet - Class in org.freedesktop.dbus.connections
-
Add addresses of peers to a set which will watch for them to disappear and automatically remove them from the set.
- PeerSet(DBusConnection) - Constructor for class org.freedesktop.dbus.connections.PeerSet
- PendingCallbackManager - Class in org.freedesktop.dbus.connections
- perform() - Method in interface org.freedesktop.dbus.connections.IDisconnectAction
- Ping() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- Ping() - Method in class org.freedesktop.dbus.connections.GlobalHandler
- Ping() - Method in interface org.freedesktop.dbus.interfaces.Peer
- Position - Annotation Interface in org.freedesktop.dbus.annotations
-
Position annotation, to annotate Struct fields to be sent over DBus.
- print(byte[]) - Static method in class org.freedesktop.dbus.utils.Hexdump
- print(byte[], int) - Static method in class org.freedesktop.dbus.utils.Hexdump
- print(byte[], int, PrintStream) - Static method in class org.freedesktop.dbus.utils.Hexdump
- print(byte[], PrintStream) - Static method in class org.freedesktop.dbus.utils.Hexdump
- printDocument(Node, OutputStream) - Static method in class org.freedesktop.dbus.utils.XmlUtil
- Properties - Interface in org.freedesktop.dbus.interfaces
-
A standard properties interface.
- Properties.PropertiesChanged - Class in org.freedesktop.dbus.interfaces
-
Signal generated when a property changes.
- PropertiesChanged(String, String, Map<String, Variant<?>>, List<String>) - Constructor for class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
- PropertiesEmitsChangedSignal - Annotation 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
- PropertyReadOnly - Exception in org.freedesktop.dbus.errors
-
Thrown if a attempt to edit read only property
- PropertyReadOnly(String) - Constructor for exception org.freedesktop.dbus.errors.PropertyReadOnly
- PROTOCOL - Static variable in class org.freedesktop.dbus.messages.Message
-
The current protocol major version.
- put(K, V) - Method in class org.freedesktop.dbus.DBusMap
- putAll(Map<? extends K, ? extends V>) - Method in class org.freedesktop.dbus.DBusMap
Q
- QUEUE_POLL_WAIT - Static variable in class org.freedesktop.dbus.bin.DBusDaemon
- queueCallback(MethodCall, Method, CallbackHandler<?>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
- queueCallback(MethodCall, Method, CallbackHandler<?>, AbstractConnection) - Method in class org.freedesktop.dbus.connections.PendingCallbackManager
R
- randomString(int) - Static method in class org.freedesktop.dbus.utils.Util
-
Generate a simple (cryptographic insecure) random string.
- READ - Enum constant in enum class org.freedesktop.dbus.annotations.DBusProperty.Access
- READ_WRITE - Enum constant in enum class org.freedesktop.dbus.annotations.DBusProperty.Access
- 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 interface org.freedesktop.dbus.spi.message.IMessageReader
- readMessage() - Method in class org.freedesktop.dbus.spi.message.InputStreamMessageReader
- 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
- REJECT - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslResult
- REJECTED - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslCommand
- releaseBusName(String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Release a bus name.
- ReleaseName(String) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- ReleaseName(String) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Release a name on the bus.
- RemoteInvocationHandler - Class in org.freedesktop.dbus
- RemoteInvocationHandler(AbstractConnection, RemoteObject) - Constructor for class org.freedesktop.dbus.RemoteInvocationHandler
- RemoteObject - Class in org.freedesktop.dbus
- RemoteObject(String, String, Class<? extends DBusInterface>, boolean) - Constructor for class org.freedesktop.dbus.RemoteObject
- remove(Object) - Method in class org.freedesktop.dbus.connections.PeerSet
- remove(Object) - Method in class org.freedesktop.dbus.DBusMap
- remove(String) - Method in class org.freedesktop.dbus.connections.FallbackContainer
- remove(String) - Method in class org.freedesktop.dbus.messages.ObjectTree
- removeAll(Collection<?>) - Method in class org.freedesktop.dbus.connections.PeerSet
- removeCallback(MethodCall) - Method in class org.freedesktop.dbus.connections.PendingCallbackManager
- removeFallback(String) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a fallback
- removeGenericSigHandler(DBusMatchRule, DBusSigHandler<DBusSignal>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a generic signal handler with the given
DBusMatchRule
. - removeGenericSigHandler(DBusMatchRule, DBusSigHandler<DBusSignal>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Remove a generic signal handler with the given
DBusMatchRule
. - 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.
- removeSigHandler(Class<T>, String, DBusInterface, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Remove a Signal Handler.
- removeSigHandler(Class<T>, String, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Remove a Signal Handler.
- removeSigHandler(Class<T>, DBusInterface, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a Signal Handler.
- removeSigHandler(Class<T>, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a Signal Handler.
- removeSigHandler(DBusMatchRule, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Remove a match rule with the given
DBusSigHandler
. - removeSigHandler(DBusMatchRule, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Remove a match rule with the given
DBusSigHandler
. - removeSigHandler(DBusMatchRule, DBusSigHandler<T>) - Method in class org.freedesktop.dbus.connections.impl.DirectConnection
- REPLY_SERIAL - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- requestBusName(String) - Method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Request a bus name.
- RequestName(String, UInt32) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- RequestName(String, UInt32) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Request a name on the bus.
- reset() - Method in class org.freedesktop.dbus.utils.TimeMeasure
-
Resets the start time to current time in milliseconds.
- retainAll(Collection<?>) - Method in class org.freedesktop.dbus.connections.PeerSet
- 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.DBusServer
- run() - Method in class org.freedesktop.dbus.bin.DBusDaemon
- run() - Method in class org.freedesktop.dbus.connections.IncomingMessageThread
- run() - Method in class org.freedesktop.dbus.connections.SenderThread
S
- SASL - Class in org.freedesktop.dbus.connections
- SASL() - Constructor for class org.freedesktop.dbus.connections.SASL
-
Create a new SASL auth handler.
- SASL(boolean) - 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
- saveFile(String, String) - Static method in class org.freedesktop.dbus.bin.DBusDaemon
- send(SocketChannel, SASL.SaslCommand, String...) - Method in class org.freedesktop.dbus.connections.SASL
- SENDER - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- SenderThread - Class in org.freedesktop.dbus.connections
- sendMessage(Message) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Send a message or signal to the DBus daemon.
- serialize() - Method in interface org.freedesktop.dbus.interfaces.DBusSerializable
- SERVER - Enum constant in enum class org.freedesktop.dbus.connections.SASL.SaslMode
- ServiceUnknown - Exception in org.freedesktop.dbus.errors
-
Thrown if the requested service was not available
- ServiceUnknown(String) - Constructor for exception org.freedesktop.dbus.errors.ServiceUnknown
- SESSION - Enum constant in enum 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.
- setArgs(Object[]) - Method in class org.freedesktop.dbus.messages.Message
- setByteCounter(long) - Method in class org.freedesktop.dbus.messages.Message
- setCall(MethodCall) - Method in class org.freedesktop.dbus.messages.MethodReturn
- setDbusMachineIdFile(String) - Static method in class org.freedesktop.dbus.connections.impl.DBusConnection
-
Set a specific machine-id file path to read the machine ID from.
- setDefaultTimeout(long) - Static method in class org.freedesktop.dbus.messages.MethodCall
-
Set the default timeout for method calls.
- setEndianness(byte) - Static method in class org.freedesktop.dbus.connections.AbstractConnection
-
Set the endianness to use for all connections.
- setFileDescriptorSupport(boolean) - Method in interface org.freedesktop.dbus.spi.message.ISocketProvider
-
Called to indicate if the current
AbstractTransport
implementation supports file descriptor passing. - setPath(String) - Method in class org.freedesktop.dbus.DBusPath
- setReply(Message) - Method in class org.freedesktop.dbus.messages.MethodCall
- setResponse(String) - Method in class org.freedesktop.dbus.connections.SASL.Command
- setSaslAuthMode(int) - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- setSaslAuthMode(TransportBuilder.SaslAuthMode) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Use this to override the default authentication mode which would be used by the transport based on the
BusAddress
. - setSaslMode(SASL.SaslMode) - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
- setSerial(long) - Method in class org.freedesktop.dbus.messages.Message
- setSource(String) - Method in class org.freedesktop.dbus.messages.Message
-
Warning, do not use this method unless you really know what you are doing.
- setSource(String) - Method in class org.freedesktop.dbus.ObjectPath
- setType(String) - Method in exception org.freedesktop.dbus.exceptions.DBusExecutionException
- setUnixSocketGroup(String) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
The file group for the created unix socket.
Ignored if TCP is used.
Will only work if currently running JVM process user has suitable permissions to change the group. - setUnixSocketOwner(String) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
The file owner for the created unix socket.
Ignored if TCP is used.
Will only work if currently running JVM process user has suitable permissions to change the owner. - setUnixSocketPermissions(PosixFilePermission...) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
The file permissions for the created unix socket.
Ignored if TCP is used or if the OS is Windows.
Will only work if currently running JVM process user has suitable permissions to change the permissions. - setWeakReferences(boolean) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
If set to true the bus will not hold a strong reference to exported objects.
- setWiredata(byte[][]) - Method in class org.freedesktop.dbus.messages.Message
- shortValue() - Method in class org.freedesktop.dbus.types.UInt16
-
The value of this as a short.
- shortValue() - Method in class org.freedesktop.dbus.types.UInt32
-
The value of this as a short.
- shortValue() - Method in class org.freedesktop.dbus.types.UInt64
-
The value of this as a short.
- SIGNAL - Static variable in interface org.freedesktop.dbus.messages.Message.MessageType
- signalSource - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- signalSource - Variable in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- SignalTuple - Class in org.freedesktop.dbus
- SignalTuple(String, String, String, String) - Constructor for class org.freedesktop.dbus.SignalTuple
- SIGNATURE - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- SIGNATURE - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- SIGNATURE_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- size() - Method in class org.freedesktop.dbus.connections.PeerSet
- size() - Method in class org.freedesktop.dbus.DBusMap
- SLASH_PATTERN - Static variable in class org.freedesktop.dbus.messages.ObjectTree
- snakeToCamelCase(String) - Static method in class org.freedesktop.dbus.utils.Util
-
Converts a snake-case-string to camel case string.
- start() - Method in class org.freedesktop.dbus.bin.DBusDaemon
- startInBackground() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Start the DBusDaemon in background and returns immediately.
- startInBackgroundAndWait(long) - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Starts the DBusDaemon in background.
- startInForeground() - Method in class org.freedesktop.dbus.bin.EmbeddedDBusDaemon
-
Run the DBusDaemon in foreground.
- StartServiceByName(String, UInt32) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- StartServiceByName(String, UInt32) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
Start a service.
- stopRunning() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonReaderThread
- STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRING_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- StrongReference<T> - Class in org.freedesktop.dbus
-
An alternative to a WeakReference when you don't want that behavior.
- StrongReference(T) - Constructor for class org.freedesktop.dbus.StrongReference
- Struct - Class in org.freedesktop.dbus
-
This class should be extended to create Structs.
- Struct() - Constructor for class org.freedesktop.dbus.Struct
- STRUCT - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT1 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT1_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT2 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- STRUCT2_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- StructHelper - Class in org.freedesktop.dbus
-
Helper util to create
Struct
subclasses when receiving it from DBus. - syntax() - Static method in class org.freedesktop.dbus.bin.DBusDaemon
- SYSTEM - Enum constant in enum class org.freedesktop.dbus.connections.impl.DBusConnection.DBusBusType
-
System Bus
T
- TCP_ADDRESS_PROPERTY - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
-
System property name containing the DBUS TCP SESSION address used by dbus-java DBusDaemon in TCP mode.
- TCP_CONNECT_TIMEOUT - Static variable in class org.freedesktop.dbus.connections.AbstractConnection
-
Connect timeout, used for TCP only.
- terminate() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusDaemonSenderThread
- terminate() - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- terminate() - Method in class org.freedesktop.dbus.connections.IncomingMessageThread
- terminate() - Method in class org.freedesktop.dbus.connections.SenderThread
- throwException() - Method in class org.freedesktop.dbus.errors.Error
-
Throw this as an exception of the correct type
- TimeMeasure - Class in org.freedesktop.dbus.utils
-
Utility class for time measurements.
- TimeMeasure() - Constructor for class org.freedesktop.dbus.utils.TimeMeasure
-
Create a new instance, used a formatter converting everything >= 5000 ms to seconds (X.Y -> 6.1).
- TimeMeasure(TimeMeasure.ITimeMeasureFormat) - Constructor for class org.freedesktop.dbus.utils.TimeMeasure
-
Create a new instance using _ts millis as
- TimeMeasure.ITimeMeasureFormat - Interface in org.freedesktop.dbus.utils
- Timeout - Exception in org.freedesktop.dbus.errors
-
Thrown if a operation timed out
- Timeout(String) - Constructor for exception org.freedesktop.dbus.errors.Timeout
- toArray() - Method in class org.freedesktop.dbus.connections.PeerSet
- toArray(T[]) - Method in class org.freedesktop.dbus.connections.PeerSet
- 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[], int, int) - Static method in class org.freedesktop.dbus.utils.Hexdump
- toJavaFileDescriptor() - Method in class org.freedesktop.dbus.FileDescriptor
- top() - Method in class org.freedesktop.dbus.types.UInt64
-
Most significant 4 bytes.
- toString() - Method in enum 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.BusAddress
- toString() - Method in class org.freedesktop.dbus.connections.SASL.Command
- toString() - Method in class org.freedesktop.dbus.Container
-
Returns this struct as a string.
- toString() - Method in class org.freedesktop.dbus.DBusAsyncReply
- toString() - Method in class org.freedesktop.dbus.DBusMap
- toString() - Method in class org.freedesktop.dbus.DBusMatchRule
- toString() - Method in class org.freedesktop.dbus.DBusPath
- toString() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
- toString() - Method in class org.freedesktop.dbus.interfaces.ObjectManager.InterfacesRemoved
- toString() - Method in class org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
- toString() - Method in class org.freedesktop.dbus.messages.Message
-
Formats the message in a human-readable format.
- toString() - Method in class org.freedesktop.dbus.messages.ObjectTree
- toString() - Method in class org.freedesktop.dbus.RemoteObject
- toString() - Method in class org.freedesktop.dbus.SignalTuple
- 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.
- TransportConfigurationException - Exception in org.freedesktop.dbus.exceptions
- TransportConfigurationException(String) - Constructor for exception org.freedesktop.dbus.exceptions.TransportConfigurationException
- TransportConfigurationException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.TransportConfigurationException
- TransportFactory - Class in org.freedesktop.dbus.connections.transports
-
Deprecated, for removal: This API element is subject to removal in a future version.
- TransportRegistrationException - Exception in org.freedesktop.dbus.exceptions
-
Thrown if registration of transport providers fails.
- TransportRegistrationException(String) - Constructor for exception org.freedesktop.dbus.exceptions.TransportRegistrationException
- TransportRegistrationException(String, Throwable) - Constructor for exception org.freedesktop.dbus.exceptions.TransportRegistrationException
- TRUE - Enum constant in enum class org.freedesktop.dbus.annotations.PropertiesEmitsChangedSignal.EmitChangeSignal
- Tuple - Class in org.freedesktop.dbus
-
This class should be extended to create Tuples.
- Tuple() - Constructor for class org.freedesktop.dbus.Tuple
- type() - Element in annotation 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
- TypeRef<T> - Interface in org.freedesktop.dbus
-
Interface for retrieving generic type information with reflection.
- TypeSignature - Class in org.freedesktop.dbus
- TypeSignature(Type[]) - Constructor for class org.freedesktop.dbus.TypeSignature
- TypeSignature(String) - Constructor for class org.freedesktop.dbus.TypeSignature
U
- UInt16 - Class in org.freedesktop.dbus.types
-
Class to represent 16-bit unsigned integers.
- UInt16(int) - Constructor for class org.freedesktop.dbus.types.UInt16
-
Create a UInt16 from an int.
- UInt16(String) - Constructor for class org.freedesktop.dbus.types.UInt16
-
Create a UInt16 from a String.
- UINT16 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UINT16_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UInt32 - Class in org.freedesktop.dbus.types
-
Class to represent unsigned 32-bit numbers.
- UInt32(long) - Constructor for class org.freedesktop.dbus.types.UInt32
-
Create a UInt32 from a long.
- UInt32(String) - Constructor for class org.freedesktop.dbus.types.UInt32
-
Create a UInt32 from a String.
- UINT32 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UINT32_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UInt64 - Class in org.freedesktop.dbus.types
-
Class to represent unsigned 64-bit numbers.
- UInt64(long) - Constructor for class org.freedesktop.dbus.types.UInt64
-
Create a UInt64 from a long.
- UInt64(long, long) - Constructor for class org.freedesktop.dbus.types.UInt64
-
Create a UInt64 from two longs.
- UInt64(String) - Constructor for class org.freedesktop.dbus.types.UInt64
-
Create a UInt64 from a String.
- UInt64(BigInteger) - Constructor for class org.freedesktop.dbus.types.UInt64
-
Create a UInt64 from a BigInteger
- UINT64 - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- UINT64_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- unExportObject(String) - Method in class org.freedesktop.dbus.connections.AbstractConnection
-
Stop Exporting an object
- UNIX_FDS - Static variable in interface org.freedesktop.dbus.messages.Message.HeaderField
- UnknownInterface - Exception in org.freedesktop.dbus.errors
-
Thrown if a interface does not exist
- UnknownInterface(String) - Constructor for exception org.freedesktop.dbus.errors.UnknownInterface
- UnknownMethod - Exception in org.freedesktop.dbus.errors
-
Thrown if the method called was unknown on the remote object
- UnknownMethod(String) - Constructor for exception org.freedesktop.dbus.errors.UnknownMethod
- UnknownObject - Exception in org.freedesktop.dbus.errors
-
Thrown if the object was unknown on a remote connection
- UnknownObject(String) - Constructor for exception org.freedesktop.dbus.errors.UnknownObject
- UnknownProperty - Exception in org.freedesktop.dbus.errors
-
Thrown if a property does not exist in the interface
- UnknownProperty(String) - Constructor for exception org.freedesktop.dbus.errors.UnknownProperty
- UnknownTypeCodeException - Exception in org.freedesktop.dbus.exceptions
- UnknownTypeCodeException(byte) - Constructor for exception org.freedesktop.dbus.exceptions.UnknownTypeCodeException
- unwrap(T[]) - Static method in class org.freedesktop.dbus.ArrayFrob
- UpdateActivationEnvironment(Map<String, String>[]) - Method in class org.freedesktop.dbus.bin.DBusDaemon.DBusServer
- UpdateActivationEnvironment(Map<String, String>[]) - Method in interface org.freedesktop.dbus.interfaces.DBus
-
DBUS Specification:
Normally, session bus activated services inherit the environment of the bus daemon. - upperCaseFirstChar(String) - Static method in class org.freedesktop.dbus.utils.Util
-
Upper case the first letter of the given string.
- Util - Class in org.freedesktop.dbus.utils
-
Utility class providing helper methods for handling strings, files and so on.
V
- value() - Element in annotation 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.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.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.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.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
- Variant<T> - Class in org.freedesktop.dbus.types
-
A Wrapper class for Variant values.
- Variant(T) - Constructor for class org.freedesktop.dbus.types.Variant
-
Create a Variant from a basic type object.
- Variant(T, Type) - Constructor for class org.freedesktop.dbus.types.Variant
-
Create a Variant.
- Variant(T, String) - Constructor for class org.freedesktop.dbus.types.Variant
-
Create a Variant.
- VARIANT - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- VARIANT_STRING - Static variable in interface org.freedesktop.dbus.messages.Message.ArgumentType
- version() - Static method in class org.freedesktop.dbus.bin.DBusDaemon
W
- warning(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerQuiet
- warning(SAXParseException) - Method in class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- withAutoConnect(boolean) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Instantly connect to DBus when
TransportBuilder.build()
is called. - withSaslAuthMode(TransportBuilder.SaslAuthMode) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Set a different SASL authentication mode.
- withTimeout(int) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
Set the connection timeout (usually only used for TCP based transports).
- withUnixSocketFileGroup(String) - Method in class org.freedesktop.dbus.connections.transports.TransportBuilder
-
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.transports.TransportBuilder
-
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.transports.TransportBuilder
-
The permissions which will be set on socket file if a unix socket is used and this is a server transport.
- wrap(Object) - Static method in class org.freedesktop.dbus.ArrayFrob
- WRITE - Enum constant in enum class org.freedesktop.dbus.annotations.DBusProperty.Access
- writeMessage(Message) - Method in class org.freedesktop.dbus.connections.transports.AbstractTransport
-
Write a message to the underlying socket.
- writeMessage(Message) - Method in interface org.freedesktop.dbus.spi.message.IMessageWriter
-
Write a message out to the bus.
- writeMessage(Message) - Method in class org.freedesktop.dbus.spi.message.OutputStreamMessageWriter
- writeTextFile(String, String, Charset, boolean) - Static method in class org.freedesktop.dbus.utils.Util
-
Write String to file with the given charset.
X
- XmlErrorHandlerQuiet() - Constructor for class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerQuiet
- XmlErrorHandlerRuntimeException() - Constructor for class org.freedesktop.dbus.utils.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- XmlErrorHandlers - Class in org.freedesktop.dbus.utils
-
Sample ErrorHandlers for XML Parsing.
- XmlErrorHandlers() - Constructor for class org.freedesktop.dbus.utils.XmlErrorHandlers
- XmlErrorHandlers.XmlErrorHandlerQuiet - Class in org.freedesktop.dbus.utils
-
XML Error Handler which will silently ignore all thrown Exceptions.
- XmlErrorHandlers.XmlErrorHandlerRuntimeException - Class in org.freedesktop.dbus.utils
-
XML Error Handler which will throw RuntimeException if any Exception was thrown.
- XmlUtil - Class in org.freedesktop.dbus.utils
-
Assorted static XML utility methods.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
TransportBuilder
instead