Uses of Interface
com.lucimber.dbus.type.DBusType
Packages that use DBusType
Package
Description
D-Bus message decoding infrastructure for converting wire format to Java objects.
D-Bus message encoding infrastructure for converting Java objects to wire format.
Connection management, lifecycle, and handler pipeline for D-Bus communication.
D-Bus message types and structures for method calls, returns, signals, and errors.
Type-safe D-Bus data types and containers providing compile-time marshalling safety.
Utility classes and helper functions for D-Bus operations and internal framework use.
-
Uses of DBusType in com.lucimber.dbus.codec.decoder
Classes in com.lucimber.dbus.codec.decoder with type parameters of type DBusTypeModifier and TypeClassDescriptionfinal class
ArrayDecoder<ValueT extends DBusType>
A decoder which unmarshals an array from the byte stream format used by D-Bus.interface
Decodes marshalled D-Bus data types.interface
DecoderResult<ValueT extends DBusType>
The DecoderResult class yields the decoded D-Bus data type and the number of decoded bytes.final class
DecoderResultImpl<ValueT extends DBusType>
Default implementation of the decoder result interface.final class
DictDecoder<KeyT extends DBusBasicType,
ValueT extends DBusType> A decoder which unmarshals a dictionary from the byte stream format used by D-Bus.final class
DictEntryDecoder<KeyT extends DBusBasicType,
ValueT extends DBusType> A decoder which unmarshals a key-value pair from the byte stream format used by D-Bus.Methods in com.lucimber.dbus.codec.decoder with type parameters of type DBusTypeModifier and TypeMethodDescriptionstatic <R extends DBusType>
DecoderResult<R>DecoderUtils.decode
(DBusSignature signature, ByteBuffer buffer, int offset) Decodes D-Bus data types from a buffer.Methods in com.lucimber.dbus.codec.decoder that return types with arguments of type DBusTypeModifier and TypeMethodDescriptionDecoderFactory.createDecoder
(Type type) Creates a decoder for the specified D-Bus type.DecoderFactory.createDecoder
(TypeCode typeCode) Creates a decoder for the specified D-Bus type code.DefaultDecoderFactory.createDecoder
(Type type) DefaultDecoderFactory.createDecoder
(TypeCode typeCode) -
Uses of DBusType in com.lucimber.dbus.codec.encoder
Classes in com.lucimber.dbus.codec.encoder with type parameters of type DBusTypeModifier and TypeClassDescriptionfinal class
ArrayEncoder<E extends DBusType>
An encoder which encodes an array to the D-Bus marshalling format using ByteBuffer.final class
DictEncoder<KeyT extends DBusBasicType,
ValueT extends DBusType> An encoder which encodes a dictionary to the D-Bus marshalling format using ByteBuffer.final class
DictEntryEncoder<KeyT extends DBusBasicType,
ValueT extends DBusType> An encoder which encodes a key-value pair to the D-Bus marshalling format using ByteBuffer.Methods in com.lucimber.dbus.codec.encoder that return types with arguments of type DBusTypeModifier and TypeMethodDescriptionDefaultEncoderFactory.createEncoder
(Type type, ByteOrder order) EncoderFactory.createEncoder
(Type type, ByteOrder order) Creates an encoder for the specified D-Bus type.Methods in com.lucimber.dbus.codec.encoder with parameters of type DBusTypeModifier and TypeMethodDescriptionstatic EncoderResult<ByteBuffer>
Encodes a DBusType into its binary representation using ByteBuffer. -
Uses of DBusType in com.lucimber.dbus.connection
Method parameters in com.lucimber.dbus.connection with type arguments of type DBusTypeModifier and TypeMethodDescriptionstatic Function<OutboundMessage,
InboundMessage> DummyConnection.successResponse
(List<DBusType> body) Creates a success response with the given body. -
Uses of DBusType in com.lucimber.dbus.message
Methods in com.lucimber.dbus.message that return types with arguments of type DBusTypeMethod parameters in com.lucimber.dbus.message with type arguments of type DBusTypeModifier and TypeMethodDescriptionInboundError.Builder.withBody
(DBusSignature signature, List<? extends DBusType> payload) InboundMethodCall.Builder.withBody
(DBusSignature signature, List<? extends DBusType> payload) InboundMethodReturn.Builder.withBody
(DBusSignature signature, List<? extends DBusType> payload) InboundSignal.Builder.withBody
(DBusSignature signature, List<? extends DBusType> payload) OutboundError.Builder.withBody
(DBusSignature signature, List<? extends DBusType> payload) OutboundMethodCall.Builder.withBody
(DBusSignature signature, List<? extends DBusType> payload) OutboundMethodReturn.Builder.withBody
(DBusSignature signature, List<? extends DBusType> payload) OutboundSignal.Builder.withBody
(DBusSignature signature, List<? extends DBusType> payload) Constructor parameters in com.lucimber.dbus.message with type arguments of type DBusTypeModifierConstructorDescriptionInboundError
(DBusUInt32 serial, DBusUInt32 replySerial, DBusString sender, DBusString errorName, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter.InboundMethodCall
(DBusUInt32 serial, DBusString sender, DBusObjectPath path, DBusString member, boolean replyExpected, DBusString iface, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter.InboundMethodReturn
(DBusUInt32 serial, DBusUInt32 replySerial, DBusString sender, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter.InboundSignal
(DBusUInt32 serial, DBusString sender, DBusObjectPath path, DBusString iface, DBusString member, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter.OutboundError
(DBusUInt32 serial, DBusUInt32 replySerial, DBusString errorName, DBusString dst, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter.OutboundMethodCall
(DBusUInt32 serial, DBusObjectPath path, DBusString member, boolean replyExpected, DBusString dst, DBusString iface, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter.OutboundMethodCall
(DBusUInt32 serial, DBusObjectPath path, DBusString member, boolean replyExpected, DBusString dst, DBusString iface, DBusSignature signature, List<? extends DBusType> payload, Duration timeout) Constructs a new instance with all parameter including timeout.OutboundMethodReturn
(DBusUInt32 serial, DBusUInt32 replySerial, DBusString dst, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter.OutboundSignal
(DBusUInt32 serial, DBusObjectPath path, DBusString iface, DBusString member, DBusString dst, DBusSignature signature, List<? extends DBusType> payload) Constructs a new instance with all parameter. -
Uses of DBusType in com.lucimber.dbus.type
Classes in com.lucimber.dbus.type with type parameters of type DBusTypeModifier and TypeClassDescriptionfinal class
An ordered collection of elements.final class
DBusDict<KeyT extends DBusBasicType,
ValueT extends DBusType> An object that maps keys to values.final class
DBusDictEntry<KeyT extends DBusBasicType,
ValueT extends DBusType> A map entry (key-value pair).Subinterfaces of DBusType in com.lucimber.dbus.typeModifier and TypeInterfaceDescriptioninterface
The D-Bus type system consists of two distinct categories known as basic and container types.interface
The D-Bus type system consists of two distinct categories known as basic and container types.Classes in com.lucimber.dbus.type that implement DBusTypeModifier and TypeClassDescriptionfinal class
An ordered collection of elements.final class
Maps aBoolean
to its D-Bus equivalent of BOOLEAN.final class
Maps aByte
to its D-Bus equivalent of BYTE.final class
DBusDict<KeyT extends DBusBasicType,
ValueT extends DBusType> An object that maps keys to values.final class
DBusDictEntry<KeyT extends DBusBasicType,
ValueT extends DBusType> A map entry (key-value pair).final class
Maps aDouble
to its D-Bus equivalent of DOUBLE.final class
Maps aShort
to its D-Bus equivalent of INT16.final class
Maps anInteger
to its D-Bus equivalent of INT32.final class
Maps aLong
to its D-Bus equivalent of INT64.final class
D-Bus objects are identified within an application via their object path.final class
D-Bus uses a string-based type encoding mechanism called Signatures to describe the number and types of arguments required by methods and signals.final class
Maps aString
to its D-Bus equivalent of STRING.final class
A struct that can hold various objects.final class
Maps an unsignedShort
to its D-Bus equivalent of UINT16.final class
Maps an unsignedInteger
to its D-Bus equivalent of UINT32.final class
Maps an unsignedLong
to its D-Bus equivalent of UINT64.final class
Maps an unsignedInteger
to its D-Bus equivalent of UNIX_FD.final class
Variants may contain a value of any type.Methods in com.lucimber.dbus.type with type parameters of type DBusTypeModifier and TypeMethodDescriptionCreates an empty array with the specified element signature.Methods in com.lucimber.dbus.type that return DBusTypeMethods in com.lucimber.dbus.type that return types with arguments of type DBusTypeMethods in com.lucimber.dbus.type with parameters of type DBusTypeConstructors in com.lucimber.dbus.type with parameters of type DBusTypeModifierConstructorDescriptionDBusStruct
(DBusSignature signature, DBusType... values) Constructs a new struct with the signature of the values.Constructor parameters in com.lucimber.dbus.type with type arguments of type DBusTypeModifierConstructorDescriptionDBusStruct
(DBusSignature signature, List<DBusType> types) Constructs a new struct with mandatory parameter. -
Uses of DBusType in com.lucimber.dbus.util
Methods in com.lucimber.dbus.util with type parameters of type DBusTypeModifier and TypeMethodDescriptionHeaderFieldExtractor.extractOptional
(Map<HeaderField, DBusVariant> headerFields, HeaderField field, Class<T> expectedType) Extracts an optional header field value of the specified type.static <T extends DBusType>
THeaderFieldExtractor.extractRequired
(Map<HeaderField, DBusVariant> headerFields, HeaderField field, Class<T> expectedType) Extracts a required header field value of the specified type.<U extends DBusType>
DBusPromise<U>Maps the first element of a payload list.Methods in com.lucimber.dbus.util that return types with arguments of type DBusTypeModifier and TypeMethodDescriptionDBusPromise.mapReturn()
Maps an InboundMessage to its return payload.