Uses of Interface
org.drasyl.pipeline.Handler
-
Packages that use Handler Package Description org.drasyl.pipeline Link between application and drasyl overlay network.org.drasyl.pipeline.codec Package contains classes that are used for encoding/decoding objects.org.drasyl.plugins Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with user-defined settings. -
-
Uses of Handler in org.drasyl.pipeline
Classes in org.drasyl.pipeline that implement Handler Modifier and Type Class Description class
AbstractEndHandler
Skeleton implementation for end handler of thePipeline
.class
HandlerAdapter
Skeleton implementation of aHandler
.class
SimpleDuplexHandler<I,E,O>
HandlerAdapter
which allows to explicit only handle a specific type of messages and events.class
SimpleInboundHandler<I,E>
HandlerAdapter
which allows to explicit only handle a specific type of messages and events.class
SimpleOutboundHandler<O>
HandlerAdapter
which allows to explicit only handle a specific type of messages.Methods in org.drasyl.pipeline that return Handler Modifier and Type Method Description Handler
DefaultPipeline. get(String name)
Handler
Pipeline. get(String name)
Returns theHandler
with the specified name in this pipeline.Handler
AbstractEndHandler. handler()
Handler
DefaultHandlerContext. handler()
Handler
HandlerContext. handler()
Methods in org.drasyl.pipeline with parameters of type Handler Modifier and Type Method Description Pipeline
DefaultPipeline. addAfter(String baseName, String name, Handler handler)
Pipeline
Pipeline. addAfter(String baseName, String name, Handler handler)
Inserts aHandler
after an existing handler of this pipeline.Pipeline
DefaultPipeline. addBefore(String baseName, String name, Handler handler)
Pipeline
Pipeline. addBefore(String baseName, String name, Handler handler)
Inserts aHandler
before an existing handler of this pipeline.Pipeline
DefaultPipeline. addFirst(String name, Handler handler)
Pipeline
Pipeline. addFirst(String name, Handler handler)
Inserts aHandler
at the first position of this pipeline.Pipeline
DefaultPipeline. addLast(String name, Handler handler)
Pipeline
Pipeline. addLast(String name, Handler handler)
Appends aHandler
at the last position of this pipeline.Pipeline
DefaultPipeline. replace(String oldName, String newName, Handler newHandler)
Pipeline
Pipeline. replace(String oldName, String newName, Handler newHandler)
Replaces theHandler
of the specified name with a new handler in this pipeline.Constructors in org.drasyl.pipeline with parameters of type Handler Constructor Description DefaultHandlerContext(String name, Handler handler, DrasylConfig config, Pipeline pipeline, io.reactivex.rxjava3.core.Scheduler scheduler, Identity identity, TypeValidator validator)
EmbeddedPipeline(Identity identity, TypeValidator validator, Handler... handlers)
Creates a new embedded pipeline and adds all given handler to it. -
Uses of Handler in org.drasyl.pipeline.codec
Classes in org.drasyl.pipeline.codec that implement Handler Modifier and Type Class Description class
Codec<E,D>
Standard interface for all codecs of thePipeline
.class
DefaultCodec
This default codec allows to encode/decode all supported objects by Jackson.class
ObjectHolder2ApplicationMessageHandler
-
Uses of Handler in org.drasyl.plugins
Methods in org.drasyl.plugins that return types with arguments of type Handler Modifier and Type Method Description List<Handler>
DrasylPlugin. getHandler()
-