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 TypeMethodDescriptionvoidAbstractDuplexHandler.handleOutboundMessage(Context ctx, OutboundMessage msg, CompletableFuture<Void> future) voidAbstractOutboundHandler.handleOutboundMessage(Context ctx, OutboundMessage msg, CompletableFuture<Void> future) voidOutboundHandler.handleOutboundMessage(Context ctx, OutboundMessage msg, CompletableFuture<Void> future) Invoked when an outbound message is propagated through the pipeline.voidDefaultPipeline.propagateOutboundMessage(OutboundMessage msg, CompletableFuture<Void> future) voidOutboundPropagator.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.voidConnection.sendAndRouteResponse(OutboundMessage msg, CompletionStage<Void> future) Sends the givenOutboundMessageover the connection and completes the provided future when the message has been written to the D-Bus transport.voidDummyConnection.sendAndRouteResponse(OutboundMessage msg, CompletionStage<Void> future) Connection.sendRequest(OutboundMessage msg) Sends the givenOutboundMessageover 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 voidDummyConnection.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 TypeInterfaceDescriptioninterfaceA reply to a previously send message.Classes in com.lucimber.dbus.message that implement OutboundMessageModifier and TypeClassDescriptionfinal classAn outbound error message.final classAn outbound method call.final classAn outbound method return message.final classAn 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) voidNettyConnection.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 givenOutboundMessagewithout returning a future for the reply.io.netty.util.concurrent.Future<io.netty.util.concurrent.Future<InboundMessage>>RealityCheckpoint.writeMessage(OutboundMessage msg) Sends the givenOutboundMessageand returns a nestedFuturethat 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 TypeMethodDescriptionbooleanMessageBatcher.addMessage(io.netty.channel.ChannelHandlerContext ctx, OutboundMessage message, int estimatedSize) Adds a message to the current batch.