Package com.lucimber.dbus.connection
Interface InboundPropagator
- All Known Implementing Classes:
DefaultPipeline
public interface InboundPropagator
Defines a component that can forward inbound events through a
Pipeline
.
Typically implemented by Context
instances or internal pipeline nodes, this interface
allows event propagation toward the tail of the pipeline.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Propagates a connection-activated event to the next handler in the pipeline.void
Propagates a connection-inactivated event to the next handler in the pipeline.void
propagateInboundFailure
(Throwable cause) Propagates an exception or failure encountered during inbound message processing.void
Propagates an inbound message to the next handler in the pipeline.
-
Method Details
-
propagateConnectionActive
void propagateConnectionActive()Propagates a connection-activated event to the next handler in the pipeline.If not intercepted, this event will reach the tail handler.
-
propagateConnectionInactive
void propagateConnectionInactive()Propagates a connection-inactivated event to the next handler in the pipeline.If not intercepted, this event will reach the tail handler.
-
propagateInboundMessage
Propagates an inbound message to the next handler in the pipeline.This allows handlers to process or forward the message as needed.
- Parameters:
msg
- theInboundMessage
to propagate.
-
propagateInboundFailure
Propagates an exception or failure encountered during inbound message processing.If not intercepted, the failure will be delivered to the final handler in the chain.
- Parameters:
cause
- theThrowable
representing the failure.
-