Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- SASL - Static variable in class com.lucimber.dbus.util.LoggerUtils
-
Authentication processes.
- SASL_AUTH_COMPLETE - Enum constant in enum class com.lucimber.dbus.netty.DBusChannelEvent
-
Fired by
SaslAuthenticationHandler
when SASL authentication has successfully completed. - SASL_AUTH_FAILED - Enum constant in enum class com.lucimber.dbus.netty.DBusChannelEvent
-
Fired by
SaslAuthenticationHandler
when SASL authentication has failed. - SASL_AUTHENTICATION_HANDLER - Static variable in class com.lucimber.dbus.netty.DBusHandlerNames
- SASL_CODEC - Static variable in class com.lucimber.dbus.netty.DBusHandlerNames
- SASL_INITIATION_HANDLER - Static variable in class com.lucimber.dbus.netty.DBusHandlerNames
- SASL_MESSAGE_DECODER - Static variable in class com.lucimber.dbus.netty.DBusHandlerNames
- SASL_MESSAGE_ENCODER - Static variable in class com.lucimber.dbus.netty.DBusHandlerNames
- SASL_NUL_BYTE_SENT - Enum constant in enum class com.lucimber.dbus.netty.DBusChannelEvent
-
Fired by
SaslInitiationHandler
after the initial NUL byte has been successfully sent. - SaslAuthenticationHandler - Class in com.lucimber.dbus.netty.sasl
- SaslAuthenticationHandler() - Constructor for class com.lucimber.dbus.netty.sasl.SaslAuthenticationHandler
- SaslAuthenticationHandler(List<SaslMechanism>) - Constructor for class com.lucimber.dbus.netty.sasl.SaslAuthenticationHandler
- SaslAuthMechanism - Enum Class in com.lucimber.dbus.connection.sasl
-
An enum that describes the supported authentication mechanisms.
- SaslCodec - Class in com.lucimber.dbus.netty.sasl
- SaslCodec() - Constructor for class com.lucimber.dbus.netty.sasl.SaslCodec
- SaslCommandName - Enum Class in com.lucimber.dbus.connection.sasl
-
Contains all SASL command names used by D-Bus.
- SaslInitiationHandler - Class in com.lucimber.dbus.netty.sasl
-
A Netty channel handler that initiates the DBus SASL authentication process by sending a NUL byte when the channel becomes active.
- SaslInitiationHandler() - Constructor for class com.lucimber.dbus.netty.sasl.SaslInitiationHandler
- SaslMechanism - Interface in com.lucimber.dbus.netty.sasl
- SaslMechanismException - Exception in com.lucimber.dbus.netty.sasl
- SaslMechanismException(String) - Constructor for exception com.lucimber.dbus.netty.sasl.SaslMechanismException
- SaslMechanismException(String, Throwable) - Constructor for exception com.lucimber.dbus.netty.sasl.SaslMechanismException
- SaslMessage - Class in com.lucimber.dbus.connection.sasl
-
A SASL message exchanged between a D-Bus instance (server) and a client application.
- SaslMessage(SaslCommandName, String) - Constructor for class com.lucimber.dbus.connection.sasl.SaslMessage
-
Constructs a new
SaslMessage
. - SaslMessageDecoder - Class in com.lucimber.dbus.netty.sasl
-
Decoder: Accumulates ASCII bytes until CRLF, then maps to SaslMessage.
- SaslMessageDecoder() - Constructor for class com.lucimber.dbus.netty.sasl.SaslMessageDecoder
- SaslMessageEncoder - Class in com.lucimber.dbus.netty.sasl
-
Encodes a SaslMessage into a US-ASCII line terminated with CRLF, as required by the D-Bus SASL protocol.
- SaslMessageEncoder() - Constructor for class com.lucimber.dbus.netty.sasl.SaslMessageEncoder
- SaslUtils - Class in com.lucimber.dbus.util
-
Utility class for common methods used for SASL authentication.
- send(OutboundMessage) - Method in interface com.lucimber.dbus.connection.ConnectionHandle
-
Sends a message over this connection.
- send(OutboundMessage) - Method in class com.lucimber.dbus.netty.NettyConnectionHandle
- sendAndRouteResponse(OutboundMessage, CompletionStage<Void>) - Method in interface com.lucimber.dbus.connection.Connection
-
Sends the given
OutboundMessage
over the connection and completes the provided future when the message has been written to the D-Bus transport. - sendAndRouteResponse(OutboundMessage, CompletionStage<Void>) - Method in class com.lucimber.dbus.connection.DummyConnection
- sendAndRouteResponse(OutboundMessage, CompletionStage<Void>) - Method in class com.lucimber.dbus.netty.NettyConnection
- SENDER - Enum constant in enum class com.lucimber.dbus.message.HeaderField
-
Sender bus name.
- sendRequest(OutboundMessage) - Method in interface com.lucimber.dbus.connection.Connection
-
Sends the given
OutboundMessage
over this connection, bypassing the pipeline. - sendRequest(OutboundMessage) - Method in interface com.lucimber.dbus.connection.ConnectionHandle
-
Sends a request message and waits for a response.
- sendRequest(OutboundMessage) - Method in class com.lucimber.dbus.connection.DummyConnection
- sendRequest(OutboundMessage) - Method in class com.lucimber.dbus.netty.NettyConnection
- sendRequest(OutboundMessage) - Method in class com.lucimber.dbus.netty.NettyConnectionHandle
- ServiceProxy - Class in com.lucimber.dbus.proxy
-
Factory for creating dynamic proxies for D-Bus service clients.
- ServiceProxy.DBusException - Exception in com.lucimber.dbus.proxy
-
Exception thrown when D-Bus operations fail.
- ServiceUnknownException - Exception in com.lucimber.dbus.exception
-
The contacted bus service is unknown and cannot be activated.
- ServiceUnknownException() - Constructor for exception com.lucimber.dbus.exception.ServiceUnknownException
-
Creates a new instance.
- ServiceUnknownException(DBusString) - Constructor for exception com.lucimber.dbus.exception.ServiceUnknownException
-
Creates a new instance with a message.
- ServiceUnknownException(DBusString, Throwable) - Constructor for exception com.lucimber.dbus.exception.ServiceUnknownException
-
Creates a new instance with a message and cause.
- ServiceUnknownException(Throwable) - Constructor for exception com.lucimber.dbus.exception.ServiceUnknownException
-
Creates a new instance with a cause.
- set(int, ElementT) - Method in class com.lucimber.dbus.type.DBusArray
- setConsumedBytes(int) - Method in interface com.lucimber.dbus.codec.decoder.DecoderResult
-
Sets the number of bytes, that have been consumed by a decoder while producing this result.
- setConsumedBytes(int) - Method in class com.lucimber.dbus.codec.decoder.DecoderResultImpl
- setMethodCallResponse(String, String, Function<OutboundMessage, InboundMessage>) - Method in class com.lucimber.dbus.connection.DummyConnection
-
Sets a response handler for method calls to a specific interface and method.
- setProperty(DBusString, DBusString, DBusVariant) - Method in interface com.lucimber.dbus.standard.Properties
-
Sets the value of a property.
- setValue(ValueT) - Method in class com.lucimber.dbus.type.DBusDictEntry
- shouldPerformCleanup(long, long) - Static method in class com.lucimber.dbus.util.MemoryOptimizer
-
Suggests whether a cleanup operation should be performed based on current memory conditions and operation frequency.
- shutdown() - Method in class com.lucimber.dbus.connection.ConnectionHealthHandler
-
Shuts down the health monitor and its executors.
- shutdown() - Method in class com.lucimber.dbus.connection.ConnectionReconnectHandler
-
Shuts down the reconnection handler and its scheduler.
- shutdown() - Method in class com.lucimber.dbus.connection.ConnectionThreadPoolManager
-
Shuts down the thread pools gracefully.
- shutdown() - Method in class com.lucimber.dbus.util.ErrorRecoveryManager
-
Shuts down the error recovery manager and releases resources.
- shutdown() - Method in class com.lucimber.dbus.util.MessageBatcher
-
Shuts down the batcher, canceling any pending flushes.
- SIGNAL - Enum constant in enum class com.lucimber.dbus.message.MessageType
-
Signal emission.
- SIGNATURE - Enum constant in enum class com.lucimber.dbus.message.HeaderField
-
Signature of the body parameters.
- SIGNATURE - Enum constant in enum class com.lucimber.dbus.type.Type
-
A signature is a string-like type and forms a list of single complete types.
- SIGNATURE - Enum constant in enum class com.lucimber.dbus.type.TypeAlignment
- SIGNATURE - Enum constant in enum class com.lucimber.dbus.type.TypeCode
- SignatureDecoder - Class in com.lucimber.dbus.codec.decoder
-
A decoder which unmarshals a signature from the byte stream format used by D-Bus.
- SignatureDecoder() - Constructor for class com.lucimber.dbus.codec.decoder.SignatureDecoder
- SignatureEncoder - Class in com.lucimber.dbus.codec.encoder
-
An encoder which encodes a signature to the D-Bus marshalling format using ByteBuffer.
- SignatureEncoder() - Constructor for class com.lucimber.dbus.codec.encoder.SignatureEncoder
- SignatureException - Exception in com.lucimber.dbus.type
-
A
RuntimeException
that gets thrown byDBusSignature
, if a marshalledDBusSignature
cannot be parsed. - SignatureException(String) - Constructor for exception com.lucimber.dbus.type.SignatureException
- SignatureException(String, Throwable) - Constructor for exception com.lucimber.dbus.type.SignatureException
- SignatureException(Throwable) - Constructor for exception com.lucimber.dbus.type.SignatureException
- simulateConnectionFailure() - Method in class com.lucimber.dbus.connection.DummyConnection
-
Simulates a connection failure by transitioning to FAILED state.
- simulateReconnection() - Method in class com.lucimber.dbus.connection.DummyConnection
-
Simulates a reconnection attempt.
- size() - Method in class com.lucimber.dbus.type.DBusArray
- size() - Method in class com.lucimber.dbus.type.DBusDict
- skipPadding(ByteBuffer, int, Type) - Static method in class com.lucimber.dbus.codec.decoder.DecoderUtils
-
Skips alignment padding bytes in the buffer for the given type.
- sort(Comparator<? super ElementT>) - Method in class com.lucimber.dbus.type.DBusArray
- spliterator() - Method in class com.lucimber.dbus.type.DBusArray
- StandardInterfaceHandler - Class in com.lucimber.dbus.annotation
-
Handler that implements standard D-Bus interfaces using reflection and annotations.
- StandardInterfaceHandler(String, Object) - Constructor for class com.lucimber.dbus.annotation.StandardInterfaceHandler
-
Creates a handler for the given object at the specified path.
- startsWith(DBusObjectPath) - Method in class com.lucimber.dbus.type.DBusObjectPath
-
Tests if this path start with the specified prefix.
- STATE_CHANGED - Enum constant in enum class com.lucimber.dbus.connection.ConnectionEventType
-
Connection state has changed (e.g., from CONNECTING to CONNECTED).
- stateChanged(ConnectionState, ConnectionState) - Static method in class com.lucimber.dbus.connection.ConnectionEvent
-
Creates a state change event.
- stream() - Method in class com.lucimber.dbus.type.DBusArray
- STRING - Enum constant in enum class com.lucimber.dbus.type.Type
-
UTF-8 string (must be valid UTF-8).
- STRING - Enum constant in enum class com.lucimber.dbus.type.TypeAlignment
- STRING - Enum constant in enum class com.lucimber.dbus.type.TypeCode
- StringDecoder - Class in com.lucimber.dbus.codec.decoder
-
A decoder which unmarshals a string from the byte stream format used by D-Bus.
- StringDecoder() - Constructor for class com.lucimber.dbus.codec.decoder.StringDecoder
- StringEncoder - Class in com.lucimber.dbus.codec.encoder
-
An encoder which encodes a string to the D-Bus marshalling format using ByteBuffer.
- StringEncoder(ByteOrder) - Constructor for class com.lucimber.dbus.codec.encoder.StringEncoder
-
Constructs a new instance with mandatory parameter.
- STRUCT - Enum constant in enum class com.lucimber.dbus.type.Type
-
A struct is a container type and can store one or many single complete types.
- STRUCT - Enum constant in enum class com.lucimber.dbus.type.TypeAlignment
- STRUCT_END - Enum constant in enum class com.lucimber.dbus.type.TypeCode
- STRUCT_START - Enum constant in enum class com.lucimber.dbus.type.TypeCode
- StructDecoder - Class in com.lucimber.dbus.codec.decoder
-
A decoder which unmarshals a struct from the byte stream format used by D-Bus.
- StructDecoder(DBusSignature) - Constructor for class com.lucimber.dbus.codec.decoder.StructDecoder
-
Creates a new instance with mandatory parameters.
- StructEncoder - Class in com.lucimber.dbus.codec.encoder
-
An encoder which encodes a struct to the D-Bus marshalling format using ByteBuffer.
- StructEncoder(ByteOrder, DBusSignature) - Constructor for class com.lucimber.dbus.codec.encoder.StructEncoder
-
Constructs a new instance with mandatory parameter.
- subContainer() - Method in class com.lucimber.dbus.type.DBusSignature
-
Returns a new signature without the enclosing container description.
- subList(int, int) - Method in class com.lucimber.dbus.type.DBusArray
- successResponse(List<DBusType>) - Static method in class com.lucimber.dbus.connection.DummyConnection
-
Creates a success response with the given body.
- successThreshold - Variable in class com.lucimber.dbus.util.ErrorRecoveryManager.CircuitBreakerConfig
- successThreshold(int) - Method in class com.lucimber.dbus.util.ErrorRecoveryManager.CircuitBreakerConfig.Builder
- suggestCollectionCapacity(int, int) - Static method in class com.lucimber.dbus.util.MemoryOptimizer
-
Suggests an optimal initial capacity for collections based on memory pressure and expected size.
- supports(SocketAddress) - Method in interface com.lucimber.dbus.connection.ConnectionStrategy
-
Checks if this strategy can handle the given socket address.
- supports(SocketAddress) - Method in class com.lucimber.dbus.netty.NettyTcpStrategy
- supports(SocketAddress) - Method in class com.lucimber.dbus.netty.NettyUnixSocketStrategy
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form