A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages

A

AbstractArmHandler - Class in org.drasyl.node.handler.crypto
Skeleton handler that arms (encrypt) outbound and disarms (decrypt) inbound messages.
AbstractArmHandler(Crypto, Duration, int, Identity, IdentityPublicKey) - Constructor for class org.drasyl.node.handler.crypto.AbstractArmHandler
 
AbstractArmHandler(Crypto, Identity, IdentityPublicKey, Session) - Constructor for class org.drasyl.node.handler.crypto.AbstractArmHandler
 
acceptOutboundMessage(Object) - Method in class org.drasyl.node.handler.serialization.MessageSerializer
 
AcknowledgementMessage - Class in org.drasyl.node.handler.crypto
 
AcknowledgementMessage() - Constructor for class org.drasyl.node.handler.crypto.AcknowledgementMessage
 
addSerializer(Class<?>, Serializer) - Method in class org.drasyl.node.handler.serialization.Serialization
Adds a serializer as serializer for objects of type clazz.
Agreement - Class in org.drasyl.node.handler.crypto
This object represents a session key agreement between two nodes.
Agreement() - Constructor for class org.drasyl.node.handler.crypto.Agreement
 
AgreementId - Class in org.drasyl.node.handler.crypto
This class represents an identifier for an Agreement between to nodes.
apply(DrasylNode) - Method in class org.drasyl.node.behaviour.DeferredBehavior
 
arm(ChannelHandlerContext, Agreement, ByteBuf) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
ArmHeader - Class in org.drasyl.node.handler.crypto
 
ArmHeader(AgreementId, Nonce, ByteBuf) - Constructor for class org.drasyl.node.handler.crypto.ArmHeader
 
ArmHeaderCodec - Class in org.drasyl.node.handler.crypto
 
ArmHeaderCodec() - Constructor for class org.drasyl.node.handler.crypto.ArmHeaderCodec
 
armStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
This stage arms outbound and disarms inbound messages.
arqStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
 

B

Behavior - Class in org.drasyl.node.behaviour
The behavior of an node defines how it reacts to the events that it receives.
Behavior.BehaviorBuilder - Class in org.drasyl.node.behaviour
Immutable builder for creating Behavior by chaining event handlers.
BehavioralDrasylNode - Class in org.drasyl.node.behaviour
Describes a DrasylNode as a finite state machine.
BehavioralDrasylNode() - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
 
BehavioralDrasylNode(Identity, ServerBootstrap, ChannelFuture) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
 
BehavioralDrasylNode(Identity, ServerBootstrap, ChannelFuture, Channel, Behavior) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
 
BehavioralDrasylNode(DrasylConfig) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
 
Behaviors - Class in org.drasyl.node.behaviour
Factories for Behavior.
Behaviors.EventScheduler - Class in org.drasyl.node.behaviour
 
BooleanSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Boolean objects.
BooleanSerializer() - Constructor for class org.drasyl.node.handler.serialization.BooleanSerializer
 
bootstrap - Variable in class org.drasyl.node.DrasylNode
 
build() - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Build a behavior from the current state of the builder.
build() - Method in class org.drasyl.node.DrasylConfig.Builder
 
buildAgreement(Crypto, long) - Method in class org.drasyl.node.handler.crypto.PendingAgreement
 
Builder() - Constructor for class org.drasyl.node.DrasylConfig.Builder
 
buildInheritanceGraph() - Static method in class org.drasyl.node.handler.serialization.Serialization
Rebuilds the inheritance graph, but keeps the old values.
ByteArraySerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes byte arrays (just returns the byte array unchanged/uncopied).
ByteArraySerializer() - Constructor for class org.drasyl.node.handler.serialization.ByteArraySerializer
 
ByteSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Byte objects.
ByteSerializer() - Constructor for class org.drasyl.node.handler.serialization.ByteSerializer
 

C

CHANNEL_INACTIVITY_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
 
channelIdle(ChannelHandlerContext, IdleStateEvent) - Method in class org.drasyl.node.handler.timeout.IdleChannelCloser
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
 
