Uses of Interface
com.lucimber.dbus.message.OutboundMessage
Packages that use OutboundMessage
Package
Description
Connection management, lifecycle, and handler pipeline for D-Bus communication.
D-Bus message types and structures for method calls, returns, signals, and errors.
Netty-based transport implementation for high-performance D-Bus communication.
Utility classes and helper functions for D-Bus operations and internal framework use.
-
Uses of OutboundMessage in com.lucimber.dbus.connection
Methods in com.lucimber.dbus.connection that return types with arguments of type OutboundMessageModifier and TypeMethodDescriptionstatic Function<OutboundMessage,
InboundMessage> DummyConnection.errorResponse
(String errorName, String errorMessage) Creates an error response with the given error name and message.DummyConnection.getSentMessages()
Returns all messages sent through this connection.DummyConnection.getSentMessages
(Predicate<OutboundMessage> predicate) Returns all messages sent through this connection that match the given predicate.static Function<OutboundMessage,
InboundMessage> DummyConnection.successResponse
(List<DBusType> body) Creates a success response with the given body.Methods in com.lucimber.dbus.connection with parameters of type OutboundMessageModifier and TypeMethodDescriptionvoid
AbstractDuplexHandler.handleOutboundMessage
(Context ctx, OutboundMessage msg, CompletableFuture<Void> future) void
AbstractOutboundHandler.handleOutboundMessage
(Context ctx, OutboundMessage msg, CompletableFuture<Void> future) void
OutboundHandler.handleOutboundMessage
(Context ctx, OutboundMessage msg, CompletableFuture<Void> future) Invoked when an outbound message is propagated through the pipeline.void
DefaultPipeline.propagateOutboundMessage
(OutboundMessage msg, CompletableFuture<Void> future) void
OutboundPropagator.propagateOutboundMessage
(OutboundMessage msg, CompletableFuture<Void> future) Propagates an outbound message to the previous handler in the pipeline.ConnectionHandle.send
(OutboundMessage message) Sends a message over this connection.void
Connection.sendAndRouteResponse
(OutboundMessage msg, CompletionStage<Void> future) Sends the givenOutboundMessage
over the connection and completes the provided future when the message has been written to the D-Bus transport.void
DummyConnection.sendAndRouteResponse
(OutboundMessage msg, CompletionStage<Void> future) Connection.sendRequest
(OutboundMessage msg) Sends the givenOutboundMessage
over this connection, bypassing the pipeline.ConnectionHandle.sendRequest
(OutboundMessage message) Sends a request message and waits for a response.DummyConnection.sendRequest
(OutboundMessage msg) Method parameters in com.lucimber.dbus.connection with type arguments of type OutboundMessageModifier and TypeMethodDescriptionDummyConnection.getSentMessages
(Predicate<OutboundMessage> predicate) Returns all messages sent through this connection that match the given predicate.final void
DummyConnection.setMethodCallResponse
(String interfaceName, String methodName, Function<OutboundMessage, InboundMessage> responseFunction) Sets a response handler for method calls to a specific interface and method.DummyConnection.Builder.withMethodCallResponse
(String interfaceName, String methodName, Function<OutboundMessage, InboundMessage> responseFunction) Adds a response handler for method calls. -
Uses of OutboundMessage in com.lucimber.dbus.message
Subinterfaces of OutboundMessage in com.lucimber.dbus.messageModifier and TypeInterfaceDescriptioninterface
A reply to a previously send message.Classes in com.lucimber.dbus.message that implement OutboundMessageModifier and TypeClassDescriptionfinal class
An outbound error message.final class
An outbound method call.final class
An outbound method return message.final class
An outbound signal message. -
Uses of OutboundMessage in com.lucimber.dbus.netty
Methods in com.lucimber.dbus.netty with parameters of type OutboundMessageModifier and TypeMethodDescriptionNettyConnectionHandle.send
(OutboundMessage message) void
NettyConnection.sendAndRouteResponse
(OutboundMessage msg, CompletionStage<Void> future) NettyConnection.sendRequest
(OutboundMessage msg) NettyConnectionHandle.sendRequest
(OutboundMessage message) io.netty.util.concurrent.Future<Void>
RealityCheckpoint.writeAndRouteResponse
(OutboundMessage msg) Sends the givenOutboundMessage
without returning a future for the reply.io.netty.util.concurrent.Future<io.netty.util.concurrent.Future<InboundMessage>>
RealityCheckpoint.writeMessage
(OutboundMessage msg) Sends the givenOutboundMessage
and returns a nestedFuture
that tracks both the write completion and the eventual reply. -
Uses of OutboundMessage in com.lucimber.dbus.util
Methods in com.lucimber.dbus.util that return types with arguments of type OutboundMessageModifier and TypeMethodDescriptionMessageBatcher.flushBatch
(io.netty.channel.ChannelHandlerContext ctx) Flushes the current batch immediately.Methods in com.lucimber.dbus.util with parameters of type OutboundMessageModifier and TypeMethodDescriptionboolean
MessageBatcher.addMessage
(io.netty.channel.ChannelHandlerContext ctx, OutboundMessage message, int estimatedSize) Adds a message to the current batch.