Uses of Class
org.drasyl.DrasylConfig
-
Packages that use DrasylConfig Package Description org.drasyl Core API that includes theDrasylNode
andDrasylConfig
.org.drasyl.identity Contains classes to manage theIdentity
of the drasyl node.org.drasyl.monitoring Monitors various states or events in the drasyl node.org.drasyl.peer.connection.client Connects to super peer and other peers.org.drasyl.peer.connection.direct Establishes direct connections to other peers.org.drasyl.peer.connection.localhost org.drasyl.peer.connection.server Provides a server to which children and other peers can connect.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 DrasylConfig in org.drasyl
Methods in org.drasyl that return DrasylConfig Modifier and Type Method Description DrasylConfig
DrasylConfig.Builder. build()
static DrasylConfig
DrasylConfig. parseFile(File file)
Methods in org.drasyl with parameters of type DrasylConfig Modifier and Type Method Description static DrasylConfig.Builder
DrasylConfig. newBuilder(DrasylConfig config)
Constructors in org.drasyl with parameters of type DrasylConfig Constructor Description DrasylNode(DrasylConfig config)
Creates a new drasyl Node with the givenconfig
.DrasylNode(DrasylConfig config, Identity identity, PeersManager peersManager, PeerChannelGroup channelGroup, Messenger messenger, Set<Endpoint> endpoints, AtomicBoolean acceptNewConnections, DrasylPipeline pipeline, List<DrasylNodeComponent> components, AtomicBoolean started, CompletableFuture<Void> startSequence, CompletableFuture<Void> shutdownSequence)
-
Uses of DrasylConfig in org.drasyl.identity
Constructors in org.drasyl.identity with parameters of type DrasylConfig Constructor Description IdentityManager(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 DrasylConfig Constructor Description Monitoring(DrasylConfig config, PeersManager peersManager, CompressedPublicKey publicKey, DrasylPipeline pipeline)
-
Uses of DrasylConfig in org.drasyl.peer.connection.client
Methods in org.drasyl.peer.connection.client that return DrasylConfig Modifier and Type Method Description DrasylConfig
ClientEnvironment. getConfig()
Constructors in org.drasyl.peer.connection.client with parameters of type DrasylConfig Constructor Description ClientEnvironment(DrasylConfig config, Identity identity, Endpoint endpoint, Messenger messenger, PeerChannelGroup channelGroup, PeersManager peersManager, Consumer<Event> eventConsumer, boolean joinAsChildren, short idleRetries, Duration idleTimeout, Duration handshakeTimeout)
DirectClient(DrasylConfig config, Identity identity, PeersManager peersManager, Messenger messenger, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, Consumer<Event> eventConsumer, Supplier<Set<Endpoint>> endpointsSupplier, BooleanSupplier directConnectionDemand, Runnable onFailure, BooleanSupplier acceptNewConnectionsSupplier)
SuperPeerClient(DrasylConfig config, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier acceptNewConnectionsSupplier, DrasylFunction<Endpoint,io.netty.bootstrap.Bootstrap,ClientException> bootstrapSupplier)
SuperPeerClient(DrasylConfig config, Identity identity, PeersManager peersManager, Messenger messenger, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, Consumer<Event> eventConsumer, BooleanSupplier acceptNewConnectionsSupplier)
-
Uses of DrasylConfig in org.drasyl.peer.connection.direct
Constructors in org.drasyl.peer.connection.direct with parameters of type DrasylConfig Constructor Description DirectConnectionsManager(DrasylConfig config, Identity identity, PeersManager peersManager, Messenger messenger, DrasylPipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, Consumer<Event> eventConsumer, BooleanSupplier acceptNewConnectionsSupplier, Set<Endpoint> endpoints, io.reactivex.rxjava3.core.Observable<CompressedPublicKey> communicationOccurred)
-
Uses of DrasylConfig in org.drasyl.peer.connection.localhost
Constructors in org.drasyl.peer.connection.localhost with parameters of type DrasylConfig Constructor Description LocalHostDiscovery(DrasylConfig config, CompressedPublicKey ownPublicKey, PeersManager peersManager, Set<Endpoint> endpoints, io.reactivex.rxjava3.core.Observable<CompressedPublicKey> communicationOccurred)
-
Uses of DrasylConfig in org.drasyl.peer.connection.server
Methods in org.drasyl.peer.connection.server that return DrasylConfig Modifier and Type Method Description DrasylConfig
ServerEnvironment. getConfig()
Constructors in org.drasyl.peer.connection.server with parameters of type DrasylConfig Constructor Description Server(Identity identity, Messenger messenger, 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, Messenger messenger, 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, Messenger messenger, Set<Endpoint> endpoints, PeerChannelGroup channelGroup, BooleanSupplier acceptedNewConnectionsSupplier)
-
Uses of DrasylConfig in org.drasyl.pipeline
Fields in org.drasyl.pipeline declared as DrasylConfig Modifier and Type Field Description protected DrasylConfig
DefaultPipeline. config
Methods in org.drasyl.pipeline that return DrasylConfig Modifier and Type Method Description DrasylConfig
HandlerContext. config()
Constructors in org.drasyl.pipeline with parameters of type DrasylConfig Constructor Description AbstractEndHandler(String name, DrasylConfig config, Pipeline pipeline, io.reactivex.rxjava3.core.Scheduler scheduler, Identity identity, TypeValidator validator)
DefaultHandlerContext(String name, Handler handler, DrasylConfig config, Pipeline pipeline, io.reactivex.rxjava3.core.Scheduler scheduler, Identity identity, TypeValidator validator)
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 DrasylConfig Modifier and Type Method Description static TypeValidator
TypeValidator. of(DrasylConfig config)
-
Uses of DrasylConfig in org.drasyl.plugins
Fields in org.drasyl.plugins declared as DrasylConfig Modifier and Type Field Description protected DrasylConfig
AutoloadablePlugin. config
Constructors in org.drasyl.plugins with parameters of type DrasylConfig Constructor Description AutoloadablePlugin(Pipeline pipeline, DrasylConfig config, PluginEnvironment environment)
PluginManager(Pipeline pipeline, DrasylConfig config)
-