channelRegistered(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
 
channelUnregistered(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
 
CharacterSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Character objects.
CharacterSerializer() - Constructor for class org.drasyl.node.handler.serialization.CharacterSerializer
 
CHARSET - Static variable in class org.drasyl.node.IdentityFile
 
CHILD_DEFAULT_THREADS - Static variable in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
 
chunkingStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
This stage splits ByteBufs that are too big for a single udp datagram.
ConnectionHandshakeChannelInitializer - Class in org.drasyl.channel
 
ConnectionHandshakeChannelInitializer(boolean) - Constructor for class org.drasyl.channel.ConnectionHandshakeChannelInitializer
 
ConnectionHandshakeChannelInitializer(Duration, boolean) - Constructor for class org.drasyl.channel.ConnectionHandshakeChannelInitializer
 
created() - Method in class org.drasyl.node.behaviour.BehavioralDrasylNode
Returns the initial Behavior of the node.
crypto - Variable in class org.drasyl.node.handler.crypto.AbstractArmHandler
 

D

decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.node.handler.crypto.ArmHeaderCodec
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.node.handler.serialization.MessageSerializer
 
decode(ChannelHandlerContext, ArmHeader, List<Object>) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
decode(ChannelHandlerContext, ArmHeader, List<Object>) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
 
DEFAULT_HANDSHAKE_TIMEOUT - Static variable in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
 
DeferredBehavior - Class in org.drasyl.node.behaviour
 
DeferredBehavior(Function<DrasylNode, Behavior>) - Constructor for class org.drasyl.node.behaviour.DeferredBehavior
 
deleteIdentityFile(Path) - Static method in class org.drasyl.node.identity.IdentityManager
Deletes the identity file specified in the configuration.
DisabledSerializer - Class in org.drasyl.node.handler.serialization
This handler denies any (de)serialization and can be used to disable existing serializers.
DisabledSerializer() - Constructor for class org.drasyl.node.handler.serialization.DisabledSerializer
 
DoubleSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Double objects.
DoubleSerializer() - Constructor for class org.drasyl.node.handler.serialization.DoubleSerializer
 
DrasylConfig - Class in org.drasyl.node
This class represents the configuration for a DrasylNode.
DrasylConfig() - Constructor for class org.drasyl.node.DrasylConfig
 
DrasylConfig.Builder - Class in org.drasyl.node
 
DrasylConfigException - Exception in org.drasyl.node
An Exception which is thrown by DrasylConfig.
DrasylConfigException(String, String) - Constructor for exception org.drasyl.node.DrasylConfigException
 
DrasylConfigException(String, Throwable) - Constructor for exception org.drasyl.node.DrasylConfigException
 
DrasylConfigException(Throwable) - Constructor for exception org.drasyl.node.DrasylConfigException
 
DrasylException - Exception in org.drasyl.node
All checked exceptions in drasyl inherit from this exception class.
DrasylException(String) - Constructor for exception org.drasyl.node.DrasylException
 
DrasylException(String, Throwable) - Constructor for exception org.drasyl.node.DrasylException
 
DrasylException(Throwable) - Constructor for exception org.drasyl.node.DrasylException
 
DrasylNode - Class in org.drasyl.node
Represents a node in the drasyl Overlay Network.
DrasylNode() - Constructor for class org.drasyl.node.DrasylNode
Creates a new drasyl Node.
DrasylNode(Identity, ServerBootstrap, ChannelFuture) - Constructor for class org.drasyl.node.DrasylNode
 
DrasylNode(DrasylConfig) - Constructor for class org.drasyl.node.DrasylNode
Creates a new drasyl Node with the given config.
DrasylNodeChannelInitializer - Class in org.drasyl.node.channel
Initialize child DrasylChannels used by DrasylNode.
DrasylNodeChannelInitializer(DrasylConfig, DrasylNode) - Constructor for class org.drasyl.node.channel.DrasylNodeChannelInitializer
 
DrasylNodeServerChannelInitializer - Class in org.drasyl.node.channel
Initialize the DrasylServerChannel used by DrasylNode.
DrasylNodeServerChannelInitializer(DrasylConfig, Identity, DrasylNode, EventLoopGroup) - Constructor for class org.drasyl.node.channel.DrasylNodeServerChannelInitializer
 
DrasylNodeSharedEventLoopGroupHolder - Class in org.drasyl.node
Holds parent and child EventLoops that are shared across all DrasylNodes.
DrasylPlugin - Interface in org.drasyl.node.handler.plugin
This interface is implemented by all drasyl plugins.

E

encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
 
encode(ChannelHandlerContext, Object, List<Object>) - Method in class org.drasyl.node.handler.serialization.MessageSerializer
 
encode(ChannelHandlerContext, ArmHeader, List<Object>) - Method in class org.drasyl.node.handler.crypto.ArmHeaderCodec
 
equals(Object) - Method in exception org.drasyl.node.DrasylException
 
equals(Object) - Method in class org.drasyl.node.event.MessageEvent
 
equals(Object) - Method in class org.drasyl.node.handler.crypto.AgreementId
 
equals(Object) - Method in class org.drasyl.node.handler.crypto.ArmHeader
 
equals(Object) - Method in class org.drasyl.node.handler.crypto.PendingAgreement
 
Event - Interface in org.drasyl.node.event
Describes an Event that provides the application with information about the local node, other peers, connections or incoming messages.
eventLoopGroup() - Static method in class org.drasyl.node.behaviour.Behaviors
Returns a default, shared EventLoopGroup instance intended for Behavior scheduling.

F

findSerializerFor(String) - Method in class org.drasyl.node.handler.serialization.Serialization
Returns the configured Serializer for the given clazzName.
firstStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
 
FloatSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Float objects.
FloatSerializer() - Constructor for class org.drasyl.node.handler.serialization.FloatSerializer
 
fromByteArray(byte[], Class<T>) - Method in class org.drasyl.node.handler.serialization.DisabledSerializer
 
fromByteArray(byte[], Class<T>) - Method in class org.drasyl.node.handler.serialization.JacksonJsonSerializer
 
fromByteArray(byte[], Class<T>) - Method in class org.drasyl.node.handler.serialization.NullSerializer
 
fromByteArray(byte[], Class<T>) - Method in interface org.drasyl.node.handler.serialization.Serializer
Produces an object of type T from an array of bytes.
fromByteArray(byte[], String) - Method in interface org.drasyl.node.handler.serialization.Serializer
 

G

generateIdentity(DrasylConfig) - Static method in class org.drasyl.node.DrasylNode
Generates an identity or uses the already generated identity from the given config.
getAddress() - Method in class org.drasyl.node.event.Peer
Returns the peer's address.
getAgreement(AgreementId) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
getAgreement(AgreementId) - Method in class org.drasyl.node.handler.crypto.LongTimeArmHandler
 
getAgreement(AgreementId) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
 
getAgreementId() - Method in class org.drasyl.node.handler.crypto.AcknowledgementMessage
 
getAgreementId() - Method in class org.drasyl.node.handler.crypto.Agreement
 
getAgreementId() - Method in class org.drasyl.node.handler.crypto.ArmHeader
 
getAgreementId() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
 
getByte(Config, String) - Static method in class org.drasyl.node.DrasylConfig
Gets the byte at the given path.
getChannelInactivityTimeout() - Method in class org.drasyl.node.DrasylConfig
 
getChildGroup() - Static method in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
Use this EventLoopGroup for the DrasylNode's ServerChannel.
getConfig() - Method in class org.drasyl.node.handler.plugin.PluginEnvironment
 
getCurrentActiveAgreement() - Method in class org.drasyl.node.handler.crypto.Session
 
getCurrentInactiveAgreement() - Method in class org.drasyl.node.handler.crypto.Session
 
getEndpoint(Config, String) - Static method in class org.drasyl.node.DrasylConfig
 
getEndpointSet(Config, String) - Static method in class org.drasyl.node.DrasylConfig
 
getError() - Method in class org.drasyl.node.event.InboundExceptionEvent
Returns the exception why the message could not be processed.
getError() - Method in class org.drasyl.node.event.NodeUnrecoverableErrorEvent
Returns the exception that crashed the node.
getHost() - Method in class org.drasyl.node.PeerEndpoint
Returns the hostname of this endpoint.
getId() - Method in class org.drasyl.node.handler.crypto.AgreementId
 
getIdentity() - Method in class org.drasyl.node.DrasylConfig
 
getIdentity() - Method in class org.drasyl.node.event.Node
Returns the node's identity.
getIdentity() - Method in class org.drasyl.node.handler.plugin.PluginEnvironment
 
getIdentityPath() - Method in class org.drasyl.node.DrasylConfig
 
getIdentityProofOfWork() - Method in class org.drasyl.node.DrasylConfig
 
getIdentityPublicKey() - Method in class org.drasyl.node.PeerEndpoint
Returns the IdentityPublicKey of this Endpoint.
getIdentityPublicKey(Config, String) - Static method in class org.drasyl.node.DrasylConfig
Gets the IdentityPublicKey at the given path.
getIdentitySecretKey() - Method in class org.drasyl.node.DrasylConfig
 
getIdentitySecretKey(Config, String) - Static method in class org.drasyl.node.DrasylConfig
Gets the IdentitySecretKey at the given path.
getInetAddress(Config, String) - Static method in class org.drasyl.node.DrasylConfig
 
getInetSocketAddress(Config, String) - Static method in class org.drasyl.node.DrasylConfig
 
getInitializedAgreements() - Method in class org.drasyl.node.handler.crypto.Session
 
getKeyAgreementPublicKey(Config, String) - Static method in class org.drasyl.node.DrasylConfig
Gets the KeyAgreementPublicKey at the given path.
getKeyAgreementSecretKey(Config, String) - Static method in class org.drasyl.node.DrasylConfig
Gets the KeyAgreementSecretKey at the given path.
getKeyPair() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
 
getLastKeyExchangeAt() - Method in class org.drasyl.node.handler.crypto.Session
 
getLastRenewAttemptAt() - Method in class org.drasyl.node.handler.crypto.Session
 
getLength() - Method in class org.drasyl.node.handler.crypto.ArmHeader
 
getLongTimeAgreement() - Method in class org.drasyl.node.handler.crypto.Session
 
getMessageBufferSize() - Method in class org.drasyl.node.DrasylConfig
 
getNetworkGroup() - Static method in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
Use this EventLoopGroup for the DrasylNode's network based Channels (udp server, tcp client, etc.).
getNetworkId() - Method in class org.drasyl.node.DrasylConfig
 
getNetworkId() - Method in class org.drasyl.node.PeerEndpoint
Returns the network id of this endpoint.
getNode() - Method in interface org.drasyl.node.event.NodeEvent
Returns the node to which this event refers.
getNonce() - Method in class org.drasyl.node.handler.crypto.ArmHeader
 
getParentGroup() - Static method in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
Use this EventLoopGroup for the DrasylNode's ServerChannel.
getPath(Config, String) - Static method in class org.drasyl.node.DrasylConfig
Gets the Path at the given path.
getPayload() - Method in class org.drasyl.node.event.MessageEvent
Returns the message's payload.
getPayload() - Method in class org.drasyl.node.handler.serialization.SerializedPayload
 
getPeer() - Method in interface org.drasyl.node.event.PeerEvent
Returns the peer to which this event refers.
getPipeline() - Method in class org.drasyl.node.handler.plugin.PluginEnvironment
 
getPlugins() - Method in class org.drasyl.node.DrasylConfig
 
getPlugins(Config, String) - Static method in class org.drasyl.node.DrasylConfig
 
getPort() - Method in class org.drasyl.node.event.Node
Returns the node's server port.
getPort() - Method in class org.drasyl.node.PeerEndpoint
Returns the port of this endpoint.
getProofOfWork(Config, String) - Static method in class org.drasyl.node.DrasylConfig
Gets the ProofOfWork at the given path.
getRecipientsKeyAgreementKey() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
 
getRemoteBindHost() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteBindPort() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteEndpoints() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteHandshakeTimeout() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteLocalHostDiscoveryLeaseTime() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteLocalHostDiscoveryPath() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageArmApplicationAgreementExpireAfter() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageArmApplicationAgreementMaxCount() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageArmApplicationAgreementRetryInterval() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageArmProtocolSessionExpireAfter() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageArmProtocolSessionMaxCount() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageArqClock() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageArqDeadPeerTimeout() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageArqRetryTimeout() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageArqWindowSize() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageComposedMessageTransferTimeout() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageHopLimit() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageMaxContentLength() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteMessageMtu() - Method in class org.drasyl.node.DrasylConfig
 
getRemotePingCommunicationTimeout() - Method in class org.drasyl.node.DrasylConfig
 
getRemotePingInterval() - Method in class org.drasyl.node.DrasylConfig
 
getRemotePingMaxPeers() - Method in class org.drasyl.node.DrasylConfig
 
getRemotePingTimeout() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteStaticRoutes() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteSuperPeerEndpoints() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteTcpFallbackClientAddress() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteTcpFallbackClientTimeout() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteTcpFallbackServerBindHost() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteTcpFallbackServerBindPort() - Method in class org.drasyl.node.DrasylConfig
 
getRemoteUniteMinInterval() - Method in class org.drasyl.node.DrasylConfig
 
getSender() - Method in class org.drasyl.node.event.MessageEvent
Returns the message's sender.
getSerializationBindings(Config, String, Collection<String>) - Static method in class org.drasyl.node.DrasylConfig
 
getSerializationsBindingsInbound() - Method in class org.drasyl.node.DrasylConfig
 
getSerializationsBindingsOutbound() - Method in class org.drasyl.node.DrasylConfig
 
getSerializationSerializers() - Method in class org.drasyl.node.DrasylConfig
 
getSerializationSerializers(Config, String) - Static method in class org.drasyl.node.DrasylConfig
 
getSessionKey() - Method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
 
getSessionPair() - Method in class org.drasyl.node.handler.crypto.Agreement
 
getShort(Config, String) - Static method in class org.drasyl.node.DrasylConfig
Gets the short at the given path.
getStaleAt() - Method in class org.drasyl.node.handler.crypto.Agreement
 
getStaticRoutes(Config, String) - Static method in class org.drasyl.node.DrasylConfig
 
getTcpFallbackPort() - Method in class org.drasyl.node.event.Node
Returns the node's tcp fallback server port.
getType() - Method in class org.drasyl.node.handler.serialization.SerializedPayload
 
getURI() - Method in class org.drasyl.node.PeerEndpoint
Returns an URI representing this Endpoint.
getURI(Config, String) - Static method in class org.drasyl.node.DrasylConfig
Gets the URI at the given path.

H

handshakeCompleted(DrasylChannel) - Method in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
 
handshakeCompleted(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
 
handshakeFailed(ChannelHandlerContext, Throwable) - Method in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
 
handshakeFailed(ChannelHandlerContext, Throwable) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
 
handshakeTimeout - Variable in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
 
hashCode() - Method in exception org.drasyl.node.DrasylException
 
hashCode() - Method in class org.drasyl.node.event.MessageEvent
 
hashCode() - Method in class org.drasyl.node.handler.crypto.AgreementId
 
hashCode() - Method in class org.drasyl.node.handler.crypto.ArmHeader
 
hashCode() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
 

I

ID_LENGTH - Static variable in class org.drasyl.node.handler.crypto.AgreementId
 
identity - Variable in class org.drasyl.node.DrasylNode
 
identity - Variable in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
identity() - Method in class org.drasyl.node.DrasylNode
Returns the Identity of this node.
identity(Identity) - Method in class org.drasyl.node.DrasylConfig.Builder
IDENTITY_PATH - Static variable in class org.drasyl.node.DrasylConfig
 
IDENTITY_PROOF_OF_WORK - Static variable in class org.drasyl.node.DrasylConfig
 
IDENTITY_SECRET_KEY - Static variable in class org.drasyl.node.DrasylConfig
 
IdentityFile - Class in org.drasyl.node
Class to read/write a Identity from/to a file.
IdentityManager - Class in org.drasyl.node.identity
Utility class for writing an Identity to a Path and vice versa.
identityPath(Path) - Method in class org.drasyl.node.DrasylConfig.Builder
 
identityProofOfWork(ProofOfWork) - Method in class org.drasyl.node.DrasylConfig.Builder
 
identitySecretKey(IdentitySecretKey) - Method in class org.drasyl.node.DrasylConfig.Builder
 
IdleChannelCloser - Class in org.drasyl.node.handler.timeout
Closes inactive channels (to free up memory).
IdleChannelCloser(int) - Constructor for class org.drasyl.node.handler.timeout.IdleChannelCloser
 
ignore() - Static method in class org.drasyl.node.behaviour.Behaviors
A behavior that ignores every incoming message.
inboundArmMessage(ChannelHandlerContext, Object) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
inboundArmMessage(ChannelHandlerContext, Object) - Method in class org.drasyl.node.handler.crypto.LongTimeArmHandler
 
inboundArmMessage(ChannelHandlerContext, Object) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
 
InboundExceptionEvent - Class in org.drasyl.node.event
This event signals that the node was unable to process an inbound message.
InboundExceptionEvent() - Constructor for class org.drasyl.node.event.InboundExceptionEvent
 
initChannel(DrasylChannel) - Method in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
 
initChannel(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
 
initChannel(DrasylServerChannel) - Method in class org.drasyl.node.channel.DrasylNodeServerChannelInitializer
 
initiateHandshake - Variable in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
 
IntegerSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Integer objects.
IntegerSerializer() - Constructor for class org.drasyl.node.handler.serialization.IntegerSerializer
 
INTRA_VM_DISCOVERY_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
intraVmDiscoveryEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
isIdentityFilePresent(Path) - Static method in class org.drasyl.node.identity.IdentityManager
Returns true if the identity file path exists.
isIntraVmDiscoveryEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteExposeEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteLocalHostDiscoveryEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteLocalHostDiscoveryWatchEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteLocalNetworkDiscoveryEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteMessageArmApplicationEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteMessageArmProtocolEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteMessageArqEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteSuperPeerEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRemoteTcpFallbackEnabled() - Method in class org.drasyl.node.DrasylConfig
 
isRenewable() - Method in class org.drasyl.node.handler.crypto.Agreement
 
isStale() - Method in class org.drasyl.node.handler.crypto.Agreement
 

J

JacksonJsonSerializer - Class in org.drasyl.node.handler.serialization
A serializer based on the Jackson Library for converting java objects to and from JSON.
JacksonJsonSerializer() - Constructor for class org.drasyl.node.handler.serialization.JacksonJsonSerializer
 
JavaSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Serializable objects.
JavaSerializer() - Constructor for class org.drasyl.node.handler.serialization.JavaSerializer
 

K

KeyExchangeMessage - Class in org.drasyl.node.handler.crypto
 
KeyExchangeMessage() - Constructor for class org.drasyl.node.handler.crypto.KeyExchangeMessage
 

L

lastStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
LENGTH - Static variable in class org.drasyl.node.handler.crypto.AcknowledgementMessage
 
LENGTH - Static variable in class org.drasyl.node.handler.crypto.KeyExchangeMessage
 
LONG_TIME - org.drasyl.node.handler.crypto.PFSArmHandler.State
 
LongSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Long objects.
LongSerializer() - Constructor for class org.drasyl.node.handler.serialization.LongSerializer
 
LongTimeArmHandler - Class in org.drasyl.node.handler.crypto
Arms (encrypt) outbound and disarms (decrypt) inbound messages.
LongTimeArmHandler(Duration, int, Identity, IdentityPublicKey) - Constructor for class org.drasyl.node.handler.crypto.LongTimeArmHandler
 
LongTimeArmHandler(Crypto, Duration, int, Identity, IdentityPublicKey) - Constructor for class org.drasyl.node.handler.crypto.LongTimeArmHandler
 
LongTimeArmHandler(Crypto, Identity, IdentityPublicKey, Session) - Constructor for class org.drasyl.node.handler.crypto.LongTimeArmHandler
 
LongTimeEncryptionEvent - Class in org.drasyl.node.event
This event signals, that currently all messages from and to the #peer are only encrypted with a long time key.
LongTimeEncryptionEvent() - Constructor for class org.drasyl.node.event.LongTimeEncryptionEvent
 

M

MESSAGE_BUFFER_SIZE - Static variable in class org.drasyl.node.DrasylConfig
 
messageAdapter(Class<M>, BiFunction<DrasylAddress, M, Object>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Add a new case to the event handling matching events of type MessageEvent with MessageEvent.getPayload() matching messageType.
messageAdapter(Class<M>, Function<M, Object>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Add a new case to the event handling matching events of type MessageEvent with MessageEvent.getPayload() matching messageType.
messageBufferSize(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
MessageEvent - Class in org.drasyl.node.event
This event signals that the node has received a message addressed to it.
MessageEvent() - Constructor for class org.drasyl.node.event.MessageEvent
 
MessageSerializer - Class in org.drasyl.node.handler.serialization
This handler serializes messages to ByteBuf and vice versa.
MessageSerializer(DrasylConfig) - Constructor for class org.drasyl.node.handler.serialization.MessageSerializer
 
MIN_DERIVED_PORT - Static variable in class org.drasyl.node.channel.DrasylNodeServerChannelInitializer
 
MIN_LENGTH - Static variable in class org.drasyl.node.handler.crypto.ArmHeader
 
MIN_LENGTH - Static variable in class org.drasyl.node.handler.serialization.SerializedPayload
 

N

NETWORK_DEFAULT_THREADS - Static variable in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
 
NETWORK_ID - Static variable in class org.drasyl.node.DrasylConfig
 
networkId(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
newBehaviorBuilder() - Method in class org.drasyl.node.behaviour.BehavioralDrasylNode
Creates a new Behavior.BehaviorBuilder to build a new Behavior for inbound message/event handling.
newBuilder() - Static method in class org.drasyl.node.DrasylConfig
Creates a new builder to build a custom DrasylConfig.
newBuilder(DrasylConfig) - Static method in class org.drasyl.node.DrasylConfig
 
Node - Class in org.drasyl.node.event
Used by Event to describe an event related to the local Node (e.g.
Node() - Constructor for class org.drasyl.node.event.Node
 
NodeDownEvent - Class in org.drasyl.node.event
This event signals that the node is shut down.
NodeDownEvent() - Constructor for class org.drasyl.node.event.NodeDownEvent
 
NodeEvent - Interface in org.drasyl.node.event
Events that refer to a Node.
NodeNormalTerminationEvent - Class in org.drasyl.node.event
This event signals that the node has terminated normally.
NodeNormalTerminationEvent() - Constructor for class org.drasyl.node.event.NodeNormalTerminationEvent
 
NodeOfflineEvent - Class in org.drasyl.node.event
This event signals that the node is currently not connected to a super peer.
NodeOfflineEvent() - Constructor for class org.drasyl.node.event.NodeOfflineEvent
 
NodeOnlineEvent - Class in org.drasyl.node.event
This event signals that the node is currently connected to a super peer.
NodeOnlineEvent() - Constructor for class org.drasyl.node.event.NodeOnlineEvent
 
NodeUnrecoverableErrorEvent - Class in org.drasyl.node.event
This event signals that the node encountered an unrecoverable error.
NodeUnrecoverableErrorEvent() - Constructor for class org.drasyl.node.event.NodeUnrecoverableErrorEvent
 
NodeUpEvent - Class in org.drasyl.node.event
This event signals that the node has been started.
NodeUpEvent() - Constructor for class org.drasyl.node.event.NodeUpEvent
 
noop() - Static method in class org.drasyl.node.handler.serialization.Serialization
This method does nothing.
Null - Enum in org.drasyl.node
As null values cannot be processed by a Channel, we need a special type representation this kind of messages.
NULL - org.drasyl.node.Null
 
NULL_SERIALIZER - Static variable in class org.drasyl.node.handler.serialization.Serialization
 
NullSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes null only.
NullSerializer() - Constructor for class org.drasyl.node.handler.serialization.NullSerializer
 

O

of() - Static method in class org.drasyl.node.DrasylConfig
 
of(byte[]) - Static method in class org.drasyl.node.handler.crypto.AgreementId
 
of(Config) - Static method in class org.drasyl.node.DrasylConfig
 
of(ByteBuf) - Static method in class org.drasyl.node.handler.crypto.AcknowledgementMessage
 
of(ByteBuf) - Static method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
 
of(ByteBuf) - Static method in class org.drasyl.node.handler.serialization.SerializedPayload
 
of(String) - Static method in class org.drasyl.node.PeerEndpoint
Converts a String into an Endpoint.
of(String, byte[]) - Static method in class org.drasyl.node.handler.serialization.SerializedPayload
 
of(String, int, IdentityPublicKey) - Static method in class org.drasyl.node.PeerEndpoint
Converts the given host, port, and publicKey into an Endpoint.
of(String, int, IdentityPublicKey, Integer) - Static method in class org.drasyl.node.PeerEndpoint
Converts the given host, port, publicKey, and networkId into an Endpoint.
of(Throwable) - Static method in class org.drasyl.node.event.InboundExceptionEvent
 
of(URI) - Static method in class org.drasyl.node.PeerEndpoint
Converts an URI into an Endpoint.
of(DrasylAddress) - Static method in class org.drasyl.node.event.Peer
 
of(DrasylAddress, Object) - Static method in class org.drasyl.node.event.MessageEvent
Creates a new MessageEvent
of(Identity) - Static method in class org.drasyl.node.event.Node
 
of(Identity, int) - Static method in class org.drasyl.node.event.Node
 
of(Identity, int, int) - Static method in class org.drasyl.node.event.Node
 
of(KeyAgreementPublicKey) - Static method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
 
of(KeyAgreementPublicKey, KeyAgreementPublicKey) - Static method in class org.drasyl.node.handler.crypto.AgreementId
 
of(DrasylConfig, Identity, ChannelPipeline) - Static method in class org.drasyl.node.handler.plugin.PluginEnvironment
 
of(Node) - Static method in class org.drasyl.node.event.NodeDownEvent
 
of(Node) - Static method in class org.drasyl.node.event.NodeNormalTerminationEvent
 
of(Node) - Static method in class org.drasyl.node.event.NodeOfflineEvent
 
of(Node) - Static method in class org.drasyl.node.event.NodeOnlineEvent
 
of(Node) - Static method in class org.drasyl.node.event.NodeUpEvent
 
of(Node, Throwable) - Static method in class org.drasyl.node.event.NodeUnrecoverableErrorEvent
 
of(Peer) - Static method in class org.drasyl.node.event.LongTimeEncryptionEvent
 
of(Peer) - Static method in class org.drasyl.node.event.PeerDirectEvent
 
of(Peer) - Static method in class org.drasyl.node.event.PeerRelayEvent
 
of(Peer) - Static method in class org.drasyl.node.event.PerfectForwardSecrecyEncryptionEvent
 
of(AgreementId) - Static method in class org.drasyl.node.handler.crypto.AcknowledgementMessage
 
of(AgreementId, SessionPair, long) - Static method in class org.drasyl.node.handler.crypto.Agreement
 
of(AgreementId, Nonce, ByteBuf) - Static method in class org.drasyl.node.handler.crypto.ArmHeader
 
of(ImmutableByteArray) - Static method in class org.drasyl.node.handler.crypto.AgreementId
 
onAfterShutdown(PluginEnvironment) - Method in interface org.drasyl.node.handler.plugin.DrasylPlugin
This method gets called after the drasyl node was shut down.
onAfterStart(PluginEnvironment) - Method in interface org.drasyl.node.handler.plugin.DrasylPlugin
This method gets called after the drasyl node was started.
onAnyEvent(Function<Event, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Adds a new case to the event handling matching any event.
onAnyMessage(BiFunction<DrasylAddress, M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Add a new case to the event handling matching any MessageEvent.
onBeforeShutdown(PluginEnvironment) - Method in interface org.drasyl.node.handler.plugin.DrasylPlugin
This method get called before the drasyl node is shut down.
onBeforeStart(PluginEnvironment) - Method in interface org.drasyl.node.handler.plugin.DrasylPlugin
This method gets called before the drasyl node is started.
onEvent(Class<M>, Function<M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Adds a new case to the event handling.
onEvent(Class<M>, Predicate<M>, Function<M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Adds a new predicated case to the event handling.
onEvent(Event) - Method in class org.drasyl.node.behaviour.BehavioralDrasylNode
 
onEvent(Event) - Method in class org.drasyl.node.DrasylNode
Sends event to the application and tells it information about the local node, other peers, connections or incoming messages.
onEventEquals(M, Supplier<Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Add a new case to the event handling matching equal events.
onMessage(Class<M>, BiFunction<DrasylAddress, M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Add a new case to the event handling matching events of type MessageEvent with MessageEvent.getPayload() matching messageType.
onMessage(Class<M>, BiPredicate<DrasylAddress, M>, BiFunction<DrasylAddress, M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Add a new predicated case to the event handling matching events of type MessageEvent with MessageEvent.getPayload() matching messageType.
onMessageEquals(DrasylAddress, M, Supplier<Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
Add a new case to the event handling matching events of type MessageEvent with equal MessageEvent.getPayload().
onNonAgreement(ChannelHandlerContext) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
onNonAgreement(ChannelHandlerContext) - Method in class org.drasyl.node.handler.crypto.LongTimeArmHandler
 
onNonAgreement(ChannelHandlerContext) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
 
org.drasyl.channel - package org.drasyl.channel
 
org.drasyl.node - package org.drasyl.node
Contains DrasylNode.
org.drasyl.node.behaviour - package org.drasyl.node.behaviour
Describes DrasylNodes as finite state machines.
org.drasyl.node.channel - package org.drasyl.node.channel
netty Channel for the DrasylNode.
org.drasyl.node.event - package org.drasyl.node.event
Contains events that inform about various states of the DrasylNode (started, stopped, etc.) or overlay network events (messages, peer discovery, etc.)
org.drasyl.node.handler - package org.drasyl.node.handler
ChannelHandlers used by the DrasylNode.
org.drasyl.node.handler.crypto - package org.drasyl.node.handler.crypto
Contains classes necessary for encrypted peer/application communication.
org.drasyl.node.handler.plugin - package org.drasyl.node.handler.plugin
Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with user-defined settings.
org.drasyl.node.handler.serialization - package org.drasyl.node.handler.serialization
Serialization of java objects to byte arrays and vice versa.
org.drasyl.node.handler.timeout - package org.drasyl.node.handler.timeout
Adds support for read and write timeout and idle connection notification.
org.drasyl.node.identity - package org.drasyl.node.identity
Handles the Identity creation of the DrasylNode.

P

PARENT_DEFAULT_THREADS - Static variable in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
 
parseFile(File) - Static method in class org.drasyl.node.DrasylConfig
Parses a file into a Config instance.
parseFile(String) - Static method in class org.drasyl.node.DrasylConfig
Parses a file path into a Config instance.
parseFile(Path) - Static method in class org.drasyl.node.DrasylConfig
Parses a file path into a Config instance.
parseString(String) - Static method in class org.drasyl.node.DrasylConfig
Parses a string into a Config instance.
Peer - Class in org.drasyl.node.event
Used by Event to describe an event related to a Peer (e.g.
Peer() - Constructor for class org.drasyl.node.event.Peer
 
PeerDirectEvent - Class in org.drasyl.node.event
This event signals that the node has established a direct connection to a peer.
PeerDirectEvent() - Constructor for class org.drasyl.node.event.PeerDirectEvent
 
PeerEndpoint - Class in org.drasyl.node
Represents an endpoint of a drasyl node.
PeerEndpoint() - Constructor for class org.drasyl.node.PeerEndpoint
 
PeerEvent - Interface in org.drasyl.node.event
Events that refer to a Peer.
peerIdentity - Variable in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
PeerRelayEvent - Class in org.drasyl.node.event
This event signals that communication with this peer is only possible by relaying messages via a super peer.
PeerRelayEvent() - Constructor for class org.drasyl.node.event.PeerRelayEvent
 
PeersManagerHandler - Class in org.drasyl.node.handler
This handler track received PathEvents and will contain an internal state of all peers, super peers, children, and available paths.
PeersManagerHandler(Identity) - Constructor for class org.drasyl.node.handler.PeersManagerHandler
 
PendingAgreement - Class in org.drasyl.node.handler.crypto
 
PendingAgreement(KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey>) - Constructor for class org.drasyl.node.handler.crypto.PendingAgreement
 
PerfectForwardSecrecyEncryptionEvent - Class in org.drasyl.node.event
This event signals, that currently all messages from and to the #peer are encrypted with an ephemeral session key.
PerfectForwardSecrecyEncryptionEvent() - Constructor for class org.drasyl.node.event.PerfectForwardSecrecyEncryptionEvent
 
PFS - org.drasyl.node.handler.crypto.PFSArmHandler.State
 
PFSArmHandler - Class in org.drasyl.node.handler.crypto
Arms (encrypt) outbound and disarms (decrypt) inbound messages.
PFSArmHandler(Crypto, Duration, Duration, int, Identity, IdentityPublicKey) - Constructor for class org.drasyl.node.handler.crypto.PFSArmHandler
 
PFSArmHandler(Crypto, Identity, IdentityPublicKey, Session, LongSupplier, Duration, PFSArmHandler.State) - Constructor for class org.drasyl.node.handler.crypto.PFSArmHandler
 
PFSArmHandler.State - Enum in org.drasyl.node.handler.crypto
 
pipeline() - Method in class org.drasyl.node.DrasylNode
Returns the ChannelPipeline to allow users to add own handlers.
PluginEnvironment - Class in org.drasyl.node.handler.plugin
Models environment information of a DrasylPlugin that are required by the plugin.
PluginEnvironment() - Constructor for class org.drasyl.node.handler.plugin.PluginEnvironment
 
plugins(Set<DrasylPlugin>) - Method in class org.drasyl.node.DrasylConfig.Builder
 
PLUGINS - Static variable in class org.drasyl.node.DrasylConfig
 
PluginsHandler - Class in org.drasyl.node.handler.plugin
 
PluginsHandler(DrasylConfig, Identity) - Constructor for class org.drasyl.node.handler.plugin.PluginsHandler
 
ProtobufSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Message objects.
ProtobufSerializer() - Constructor for class org.drasyl.node.handler.serialization.ProtobufSerializer
 
PROTOCOL_OVERHEAD - Static variable in class org.drasyl.node.channel.DrasylNodeChannelInitializer
 

R

readFrom(File) - Static method in class org.drasyl.node.IdentityFile
 
readFrom(InputStream) - Static method in class org.drasyl.node.IdentityFile
 
readFrom(String) - Static method in class org.drasyl.node.IdentityFile
 
readFrom(Path) - Static method in class org.drasyl.node.IdentityFile
 
readIdentityFile(Path) - Static method in class org.drasyl.node.identity.IdentityManager
Reads the identity from code.
receive() - Static method in class org.drasyl.node.behaviour.Behaviors
Creates a new Behavior.BehaviorBuilder to build a new Behavior for inbound message/event handling.
receive(Event) - Method in class org.drasyl.node.behaviour.Behavior
Process an incoming event and return the next behavior.
REMOTE_BIND_HOST - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_BIND_PORT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_ENDPOINTS - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_EXPOSE_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_HANDSHAKE_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_LOCAL_HOST_DISCOVERY_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_LOCAL_HOST_DISCOVERY_LEASE_TIME - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_LOCAL_HOST_DISCOVERY_PATH - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_LOCAL_HOST_DISCOVERY_WATCH_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_LOCAL_NETWORK_DISCOVERY_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARM_APPLICATION_AGREEMENT_EXPIRE_AFTER - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARM_APPLICATION_AGREEMENT_MAX_COUNT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARM_APPLICATION_AGREEMENT_RETRY_INTERVAL - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARM_APPLICATION_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARM_PROTOCOL_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARM_PROTOCOL_SESSION_EXPIRE_AFTER - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARM_PROTOCOL_SESSION_MAX_COUNT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARQ_CLOCK - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARQ_DEAD_PEER_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARQ_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARQ_RETRY_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_ARQ_WINDOW_SIZE - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_COMPOSED_MESSAGE_TRANSFER_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_HOP_LIMIT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_MAX_CONTENT_LENGTH - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_MESSAGE_MTU - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_PING_COMMUNICATION_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_PING_INTERVAL - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_PING_MAX_PEERS - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_PING_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_STATIC_ROUTES - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_SUPER_PEER_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_SUPER_PEER_ENDPOINTS - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_TCP_FALLBACK_CLIENT_ADDRESS - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_TCP_FALLBACK_CLIENT_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_TCP_FALLBACK_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_TCP_FALLBACK_SERVER_BIND_HOST - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_TCP_FALLBACK_SERVER_BIND_PORT - Static variable in class org.drasyl.node.DrasylConfig
 
REMOTE_UNITE_MIN_INTERVAL - Static variable in class org.drasyl.node.DrasylConfig
 
remoteBindHost(InetAddress) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteBindPort(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteEndpoints(Set<PeerEndpoint>) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteExposeEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteHandshakeTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteLocalHostDiscoveryEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteLocalHostDiscoveryLeaseTime(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteLocalHostDiscoveryPath(Path) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteLocalHostDiscoveryWatchEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteLocalNetworkDiscoveryEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArmApplicationAgreementExpireAfter(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArmApplicationAgreementMaxCount(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArmApplicationAgreementRetryInterval(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArmApplicationEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArmProtocolEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArmProtocolSessionExpireAfter(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArmProtocolSessionMaxCount(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArqClock(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArqDeadPeerTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArqEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArqRetryTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageArqWindowSize(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageComposedMessageTransferTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageHopLimit(byte) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageMaxContentLength(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteMessageMtu(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remotePingCommunicationTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remotePingInterval(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remotePingMaxPeers(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remotePingTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteStaticRoutes(Map<DrasylAddress, InetSocketAddress>) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteSuperPeerEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteSuperPeerEndpoints(Set<PeerEndpoint>) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteTcpFallbackClientAddress(InetSocketAddress) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteTcpFallbackClientTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteTcpFallbackEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteTcpFallbackServerBindHost(InetAddress) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteTcpFallbackServerBindPort(int) - Method in class org.drasyl.node.DrasylConfig.Builder
 
remoteUniteMinInterval(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
 
removeSerializer(Class<?>) - Method in class org.drasyl.node.handler.serialization.Serialization
Removes all serializers for objects of type clazz.
removeSerializer(Serializer) - Method in class org.drasyl.node.handler.serialization.Serialization
Removes given serializer from
removeStaleAgreement(ChannelHandlerContext, Agreement) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
removeStaleAgreement(ChannelHandlerContext, Agreement) - Method in class org.drasyl.node.handler.crypto.LongTimeArmHandler
 
removeStaleAgreement(ChannelHandlerContext, Agreement) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
 
RENEW_DIVISOR - Static variable in class org.drasyl.node.handler.crypto.Agreement
 
resolve(String) - Method in class org.drasyl.node.DrasylNode
Creates a future containing a Channel for communication with address.
resolve(DrasylAddress) - Method in class org.drasyl.node.DrasylNode
Creates a future containing a Channel for communication with address.

S

same() - Static method in class org.drasyl.node.behaviour.Behaviors
A behavior that advises the system to reuse the previous behavior.
scheduleEvent(Event) - Method in class org.drasyl.node.behaviour.Behaviors.EventScheduler
Schedules a self event.
scheduleEvent(Event, Duration) - Method in class org.drasyl.node.behaviour.Behaviors.EventScheduler
Schedules a self event.
schedulePeriodicallyEvent(Event, Duration, Duration) - Method in class org.drasyl.node.behaviour.Behaviors.EventScheduler
Schedules a self event.
send(String, Object) - Method in class org.drasyl.node.DrasylNode
Sends the content of payload to the identity recipient.
send(DrasylAddress, Object) - Method in class org.drasyl.node.DrasylNode
Sends the content of payload to the identity recipient.
Serialization - Class in org.drasyl.node.handler.serialization
Holds a Map with all available Serializers and the classes each serializer should be used for.
Serialization(Map<String, Serializer>, Map<Class<?>, String>) - Constructor for class org.drasyl.node.handler.serialization.Serialization
 
SERIALIZATION_BINDINGS_INBOUND - Static variable in class org.drasyl.node.DrasylConfig
 
SERIALIZATION_BINDINGS_OUTBOUND - Static variable in class org.drasyl.node.DrasylConfig
 
SERIALIZATION_SERIALIZERS - Static variable in class org.drasyl.node.DrasylConfig
 
serializationsBindingsInbound(Map<Class<?>, String>) - Method in class org.drasyl.node.DrasylConfig.Builder
 
serializationsBindingsOutbound(Map<Class<?>, String>) - Method in class org.drasyl.node.DrasylConfig.Builder
 
serializationSerializers(Map<String, Serializer>) - Method in class org.drasyl.node.DrasylConfig.Builder
 
serializationStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
This stage serializes Objects to ByteBuf and vice versa.
SerializedPayload - Class in org.drasyl.node.handler.serialization
This class models the serialized payload of a drasyl application message.
SerializedPayload() - Constructor for class org.drasyl.node.handler.serialization.SerializedPayload
 
Serializer - Interface in org.drasyl.node.handler.serialization
A Serializer represents a bimap between an object and an array of bytes representing that object.
SERIALIZER_BYTES - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_JACKSON_JSON - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_JAVA - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_PRIMITIVE_BOOLEAN - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_PRIMITIVE_BYTE - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_PRIMITIVE_CHAR - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_PRIMITIVE_FLOAT - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_PRIMITIVE_INT - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_PRIMITIVE_LONG - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_PRIMITIVE_SHORT - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_PROTO - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
SERIALIZER_STRING - Static variable in class org.drasyl.node.handler.serialization.Serializers
 
Serializers - Class in org.drasyl.node.handler.serialization
This class contains some constants with the identifiers of default serializers.
session - Variable in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
Session - Class in org.drasyl.node.handler.crypto
This class holds the current (long time/session | active/inactive/stale) Agreements between two nodes.
Session(Agreement, int, Duration) - Constructor for class org.drasyl.node.handler.crypto.Session
 
Session(Agreement, ConcurrentReference<PendingAgreement>, int, Duration) - Constructor for class org.drasyl.node.handler.crypto.Session
 
setLastKeyExchangeAt(long) - Method in class org.drasyl.node.handler.crypto.Session
 
setLastRenewAttemptAt(long) - Method in class org.drasyl.node.handler.crypto.Session
 
setRecipientsKeyAgreementKey(KeyAgreementPublicKey) - Method in class org.drasyl.node.handler.crypto.PendingAgreement
 
ShortSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes Integer objects.
ShortSerializer() - Constructor for class org.drasyl.node.handler.serialization.ShortSerializer
 
shutdown() - Static method in class org.drasyl.node.behaviour.Behaviors
A behavior that advises the system to shutdown the DrasylNode.
shutdown() - Method in class org.drasyl.node.DrasylNode
Shut the drasyl node down.
shutdown() - Static method in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
Shutdown the two schedulers.
start() - Method in class org.drasyl.node.DrasylNode
Start the drasyl node.
StringSerializer - Class in org.drasyl.node.handler.serialization
This Serializer (de)serializes String objects.
StringSerializer() - Constructor for class org.drasyl.node.handler.serialization.StringSerializer
 

T

toByteArray(Object) - Method in class org.drasyl.node.handler.serialization.DisabledSerializer
 
toByteArray(Object) - Method in class org.drasyl.node.handler.serialization.JacksonJsonSerializer
 
toByteArray(Object) - Method in class org.drasyl.node.handler.serialization.NullSerializer
 
toByteArray(Object) - Method in interface org.drasyl.node.handler.serialization.Serializer
Serializes the given object into an array of bytes
toBytes() - Method in class org.drasyl.node.handler.crypto.AgreementId
 
toInetSocketAddress() - Method in class org.drasyl.node.PeerEndpoint
Creates an unresolved socket address from PeerEndpoint.getHost() and PeerEndpoint.getPort().
toString() - Method in class org.drasyl.node.behaviour.Behavior
 
toString() - Method in class org.drasyl.node.behaviour.DeferredBehavior
 
toString() - Method in class org.drasyl.node.handler.crypto.AgreementId
 
toString() - Method in class org.drasyl.node.handler.crypto.ArmHeader
 
toString() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
 
toString() - Method in class org.drasyl.node.PeerEndpoint
 

U

unarm(ChannelHandlerContext, Agreement, Nonce, ByteBuf) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
 
unhandled() - Static method in class org.drasyl.node.behaviour.Behaviors
A behavior that keeps the same behavior and signals that the event was not handled (event will be logged with DEBUG level).
userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.node.handler.PeersManagerHandler
 

V

valueOf(String) - Static method in enum org.drasyl.node.handler.crypto.PFSArmHandler.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.node.Null
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.drasyl.node.handler.crypto.PFSArmHandler.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.node.Null
Returns an array containing the constants of this enum type, in the order they are declared.

W

withScheduler(Function<Behaviors.EventScheduler, Behavior>) - Static method in class org.drasyl.node.behaviour.Behaviors
A behavior with support for scheduled self events in a node.
withScheduler(Function<Behaviors.EventScheduler, Behavior>, EventLoopGroup) - Static method in class org.drasyl.node.behaviour.Behaviors
A behavior with support for scheduled self events in a node.
writeBody(ByteBuf) - Method in class org.drasyl.node.handler.crypto.AcknowledgementMessage
 
writeBody(ByteBuf) - Method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
 
writeIdentityFile(Path, Identity) - Static method in class org.drasyl.node.identity.IdentityManager
Writes the identity identity to the file path.
writeTo(ByteBuf) - Method in class org.drasyl.node.handler.crypto.ArmHeader
 
writeTo(ByteBuf) - Method in class org.drasyl.node.handler.serialization.SerializedPayload
Writes this message to the buffer byteBuf.
writeTo(File, Identity) - Static method in class org.drasyl.node.IdentityFile
 
writeTo(OutputStream, Identity) - Static method in class org.drasyl.node.IdentityFile
 
writeTo(String, Identity) - Static method in class org.drasyl.node.IdentityFile
 
writeTo(Path, Identity) - Static method in class org.drasyl.node.IdentityFile
 
A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages