Link between application and drasyl overlay network. Every message and every event is sent through the pipeline.
Interface Summary Interface Description AutoSwallowAll classes that implement this interface will be silent and automatically swallowed at the end of the pipeline. HandlerHandles an I/O event or intercepts an I/O operation, and forwards it to its next handler in its
Class Summary Class Description AbstractPipelineAbstract
Pipelineimplementation, that needs head and tail.
DefaultHandlerContextThe default handler context implementation. DrasylPipelineThe default
EmbeddedPipeline HandlerMaskClass to compute the mask of a given
Annotation Types Summary Annotation Type Description SkipIndicates that the annotated handler method (
Handler.read(HandlerContext, Address, Object, CompletableFuture),
Handler.write(HandlerContext, Address, Object, CompletableFuture),
Handler.eventTriggered(HandlerContext, Event, CompletableFuture)or
Handler.exceptionCaught(HandlerContext, Exception)) in
Handlerwill not be invoked by the
Pipelineand so MUST only be used when the
Handlermethod does nothing except forward to the next
Handlerin the pipeline.
StatelessIndicates that the annotated handler class is stateless and can safely be shared among multiple instances.