Package org.drasyl.pipeline
Link between application and drasyl overlay network. Every outgoing message and every incoming
event is sent through the pipeline.
-
Interface Summary Interface Description Handler Handles an I/O event or intercepts an I/O operation, and forwards it to its next handler in itsPipeline
.HandlerContext Pipeline A list ofHandler
s which handles or intercepts inbound events and outbound operations of aDrasylNode
. -
Class Summary Class Description AbstractEndHandler Skeleton implementation for end handler of thePipeline
.DefaultHandlerContext DefaultPipeline AbstractPipeline
implementation, that needs head and tail.DrasylPipeline The defaultPipeline
implementation.EmbeddedPipeline HandlerAdapter Skeleton implementation of aHandler
.SimpleDuplexHandler<I,E,O> HandlerAdapter
which allows to explicit only handle a specific type of messages and events.SimpleInboundHandler<I,E> HandlerAdapter
which allows to explicit only handle a specific type of messages and events.SimpleOutboundHandler<O> HandlerAdapter
which allows to explicit only handle a specific type of messages. -
Exception Summary Exception Description PipelineException RuntimeException thrown by thePipeline
.