Uses of Interface
org.drasyl.pipeline.Pipeline
Packages that use Pipeline
Package
Description
Core API that includes the
DrasylNode
and DrasylConfig
.Monitors various states or events in the drasyl node.
Connects to super peer and other peers.
Establishes direct connections to other peers.
netty handlers for peer connections.
Automatic discovery of other running drasyl nodes in the same JVM.
Uses the file system to discover other drasyl nodes running on the local computer.
Provides a server to which children and other peers can connect.
Link between application and drasyl overlay network.
Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with
user-defined settings.
-
Uses of Pipeline in org.drasyl
Methods in org.drasyl that return PipelineModifier and TypeMethodDescriptionDrasylNode.pipeline()
Returns thePipeline
to allow users to add own handlers.Constructors in org.drasyl with parameters of type PipelineModifierConstructorDescriptionprotected
DrasylNode
(DrasylConfig config, Identity identity, PeersManager peersManager, PeerChannelGroup channelGroup, Set<Endpoint> endpoints, AtomicBoolean acceptNewConnections, Pipeline pipeline, List<DrasylNodeComponent> components, PluginManager pluginManager, AtomicBoolean started, CompletableFuture<Void> startSequence, CompletableFuture<Void> shutdownSequence) -
Uses of Pipeline in org.drasyl.monitoring
Constructors in org.drasyl.monitoring with parameters of type PipelineModifierConstructorDescriptionMonitoring
(DrasylConfig config, PeersManager peersManager, CompressedPublicKey publicKey, Pipeline pipeline) -
Uses of Pipeline in org.drasyl.peer.connection.client
Methods in org.drasyl.peer.connection.client that return PipelineConstructors in org.drasyl.peer.connection.client with parameters of type PipelineModifierConstructorDescriptionClientEnvironment
(DrasylConfig config, Identity identity, Endpoint endpoint, Pipeline pipeline, PeerChannelGroup channelGroup, PeersManager peersManager, boolean joinAsChildren, short idleRetries, Duration idleTimeout, Duration handshakeTimeout) DirectClient
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, Supplier<Set<Endpoint>> endpointsSupplier, BooleanSupplier directConnectionDemand, Runnable onFailure, BooleanSupplier doNewConnectionsSupplier) SuperPeerClient
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier doNewConnectionsSupplier) -
Uses of Pipeline in org.drasyl.peer.connection.direct
Constructors in org.drasyl.peer.connection.direct with parameters of type PipelineModifierConstructorDescriptionDirectConnectionsManager
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier acceptNewConnectionsSupplier, Set<Endpoint> endpoints) -
Uses of Pipeline in org.drasyl.peer.connection.handler
Fields in org.drasyl.peer.connection.handler declared as PipelineModifier and TypeFieldDescriptionprotected final Pipeline
AbstractThreeWayHandshakeHandler.pipeline
protected final Pipeline
AbstractThreeWayHandshakeHandler.pipeline
protected final Pipeline
AbstractThreeWayHandshakeHandler.pipeline
protected final Pipeline
AbstractThreeWayHandshakeHandler.pipeline
Constructors in org.drasyl.peer.connection.handler with parameters of type PipelineModifierConstructorDescriptionprotected
ThreeWayHandshakeClientHandler
(int networkId, Identity identity, Duration timeout, Pipeline pipeline, CompletableFuture<Void> handshakeFuture, io.netty.util.concurrent.ScheduledFuture<?> timeoutFuture, R requestMessage) protected
ThreeWayHandshakeClientHandler
(int networkId, Identity identity, Duration timeout, Pipeline pipeline, R requestMessage) protected
ThreeWayHandshakeServerHandler
(Duration timeout, Pipeline pipeline, int networkId, Identity identity) protected
ThreeWayHandshakeServerHandler
(Duration timeout, Pipeline pipeline, CompletableFuture<Void> handshakeFuture, io.netty.util.concurrent.ScheduledFuture<?> timeoutFuture, R requestMessage, O offerMessage, int networkId, Identity identity) -
Uses of Pipeline in org.drasyl.peer.connection.intravm
Constructors in org.drasyl.peer.connection.intravm with parameters of type PipelineModifierConstructorDescriptionIntraVmDiscovery
(CompressedPublicKey publicKey, PeersManager peersManager, Pipeline pipeline) -
Uses of Pipeline in org.drasyl.peer.connection.localhost
Constructors in org.drasyl.peer.connection.localhost with parameters of type PipelineModifierConstructorDescriptionLocalHostDiscovery
(DrasylConfig config, CompressedPublicKey ownPublicKey, PeersManager peersManager, Set<Endpoint> endpoints, Pipeline pipeline) -
Uses of Pipeline in org.drasyl.peer.connection.server
Methods in org.drasyl.peer.connection.server that return PipelineConstructors in org.drasyl.peer.connection.server with parameters of type PipelineModifierConstructorDescriptionServer
(Identity identity, Pipeline pipeline, PeersManager peersManager, DrasylConfig config, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, io.netty.channel.EventLoopGroup bossGroup, AtomicBoolean opened, BooleanSupplier acceptNewConnectionsSupplier, Set<Endpoint> nodeEndpoints) Server for accepting connections from child peers and non-child peers.Server
(Identity identity, Pipeline pipeline, PeersManager peersManager, DrasylConfig config, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, io.netty.channel.EventLoopGroup bossGroup, Set<Endpoint> nodeEndpoints, BooleanSupplier acceptNewConnectionsSupplier) ServerEnvironment
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, Set<Endpoint> endpoints, PeerChannelGroup channelGroup, BooleanSupplier acceptedNewConnectionsSupplier) -
Uses of Pipeline in org.drasyl.pipeline
Classes in org.drasyl.pipeline that implement PipelineModifier and TypeClassDescriptionclass
AbstractPipeline
implementation, that needs head and tail.class
The defaultPipeline
implementation.class
Methods in org.drasyl.pipeline that return PipelineModifier and TypeMethodDescriptionInserts aHandler
after an existing handler of this pipeline.Inserts aHandler
before an existing handler of this pipeline.Inserts aHandler
at the first position of this pipeline.Appends aHandler
at the last position of this pipeline.HandlerContext.pipeline()
Returns the correspondingPipeline
.Removes theHandler
with the specified name from this pipeline.Replaces theHandler
of the specified name with a new handler in this pipeline.Constructors in org.drasyl.pipeline with parameters of type PipelineModifierConstructorDescriptionDefaultHandlerContext
(String name, Handler handler, DrasylConfig config, Pipeline pipeline, io.reactivex.rxjava3.core.Scheduler scheduler, Identity identity, TypeValidator inboundValidator, TypeValidator outboundValidator) Generates a new default handler context for the givenhandler
. -
Uses of Pipeline in org.drasyl.plugins
Methods in org.drasyl.plugins that return PipelineConstructors in org.drasyl.plugins with parameters of type PipelineModifierConstructorDescriptionPluginEnvironment
(DrasylConfig config, Identity identity, Pipeline pipeline) PluginManager
(DrasylConfig config, Identity identity, Pipeline pipeline)