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 Uses the file system to discover other drasyl nodes running on the local computer.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()
Creates aDrasylConfig
from the builder.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, Set<Endpoint> endpoints, AtomicBoolean acceptNewConnections, Pipeline pipeline, List<DrasylNodeComponent> components, PluginManager pluginManager, 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, Pipeline 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, 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, 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 DrasylConfig Constructor Description DirectConnectionsManager(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 DrasylConfig Constructor Description LocalHostDiscovery(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 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, 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 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()
Returns the correspondingDrasylConfig
.Constructors in org.drasyl.pipeline with parameters of type DrasylConfig Constructor Description DefaultHandlerContext(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 DrasylConfig Modifier and Type Method Description static 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 DrasylConfig Modifier and Type Method Description DrasylConfig
PluginEnvironment. getConfig()
Constructors in org.drasyl.plugins with parameters of type DrasylConfig Constructor Description PluginEnvironment(DrasylConfig config, Identity identity, Pipeline pipeline)
PluginManager(DrasylConfig config, Identity identity, Pipeline pipeline)
-