Uses of Class
org.drasyl.DrasylConfig
Packages that use DrasylConfig
Package
Description
Core API that includes the
DrasylNode
and DrasylConfig
.Contains classes to manage the
Identity
of the drasyl node.Monitors various states or events in the drasyl node.
Connects to super peer and other peers.
Establishes direct connections to other peers.
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.
Package contains classes that are used for encoding/decoding objects.
Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with
user-defined settings.
-
Uses of DrasylConfig in org.drasyl
Methods in org.drasyl that return DrasylConfigModifier and TypeMethodDescriptionDrasylConfig.Builder.build()
Creates aDrasylConfig
from the builder.static DrasylConfig
Methods in org.drasyl with parameters of type DrasylConfigModifier and TypeMethodDescriptionstatic DrasylConfig.Builder
DrasylConfig.newBuilder
(DrasylConfig config) Constructors in org.drasyl with parameters of type DrasylConfigModifierConstructorDescriptionprotected
DrasylNode
(DrasylConfig config) Creates a new drasyl Node with the givenconfig
.protected
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) ObservableDrasylNode
(DrasylConfig config) -
Uses of DrasylConfig in org.drasyl.identity
Constructors in org.drasyl.identity with parameters of type DrasylConfigModifierConstructorDescriptionIdentityManager
(DrasylConfig config) Manages the identity at the specified file path. -
Uses of DrasylConfig in org.drasyl.monitoring
Constructors in org.drasyl.monitoring with parameters of type DrasylConfigModifierConstructorDescriptionMonitoring
(DrasylConfig config, PeersManager peersManager, CompressedPublicKey publicKey, Pipeline pipeline) -
Uses of DrasylConfig in org.drasyl.peer.connection.client
Methods in org.drasyl.peer.connection.client that return DrasylConfigConstructors in org.drasyl.peer.connection.client with parameters of type DrasylConfigModifierConstructorDescriptionClientEnvironment
(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) protected
SuperPeerClient
(DrasylConfig config, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier doNewConnectionsSupplier, DrasylFunction<Endpoint, io.netty.bootstrap.Bootstrap, ClientException> bootstrapSupplier) SuperPeerClient
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier doNewConnectionsSupplier) -
Uses of DrasylConfig in org.drasyl.peer.connection.direct
Constructors in org.drasyl.peer.connection.direct with parameters of type DrasylConfigModifierConstructorDescriptionDirectConnectionsManager
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier acceptNewConnectionsSupplier, Set<Endpoint> endpoints) -
Uses of DrasylConfig in org.drasyl.peer.connection.localhost
Constructors in org.drasyl.peer.connection.localhost with parameters of type DrasylConfigModifierConstructorDescriptionLocalHostDiscovery
(DrasylConfig config, CompressedPublicKey ownPublicKey, PeersManager peersManager, Set<Endpoint> endpoints, Pipeline pipeline) -
Uses of DrasylConfig in org.drasyl.peer.connection.server
Methods in org.drasyl.peer.connection.server that return DrasylConfigConstructors in org.drasyl.peer.connection.server with parameters of type DrasylConfigModifierConstructorDescriptionServer
(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 DrasylConfig in org.drasyl.pipeline
Fields in org.drasyl.pipeline declared as DrasylConfigMethods in org.drasyl.pipeline that return DrasylConfigModifier and TypeMethodDescriptionHandlerContext.config()
Returns the correspondingDrasylConfig
.Constructors in org.drasyl.pipeline with parameters of type DrasylConfigModifierConstructorDescriptionDefaultHandlerContext
(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
.DrasylPipeline
(Consumer<Event> eventConsumer, DrasylConfig config, Identity identity) -
Uses of DrasylConfig in org.drasyl.pipeline.codec
Methods in org.drasyl.pipeline.codec with parameters of type DrasylConfigModifier and TypeMethodDescriptionstatic TypeValidator
TypeValidator.ofInboundValidator
(DrasylConfig config) static TypeValidator
TypeValidator.ofOutboundValidator
(DrasylConfig config) -
Uses of DrasylConfig in org.drasyl.plugins
Methods in org.drasyl.plugins that return DrasylConfigConstructors in org.drasyl.plugins with parameters of type DrasylConfigModifierConstructorDescriptionPluginEnvironment
(DrasylConfig config, Identity identity, Pipeline pipeline) PluginManager
(DrasylConfig config, Identity identity, Pipeline pipeline)