Uses of Class
org.drasyl.node.DrasylConfig
Packages that use DrasylConfig
Package
Description
Contains
DrasylNode
.Describes
DrasylNode
s as finite state machines.Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with
user-defined settings.
Serialization of java objects to byte arrays and vice versa.
-
Uses of DrasylConfig in org.drasyl.node
Methods in org.drasyl.node that return DrasylConfigModifier and TypeMethodDescriptionDrasylConfig.Builder.build()
static DrasylConfig
DrasylConfig.of()
static DrasylConfig
DrasylConfig.of
(com.typesafe.config.Config config) static DrasylConfig
Parses a file into a Config instance.static DrasylConfig
Parses a file path into a Config instance.static DrasylConfig
Parses a file path into a Config instance.static DrasylConfig
DrasylConfig.parseString
(String s) Parses a string into a Config instance.Methods in org.drasyl.node with parameters of type DrasylConfigModifier and TypeMethodDescriptionstatic Identity
DrasylNode.generateIdentity
(DrasylConfig config) Generates an identity or uses the already generated identity from the givenconfig
.static DrasylConfig.Builder
DrasylConfig.newBuilder
(DrasylConfig config) Constructors in org.drasyl.node with parameters of type DrasylConfigModifierConstructorDescriptionprotected
DrasylNode
(DrasylConfig config) Creates a new drasyl Node with the givenconfig
.protected
EventTypeDrasylNode
(DrasylConfig config) -
Uses of DrasylConfig in org.drasyl.node.behaviour
Constructors in org.drasyl.node.behaviour with parameters of type DrasylConfig -
Uses of DrasylConfig in org.drasyl.node.channel
Constructors in org.drasyl.node.channel with parameters of type DrasylConfigModifierConstructorDescriptionDrasylNodeChannelInitializer
(DrasylConfig config, DrasylNode node) DrasylNodeServerChannelInitializer
(DrasylConfig config, Identity identity, DrasylNode node, io.netty.channel.EventLoopGroup udpServerGroup) -
Uses of DrasylConfig in org.drasyl.node.handler.plugin
Methods in org.drasyl.node.handler.plugin that return DrasylConfigMethods in org.drasyl.node.handler.plugin with parameters of type DrasylConfigModifier and TypeMethodDescriptionstatic PluginEnvironment
PluginEnvironment.of
(DrasylConfig config, Identity identity, io.netty.channel.ChannelPipeline pipeline) Constructors in org.drasyl.node.handler.plugin with parameters of type DrasylConfig -
Uses of DrasylConfig in org.drasyl.node.handler.serialization
Constructors in org.drasyl.node.handler.serialization with parameters of type DrasylConfig