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

A

AbstractPipeline - Class in org.drasyl.pipeline
Abstract Pipeline implementation, that needs head and tail.
AbstractPipeline(Map<String, AbstractHandlerContext>, DrasylScheduler, DrasylScheduler, DrasylConfig, Identity, PeersManager, Serialization, Serialization, Semaphore) - Constructor for class org.drasyl.pipeline.AbstractPipeline
 
accept(HandlerContext, A, I) - Method in class org.drasyl.pipeline.handler.filter.InboundMessageFilter
This method is called for every inbound message.
accept(HandlerContext, A, O) - Method in class org.drasyl.pipeline.handler.filter.OutboundMessageFilter
This method is called for every outbound message.
accept(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>) - Method in class org.drasyl.remote.handler.HopCountGuard
 
accept(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>) - Method in class org.drasyl.remote.handler.InvalidProofOfWorkFilter
 
accept(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>) - Method in class org.drasyl.remote.handler.OtherNetworkFilter
 
accept(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>) - Method in class org.drasyl.remote.handler.RateLimiter
 
accept(T) - Method in interface org.drasyl.util.ThrowingConsumer
Performs this operation on the given argument.
accept(T, U) - Method in interface org.drasyl.util.ThrowingBiConsumer
Performs this operation on the given arguments.
acceptAddress(Address) - Method in class org.drasyl.pipeline.skeleton.AddressHandlerAdapter
Returns true if the given address should be handled, false otherwise.
acceptEvent(Event) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
Returns true if the given event should be handled.
acceptInbound(Object) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
Returns true if the given message should be handled.
acceptMessage(InetSocketAddressWrapper, ByteBuf) - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
 
acceptMessage(InetSocketAddressWrapper, ByteBuf) - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
 
acceptMessage(InetSocketAddressWrapper, ByteBuf) - Method in interface org.drasyl.remote.handler.portmapper.PortMapping
Is called for incoming messages and returns true if the message should be consumed and removed from the pipeline.
acceptMessage(InetSocketAddressWrapper, ByteBuf) - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
 
acceptOutbound(Object) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
Returns true if the given message should be handled.
acceptOutbound(Object) - Method in class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
Returns true if the given message should be handled.
acknowledgement(int, IdentityPublicKey, ProofOfWork, IdentityPublicKey, Nonce) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates new Protocol.Acknowledgement message (reply to Protocol.Discovery message).
ACKNOWLEDGEMENT - org.drasyl.remote.protocol.Protocol.MessageType
ACKNOWLEDGEMENT = 0;
ACKNOWLEDGEMENT_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
ACKNOWLEDGEMENT = 0;
add(CompletableFuture<?>) - Method in class org.drasyl.util.FutureCombiner
Adds a new future to be combined.
add(HandlerContext, Runnable) - Method in class org.drasyl.pipeline.handler.OutboundMessagesThrottlingHandler.RateLimitedQueue
 
addAfter(String, String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
 
addAfter(String, String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Inserts a Handler after an existing handler of this pipeline.
addAll(CompletableFuture<?>...) - Method in class org.drasyl.util.FutureCombiner
Adds a new futures to be combined.
addBefore(String, String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
 
addBefore(String, String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Inserts a Handler before an existing handler of this pipeline.
addFirst(String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
 
addFirst(String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Inserts a Handler at the first position of this pipeline.
addLast(String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
 
addLast(String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Appends a Handler at the last position of this pipeline.
addPath(IdentityPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
 
addPathAndChildren(IdentityPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
 
addPathAndSuperPeer(IdentityPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
 
addPortMapping(URI, String, Integer, InetAddress, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
Address - Interface in org.drasyl.pipeline.address
This class models an address, that can be used inside the Pipeline by Handlers, to know an application/protocol specific endpoint of a sender or recipient.
ADDRESS_MISMATCH - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
ADDRESS_NOT_SET - org.drasyl.remote.protocol.Protocol.Unite.AddressCase
 
AddressedEnvelope<A extends Address,​M> - Interface in org.drasyl.pipeline.message
A message with a sender address and a recipient address.
AddressHandlerAdapter<A> - Class in org.drasyl.pipeline.skeleton
HandlerAdapter which allows to explicit only handle a specific type of address.
AddressHandlerAdapter() - Constructor for class org.drasyl.pipeline.skeleton.AddressHandlerAdapter
Create a new instance which will try to detect the types to match out of the type parameter of the class.
AddressHandlerAdapter(Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.AddressHandlerAdapter
Create a new instance
ADDRESSV4 - org.drasyl.remote.protocol.Protocol.Unite.AddressCase
 
ADDRESSV4_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Unite
 
ADDRESSV6 - org.drasyl.remote.protocol.Protocol.Unite.AddressCase
 
ADDRESSV6_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Unite
 
addSerializationsBindingsInbound(Class<?>, String) - Method in class org.drasyl.DrasylConfig.Builder
 
addSerializationsBindingsOutbound(Class<?>, String) - Method in class org.drasyl.DrasylConfig.Builder
 
addSerializer(Class<?>, Serializer) - Method in class org.drasyl.pipeline.serialization.Serialization
Adds a serializer as serializer for objects of type clazz.
afterShutdown() - Method in class org.drasyl.plugin.PluginManager
This method get called last when the DrasylNode is shut down.
afterStart() - Method in class org.drasyl.plugin.PluginManager
This method is called last when the DrasylNode is started.
Agreement - Class in org.drasyl.remote.handler.crypto
This object represents a session key agreement between two nodes.
Agreement() - Constructor for class org.drasyl.remote.handler.crypto.Agreement
 
AgreementId - Class in org.drasyl.remote.handler.crypto
This class represents an identifier for an Agreement between to nodes.
AGREEMENTID_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
AGREEMENTID_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
alive(String, int) - Static method in class org.drasyl.util.network.NetworkUtil
Checks to see if a specific host:port is available.
ALL - Static variable in class org.drasyl.pipeline.HandlerMask
 
allocateBuffer(HandlerContext, A, O, boolean) - Method in class org.drasyl.pipeline.handler.codec.MessageToByteEncoder
Allocate a ByteBuf which will be used as argument of MessageToByteEncoder.encode(HandlerContext, Address, Object, ByteBuf).
ansi() - Static method in class org.drasyl.util.Ansi
 
Ansi - Class in org.drasyl.util
Utility to colorize and style Strings with ANSI escape sequences.
Ansi.Color - Enum in org.drasyl.util
 
application(int, IdentityPublicKey, ProofOfWork, IdentityPublicKey, String, byte[]) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates new Protocol.Application message.
APPLICATION - org.drasyl.remote.protocol.Protocol.MessageType
APPLICATION = 1;
APPLICATION_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
APPLICATION = 1;
apply(DrasylNode) - Method in class org.drasyl.behaviour.DeferredBehavior
 
apply(T) - Method in interface org.drasyl.util.ThrowingFunction
Applies this function to the given argument.
apply(T, U) - Method in interface org.drasyl.util.ThrowingBiFunction
Applies this function to the given arguments.
arm(SessionPair) - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Returns an armed version of this envelope for sending it through untrustworthy channels.
ARM_HANDLER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
armAndRelease(SessionPair) - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Returns an armed version of this envelope for sending it through untrustworthy channels.
ArmHandler - Class in org.drasyl.remote.handler.crypto
Arms (encrypt) outbound and disarms (decrypt) inbound messages.
ArmHandler(int, int, Duration, Duration) - Constructor for class org.drasyl.remote.handler.crypto.ArmHandler
 
ArmHandler(Map<IdentityPublicKey, Session>, Crypto, int, Duration, Duration) - Constructor for class org.drasyl.remote.handler.crypto.ArmHandler
 
ArmHandlerUtil - Class in org.drasyl.remote.handler.crypto
A simple util/helper class for the ArmHandler that provides some static methods.
ArrayUtil - Class in org.drasyl.util
Utility class for operations on arrays.
AutoSwallow - Interface in org.drasyl.pipeline
All classes that implement this interface will be silent and automatically swallowed at the end of the pipeline.
available(int) - Static method in class org.drasyl.util.network.NetworkUtil
Checks to see if a specific port is available.
availableTokens() - Method in class org.drasyl.util.TokenBucket
Returns the number of available tokens in the bucket.

B

background(Ansi.Color) - Method in class org.drasyl.util.Ansi
 
beforeShutdown() - Method in class org.drasyl.plugin.PluginManager
This method get called first when the DrasylNode is shut down.
beforeStart() - Method in class org.drasyl.plugin.PluginManager
This method is called first when the DrasylNode is started.
Behavior - Class in org.drasyl.behaviour
The behavior of an node defines how it reacts to the events that it receives.
Behavior.BehaviorBuilder - Class in org.drasyl.behaviour
Immutable builder for creating Behavior by chaining event handlers.
BehavioralDrasylNode - Class in org.drasyl.behaviour
Describes a DrasylNode as a finite state machine.
BehavioralDrasylNode() - Constructor for class org.drasyl.behaviour.BehavioralDrasylNode
 
BehavioralDrasylNode(DrasylConfig) - Constructor for class org.drasyl.behaviour.BehavioralDrasylNode
 
BehavioralDrasylNode(DrasylConfig, Identity, PeersManager, Pipeline, PluginManager, AtomicReference<CompletableFuture<Void>>, AtomicReference<CompletableFuture<Void>>, Scheduler) - Constructor for class org.drasyl.behaviour.BehavioralDrasylNode
 
BehavioralDrasylNode(DrasylConfig, Identity, PeersManager, Pipeline, PluginManager, AtomicReference<CompletableFuture<Void>>, AtomicReference<CompletableFuture<Void>>, Scheduler, Behavior) - Constructor for class org.drasyl.behaviour.BehavioralDrasylNode
 
Behaviors - Class in org.drasyl.behaviour
Factories for Behavior.
Behaviors.EventScheduler - Class in org.drasyl.behaviour
 
BEST_DEFAULT_THREADS - Static variable in class org.drasyl.util.EventLoopGroupUtil
 
Beta - Annotation Type in org.drasyl.annotation
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
black() - Method in class org.drasyl.util.Ansi
 
BLACK - org.drasyl.util.Ansi.Color
 
blue() - Method in class org.drasyl.util.Ansi
 
BLUE - org.drasyl.util.Ansi.Color
 
bold() - Method in class org.drasyl.util.Ansi
 
BooleanSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Boolean objects.
BooleanSerializer() - Constructor for class org.drasyl.serialization.BooleanSerializer
 
build() - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
Build a behavior from the current state of the builder.
build() - Method in class org.drasyl.DrasylConfig.Builder
 
build() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
build() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
build() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
build() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
build() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
build() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
build() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
build() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
buildDiscoveryMessage() - Static method in class org.drasyl.util.protocol.UpnpIgdUtil
 
Builder() - Constructor for class org.drasyl.DrasylConfig.Builder
 
buildExternalAddressRequestMessage() - Static method in class org.drasyl.util.protocol.NatPmpUtil
To determine the external address, the client behind the NAT sends the following UDP payload to port 5351 of the configured gateway address: 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Vers = 0 | OP = 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
buildInheritanceGraph() - Static method in class org.drasyl.pipeline.serialization.Serialization
Rebuilds the inheritance graph, but keeps the old values.
buildMappingRequestMessage(int, int, Duration) - Static method in class org.drasyl.util.protocol.NatPmpUtil
To create a mapping, the client sends a UDP packet to port 5351 of the gateway's internal IP address with the following format: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Vers = 0 | OP = x | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Internal Port | Suggested External Port | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Requested Port Mapping Lifetime in Seconds | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Opcodes supported: 1 - Map UDP 2 - Map TCP The Reserved field MUST be set to zero on transmission and MUST be ignored on reception.
buildMappingRequestMessage(Duration, InetAddress, byte[], int, int, InetAddress) - Static method in class org.drasyl.util.protocol.PcpPortUtil
All MAP opcode requests have the following format: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Version = 2 |R| Opcode | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Requested Lifetime (32 bits) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | PCP Client's IP Address (128 bits) | | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Mapping Nonce (96 bits) | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Protocol | Reserved (24 bits) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Internal Port | Suggested External Port | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Suggested External IP Address (128 bits) | | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ These fields are described below: Version: This document specifies protocol version 2.
buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
ByteArraySerializer - Class in org.drasyl.serialization
This Serializer (de)serializes byte arrays (just returns the byte array unchanged/uncopied).
ByteArraySerializer() - Constructor for class org.drasyl.serialization.ByteArraySerializer
 
ByteBufUtil - Class in org.drasyl.util
Utility class for operations on ByteBufs.
ByteSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Byte objects.
ByteSerializer() - Constructor for class org.drasyl.serialization.ByteSerializer
 
bytesToHex(byte[]) - Static method in class org.drasyl.crypto.HexUtil
Converts an array of bytes into a string.
BytesToHexStringDeserializer() - Constructor for class org.drasyl.serialization.JacksonJsonSerializer.BytesToHexStringDeserializer
 
BytesToHexStringDeserializer(Class<byte[]>) - Constructor for class org.drasyl.serialization.JacksonJsonSerializer.BytesToHexStringDeserializer
 
BytesToHexStringSerializer() - Constructor for class org.drasyl.serialization.JacksonJsonSerializer.BytesToHexStringSerializer
 
BytesToHexStringSerializer(Class<byte[]>) - Constructor for class org.drasyl.serialization.JacksonJsonSerializer.BytesToHexStringSerializer
 

C

CANNOT_PROVIDE_EXTERNAL - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
CharacterSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Character objects.
CharacterSerializer() - Constructor for class org.drasyl.serialization.CharacterSerializer
 
CHILDRENTIME_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Discovery
 
CHUNKING_HANDLER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
ChunkingHandler - Class in org.drasyl.remote.handler
This handler is responsible for merging incoming message chunks into a single message as well as splitting outgoing too large messages into chunks.
ChunkingHandler() - Constructor for class org.drasyl.remote.handler.ChunkingHandler
 
CHUNKNO_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
cidr2Netmask(short, int) - Static method in class org.drasyl.util.network.NetworkUtil
Converts a given CIDR mask to valid IPv4 or IPv6 network mask.
clear() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
clear() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
clear() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
clear() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
clear() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
clear() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
clear() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
clear() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
clearAddress() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
clearAddressV4() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
4 bytes fix
clearAddressV6() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
16 bytes fix
clearAgreementId() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
32 bytes fix (SHA-256 hash of both public key agreement keys)
clearAgreementId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
32 bytes fix (SHA-256 hash of both public key agreement keys)
clearChildrenTime() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
uint64 childrenTime = 1;
clearChunkNo() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 2 bytes (by definition, only values up to 65535 are allowed)
clearCorrespondingId() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
24 bytes fix from previous nonce
clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
clearHopCount() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
1 byte fix (by definition, only values between 1 and 127 are allowed)
clearNetworkId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 4 bytes
clearNonce() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
24 bytes fix
clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
clearPayload() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
bytes payload = 1;
clearPort() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
2 bytes fix
clearProofOfWork() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 4 bytes
clearPublicKey() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
33 bytes fix
clearRecipient() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
32 bytes fix
clearSender() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
32 bytes fix
clearSessionKey() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
32 bytes fix
clearTotalChunks() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 2 bytes (by definition, only values up to 65535 are allowed)
clearType() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
string type = 2;
clearType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
.org.drasyl.remote.protocol.MessageType type = 1;
clone() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
clone() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
clone() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
clone() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
clone() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
clone() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
clone() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
clone() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
close() - Method in class org.drasyl.pipeline.EmbeddedPipeline
This method does release all potentially acquired ReferenceCounted objects.
close() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
CodecException - Exception in org.drasyl.pipeline.handler.codec
An Exception which is thrown by a codec.
CodecException() - Constructor for exception org.drasyl.pipeline.handler.codec.CodecException
 
CodecException(String) - Constructor for exception org.drasyl.pipeline.handler.codec.CodecException
 
CodecException(String, Throwable) - Constructor for exception org.drasyl.pipeline.handler.codec.CodecException
 
CodecException(Throwable) - Constructor for exception org.drasyl.pipeline.handler.codec.CodecException
 
color(Ansi.Color) - Method in class org.drasyl.util.Ansi
 
combine(CompletableFuture<Void>) - Method in class org.drasyl.util.FutureCombiner
Completes future if all of the added futures are completed.
compare(Key, Key) - Static method in class org.drasyl.crypto.Crypto
Compares to keys k1 and k2 to allow to form a total order on the keys.
computeIfAbsent(Supplier<T>) - Method in class org.drasyl.util.ConcurrentReference
Sets the write many read many memory to the return value of supplier if ConcurrentReference.value is Objects.isNull(Object).
computeInactiveAgreementIfNeeded(Crypto, Session) - Static method in class org.drasyl.remote.handler.crypto.ArmHandlerUtil
Computes a new inactive agreement if not already present.
computeOnCondition(Predicate<T>, UnaryOperator<T>) - Method in class org.drasyl.util.ConcurrentReference
Sets the write many read many memory to the return value of unaryFunction if ConcurrentReference.value fulfills the condition.
concat(byte[], byte[]) - Static method in class org.drasyl.util.ArrayUtil
Creates a new byte array containing all bytes from a first and then from b.
concat(E[], E[]) - Static method in class org.drasyl.util.ArrayUtil
Creates a new array containing all elements from a first and then from b.
ConcurrentReference<T> - Class in org.drasyl.util
This class wraps an object of type T and serves as a write many read many memory.
config - Variable in class org.drasyl.pipeline.AbstractPipeline
 
config() - Method in interface org.drasyl.pipeline.HandlerContext
Returns the corresponding DrasylConfig.
consume() - Method in class org.drasyl.util.TokenBucket
Consumes a token from the bucket.
context(String) - Method in class org.drasyl.pipeline.AbstractPipeline
 
context(String) - Method in interface org.drasyl.pipeline.Pipeline
Returns the context object of the Handler with the specified name in this pipeline.
convertIdentityKeyToKeyAgreementKey(IdentityPublicKey) - Method in class org.drasyl.crypto.Crypto
Converts the given ed25519 long time publicKey into a curve25519 key for (on-demand) key agreement.
convertLongTimeKeyPairToKeyAgreementKeyPair(KeyPair<IdentityPublicKey, IdentitySecretKey>) - Method in class org.drasyl.crypto.Crypto
Converts the given ed25519 long time keyPair into a curve25519 key pair for (on-demand) key agreement.
copy() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
This method returns a copy of the RemoteEnvelope and resets the reader index to 0.
copyToTempDirectory(String, Class) - Method in class org.drasyl.crypto.loader.DrasylResourceLoader
Copies a file into a temporary directory regardless of if it is in a JAR or not.
CORRESPONDINGID_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
created() - Method in class org.drasyl.behaviour.BehavioralDrasylNode
Returns the initial Behavior of the node.
createInetAddress(String) - Static method in class org.drasyl.util.network.NetworkUtil
Creates a InetAddress by parsing the given string.
createMainTempDirectory() - Static method in class org.drasyl.crypto.loader.DrasylResourceLoader
Creates the main temporary directory for resource-loader.
createUri(String, String, int) - Static method in class org.drasyl.util.UriUtil
Creates a URI by parsing the given components.
createUri(String, String, String, int, String, String) - Static method in class org.drasyl.util.UriUtil
Creates a URI by parsing the given components.
createUrl(String) - Static method in class org.drasyl.util.UrlUtil
Creates a URL by parsing the given string.
createWorker() - Method in class org.drasyl.util.scheduler.DrasylScheduler
 
Crypto - Class in org.drasyl.crypto
Util class that provides cryptography functions for drasyl.
crypto_pwhash_scryptsalsa208sha256(byte[], long, byte[], long, byte[], long, long) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_pwhash_scryptsalsa208sha256_ll(byte[], int, byte[], int, long, long, long, byte[], int) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_pwhash_scryptsalsa208sha256_str(byte[], byte[], long, long, long) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_pwhash_scryptsalsa208sha256_str_needs_rehash(byte[], long, long) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_pwhash_scryptsalsa208sha256_str_verify(byte[], byte[], long) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_salsa2012(byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_salsa2012_keygen(byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_salsa2012_xor(byte[], byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_salsa208(byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_salsa208_keygen(byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_salsa208_xor(byte[], byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_xchacha20(byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_xchacha20_keygen(byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_xchacha20_xor(byte[], byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
crypto_stream_xchacha20_xor_ic(byte[], byte[], long, byte[], long, byte[]) - Method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
CryptoException - Exception in org.drasyl.crypto
A CryptoException is thrown by Crypto when errors occur.
CryptoException(Exception) - Constructor for exception org.drasyl.crypto.CryptoException
 
CryptoException(String) - Constructor for exception org.drasyl.crypto.CryptoException
 
CryptoException(String, Exception) - Constructor for exception org.drasyl.crypto.CryptoException
 
cryptoPwHashScryptSalsa208Sha256(byte[], long, byte[], long, byte[], long, long) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoPwHashScryptSalsa208Sha256(String, long, byte[], long, long) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoPwHashScryptSalsa208Sha256Ll(byte[], int, byte[], int, long, long, long, byte[], int) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoPwHashScryptSalsa208Sha256Str(byte[], byte[], long, long, long) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoPwHashScryptSalsa208Sha256Str(String, long, long) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoPwHashScryptSalsa208Sha256StrNeedsRehash(byte[], long, long) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoPwHashScryptSalsa208Sha256StrVerify(byte[], byte[], long) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoPwHashScryptSalsa208Sha256StrVerify(String, String) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStream(byte[], Key, StreamJava.Method) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamKeygen(StreamJava.Method) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamSalsa2012(byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamSalsa2012Keygen(byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamSalsa2012Xor(byte[], byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamSalsa208(byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamSalsa208Keygen(byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamSalsa208Xor(byte[], byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamXChaCha20(byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamXChaCha20Ic(byte[], byte[], long, byte[], long, byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamXChaCha20Keygen(byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamXChaCha20Xor(byte[], byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamXor(String, byte[], Key, StreamJava.Method) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamXorDecrypt(String, byte[], Key, StreamJava.Method) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamXorIc(String, byte[], long, Key, StreamJava.Method) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
cryptoStreamXorIcDecrypt(String, byte[], long, Key, StreamJava.Method) - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
CSPRNG - Static variable in class org.drasyl.crypto.Crypto
 
cyan() - Method in class org.drasyl.util.Ansi
 
CYAN - org.drasyl.util.Ansi.Color
 

D

debug(String) - Method in class org.drasyl.util.logging.JdkLogger
 
debug(String) - Method in interface org.drasyl.util.logging.Logger
Log a message at the DEBUG level.
debug(String) - Method in class org.drasyl.util.logging.Slf4JLogger
 
debug(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
debug(String, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the DEBUG level according to the specified format and argument.
debug(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
debug(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
 
debug(String, Object...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the DEBUG level according to the specified format and arguments.
debug(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
 
debug(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
debug(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the DEBUG level according to the specified format and arguments.
debug(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
debug(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
 
debug(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the DEBUG level with an accompanying message.
debug(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
 
debug(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the DEBUG level according to the specified format and argument supplier.
debug(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the DEBUG level according to the specified format and argument suppliers.
debug(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the DEBUG level according to the specified format and argument suppliers.
debug(Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the DEBUG level.
DEBUG - org.drasyl.util.logging.LogLevel
 
decode(HandlerContext, A, I, List<Object>) - Method in class org.drasyl.pipeline.handler.codec.MessageToMessageCodec
Decode from one message to one or more other.
decode(HandlerContext, A, I, List<Object>) - Method in class org.drasyl.pipeline.handler.codec.MessageToMessageDecoder
Decode from one message to one or more other.
decode(HandlerContext, IdentityPublicKey, RemoteEnvelope<Protocol.Application>, List<Object>) - Method in class org.drasyl.pipeline.serialization.MessageSerializer
 
decode(HandlerContext, InetSocketAddressWrapper, ByteBuf, List<Object>) - Method in class org.drasyl.remote.handler.RemoteEnvelopeToByteBufCodec
 
DecoderException - Exception in org.drasyl.pipeline.handler.codec
An CodecException which is thrown by a decoder.
DecoderException() - Constructor for exception org.drasyl.pipeline.handler.codec.DecoderException
 
DecoderException(String) - Constructor for exception org.drasyl.pipeline.handler.codec.DecoderException
 
DecoderException(String, Throwable) - Constructor for exception org.drasyl.pipeline.handler.codec.DecoderException
 
DecoderException(Throwable) - Constructor for exception org.drasyl.pipeline.handler.codec.DecoderException
 
decrement() - Method in class org.drasyl.util.UnsignedInteger
 
decrement() - Method in class org.drasyl.util.UnsignedShort
 
decrypt(byte[], byte[], Nonce, SessionPair) - Method in class org.drasyl.crypto.Crypto
Decrypt the given cipher, by verify the authTag as an authentication tag, uses the given nonce and decrypting with the rx part of the sessionPair.
decrypt(SessionPair, RemoteEnvelope<? extends MessageLite>) - Static method in class org.drasyl.remote.handler.crypto.ArmHandlerUtil
Decrypts the given msg with the given agreementPair.
DefaultAddressedEnvelope<A extends Address,​M> - Class in org.drasyl.pipeline.message
 
DefaultAddressedEnvelope(A, A, M) - Constructor for class org.drasyl.pipeline.message.DefaultAddressedEnvelope
 
DefaultHandlerContext - Class in org.drasyl.pipeline
The default handler context implementation.
DefaultHandlerContext(String, Handler, DrasylConfig, Pipeline, DrasylScheduler, DrasylScheduler, Identity, PeersManager, Serialization, Serialization) - Constructor for class org.drasyl.pipeline.DefaultHandlerContext
Generates a new default handler context for the given handler.
DeferredBehavior - Class in org.drasyl.behaviour
 
DeferredBehavior(Function<DrasylNode, Behavior>) - Constructor for class org.drasyl.behaviour.DeferredBehavior
 
delegate() - Method in class org.drasyl.util.logging.JdkLogger
 
delegate() - Method in class org.drasyl.util.logging.Slf4JLogger
 
deleteIdentityFile(Path) - Static method in class org.drasyl.identity.IdentityManager
Deletes the identity file specified in the configuration.
deletePortMapping(URI, String, int) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
dependentScheduler - Variable in class org.drasyl.pipeline.AbstractPipeline
 
dependentScheduler() - Method in interface org.drasyl.pipeline.HandlerContext
This method returns the same thread pool that is used by the normal pipeline processing.
deserialize(JsonParser, DeserializationContext) - Method in class org.drasyl.serialization.JacksonJsonSerializer.BytesToHexStringDeserializer
 
difference(Set<E>, E...) - Static method in class org.drasyl.util.SetUtil
Returns a set containing all elements from set a that are not b.
difference(Set<E>, Collection<E>) - Static method in class org.drasyl.util.SetUtil
Returns a set containing all elements from set a that are not in set b.
DisabledSerializer - Class in org.drasyl.serialization
This handler denies any (de)serialization and can be used to disable existing serializers.
DisabledSerializer() - Constructor for class org.drasyl.serialization.DisabledSerializer
 
disarm(SessionPair) - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Returns a disarmed version of this envelope.
disarmAndRelease(SessionPair) - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Returns a disarmed version of this envelope.
discovery(int, IdentityPublicKey, ProofOfWork) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates a new multicast Protocol.Discovery message (sent by LocalNetworkDiscovery}.
discovery(int, IdentityPublicKey, ProofOfWork, IdentityPublicKey, long) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates a new Protocol.Discovery message (sent by InternetDiscovery).
DISCOVERY - org.drasyl.remote.protocol.Protocol.MessageType
DISCOVERY = 2;
DISCOVERY_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
DISCOVERY = 2;
DiscoveryResponseMessage(String, String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
 
DoubleSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Double objects.
DoubleSerializer() - Constructor for class org.drasyl.serialization.DoubleSerializer
 
DrasylAddress - Interface in org.drasyl
Models the address to a DrasylNode in the overlay.
DrasylConfig - Class in org.drasyl
This class represents the configuration for a DrasylNode.
DrasylConfig() - Constructor for class org.drasyl.DrasylConfig
 
DrasylConfig.Builder - Class in org.drasyl
 
DrasylConfigException - Exception in org.drasyl
An Exception which is thrown by DrasylConfig.
DrasylConfigException(String, String) - Constructor for exception org.drasyl.DrasylConfigException
 
DrasylConfigException(String, Throwable) - Constructor for exception org.drasyl.DrasylConfigException
 
DrasylConfigException(Throwable) - Constructor for exception org.drasyl.DrasylConfigException
 
DrasylException - Exception in org.drasyl
All checked exceptions in drasyl inherit from this exception class.
DrasylException(String) - Constructor for exception org.drasyl.DrasylException
 
DrasylException(String, Throwable) - Constructor for exception org.drasyl.DrasylException
 
DrasylException(Throwable) - Constructor for exception org.drasyl.DrasylException
 
DrasylExecutor(String, int, int) - Constructor for class org.drasyl.util.scheduler.DrasylSchedulerUtil.DrasylExecutor
Generates an executor and scheduler.
DrasylLazySodiumJava - Class in org.drasyl.crypto.loader
 
DrasylLazySodiumJava(DrasylSodiumJava) - Constructor for class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
DrasylLazySodiumJava(DrasylSodiumJava, MessageEncoder) - Constructor for class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
DrasylLazySodiumJava(DrasylSodiumJava, Charset) - Constructor for class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
DrasylLazySodiumJava(DrasylSodiumJava, Charset, MessageEncoder) - Constructor for class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
DrasylLibraryLoader - Class in org.drasyl.crypto.loader
 
DrasylLibraryLoader(List<Class>) - Constructor for class org.drasyl.crypto.loader.DrasylLibraryLoader
 
DrasylNode - Class in org.drasyl
Represents a node in the drasyl Overlay Network.
DrasylNode() - Constructor for class org.drasyl.DrasylNode
Creates a new drasyl Node.
DrasylNode(DrasylConfig) - Constructor for class org.drasyl.DrasylNode
Creates a new drasyl Node with the given config.
DrasylNode(DrasylConfig, Identity, PeersManager, Pipeline, PluginManager, AtomicReference<CompletableFuture<Void>>, AtomicReference<CompletableFuture<Void>>, Scheduler) - Constructor for class org.drasyl.DrasylNode
 
DrasylPipeline - Class in org.drasyl.pipeline
The default Pipeline implementation.
DrasylPipeline(Consumer<Event>, DrasylConfig, Identity, PeersManager) - Constructor for class org.drasyl.pipeline.DrasylPipeline
 
DrasylPlugin - Interface in org.drasyl.plugin
This interface is implemented by all drasyl plugins.
DrasylResourceLoader - Class in org.drasyl.crypto.loader
Loads resources from a relative or absolute path even if the file is in a JAR.
DrasylScheduler - Class in org.drasyl.util.scheduler
 
DrasylScheduler(Scheduler, String) - Constructor for class org.drasyl.util.scheduler.DrasylScheduler
 
DrasylSchedulerUtil - Class in org.drasyl.util.scheduler
It is an intentional behavior that this scheduler ensures that the JVM is not automatically terminated once all sequential program flows have been processed.
DrasylSchedulerUtil.DrasylExecutor - Class in org.drasyl.util.scheduler
 
DrasylSharedLibraryLoader - Class in org.drasyl.crypto.loader
 
DrasylSodiumJava - Class in org.drasyl.crypto.loader
 
DrasylSodiumJava() - Constructor for class org.drasyl.crypto.loader.DrasylSodiumJava
 
DrasylSodiumJava(LibraryLoader.Mode) - Constructor for class org.drasyl.crypto.loader.DrasylSodiumJava
 
DrasylSodiumJava(File) - Constructor for class org.drasyl.crypto.loader.DrasylSodiumJava
 
DurationUtil - Class in org.drasyl.util
Utility class for operations on Durations.

E

EmbeddedPipeline - Class in org.drasyl.pipeline
Embedded Pipeline implementation, that allows easy testing of Handlers.
EmbeddedPipeline(DrasylConfig, Identity, PeersManager, Handler...) - Constructor for class org.drasyl.pipeline.EmbeddedPipeline
Creates a new embedded pipeline and adds all given handler to it.
EmptyDisposable - Class in org.drasyl.util.scheduler
 
encode(HandlerContext, A, O, ByteBuf) - Method in class org.drasyl.pipeline.handler.codec.MessageToByteEncoder
Encode a message into a ByteBuf.
encode(HandlerContext, A, O, List<Object>) - Method in class org.drasyl.pipeline.handler.codec.MessageToMessageCodec
Encode from one message to one or more other.
encode(HandlerContext, A, O, List<Object>) - Method in class org.drasyl.pipeline.handler.codec.MessageToMessageEncoder
Encode from one message to one or more other.
encode(HandlerContext, IdentityPublicKey, Object, List<Object>) - Method in class org.drasyl.pipeline.serialization.MessageSerializer
 
encode(HandlerContext, InetSocketAddressWrapper, RemoteEnvelope<? extends MessageLite>, List<Object>) - Method in class org.drasyl.remote.handler.RemoteEnvelopeToByteBufCodec
 
EncoderException - Exception in org.drasyl.pipeline.handler.codec
An CodecException which is thrown by a encoder.
EncoderException() - Constructor for exception org.drasyl.pipeline.handler.codec.EncoderException
 
EncoderException(String) - Constructor for exception org.drasyl.pipeline.handler.codec.EncoderException
 
EncoderException(String, Throwable) - Constructor for exception org.drasyl.pipeline.handler.codec.EncoderException
 
EncoderException(Throwable) - Constructor for exception org.drasyl.pipeline.handler.codec.EncoderException
 
encrypt(byte[], byte[], Nonce, SessionPair) - Method in class org.drasyl.crypto.Crypto
Encrypts the given message, by adding authTag as an authentication tag, using the given (hopefully fresh) nonce and encrypting with the tx part of the sessionPair.
Endpoint - Class in org.drasyl.peer
Represents an endpoint of a drasyl node.
Endpoint() - Constructor for class org.drasyl.peer.Endpoint
 
EPOCH_TIME_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
equals(Object) - Method in exception org.drasyl.DrasylException
 
equals(Object) - Method in class org.drasyl.event.MessageEvent
 
equals(Object) - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
 
equals(Object) - Method in class org.drasyl.plugin.PluginEnvironment
 
equals(Object) - Method in class org.drasyl.remote.handler.crypto.AgreementId
 
equals(Object) - Method in class org.drasyl.remote.handler.InternetDiscovery.Ping
 
equals(Object) - Method in class org.drasyl.remote.protocol.Nonce
 
equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.Application
 
equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
equals(Object) - Method in class org.drasyl.util.ConcurrentReference
 
equals(Object) - Method in class org.drasyl.util.MaskedString
 
equals(Object) - Method in class org.drasyl.util.Pair
 
equals(Object) - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
 
equals(Object) - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
 
equals(Object) - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
 
equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
 
equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
 
equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
 
equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
 
equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
 
equals(Object) - Method in class org.drasyl.util.Triple
 
equals(Object) - Method in class org.drasyl.util.UnsignedInteger
 
equals(Object) - Method in class org.drasyl.util.UnsignedShort
 
equals(Object) - Method in class org.drasyl.util.Worm
 
error(String) - Method in class org.drasyl.util.logging.JdkLogger
 
error(String) - Method in interface org.drasyl.util.logging.Logger
Log a message at the ERROR level.
error(String) - Method in class org.drasyl.util.logging.Slf4JLogger
 
error(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
error(String, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the ERROR level according to the specified format and argument.
error(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
error(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
 
error(String, Object...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the ERROR level according to the specified format and arguments.
error(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
 
error(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
error(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the ERROR level according to the specified format and arguments.
error(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
error(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
 
error(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the ERROR level with an accompanying message.
error(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
 
error(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the ERROR level according to the specified format and argument supplier.
error(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the ERROR level according to the specified format and argument suppliers.
error(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the ERROR level according to the specified format and argument suppliers.
error(Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the ERROR level.
ERROR - org.drasyl.util.logging.LogLevel
 
Event - Interface in org.drasyl.event
Describes an Event that provides the application with information about the local node, other peers, connections or incoming messages.
EventLoopGroupUtil - Class in org.drasyl.util
https://github.com/netty/netty/issues/639#issuecomment-9263566
EXCESSIVE_REMOTE_PEERS - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
EXTERNAL_ADDRESS_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
EXTERNAL_ADDRESS_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
EXTERNAL_IP_ADDRESS_TIMEOUT - Static variable in class org.drasyl.util.network.NetworkUtil
 
EXTERNAL_SUGGESTED_ADDRESS_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
ExternalAddressResponseMessage(NatPmpUtil.ResultCode, int, InetAddress) - Constructor for class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
 
ExternalIpAddress(InetAddress) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
 
extractFromWithinAJarFile(URL, File, String) - Method in class org.drasyl.crypto.loader.DrasylResourceLoader
 

F

FILE_SUFFIX - Static variable in class org.drasyl.localhost.LocalHostDiscovery
 
filteredInbound(HandlerContext, A, I, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexRemoteEnvelopeSkipLoopbackHandler
This method gets called when the messages is not address to a loopback (from us to us).
filteredInbound(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.crypto.ArmHandler
 
filteredOutbound(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexRemoteEnvelopeSkipLoopbackHandler
This method gets called when the messages is not address to a loopback (from us to us).
filteredOutbound(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.crypto.ArmHandler
 
FilterException - Exception in org.drasyl.pipeline.handler.filter
An Exception which is thrown by a filter.
FilterException() - Constructor for exception org.drasyl.pipeline.handler.filter.FilterException
 
FilterException(String) - Constructor for exception org.drasyl.pipeline.handler.filter.FilterException
 
FilterException(String, Throwable) - Constructor for exception org.drasyl.pipeline.handler.filter.FilterException
 
FilterException(Throwable) - Constructor for exception org.drasyl.pipeline.handler.filter.FilterException
 
find(Object, Class<?>, String) - Static method in class org.drasyl.util.TypeParameterMatcher
 
findSerializerFor(String) - Method in class org.drasyl.pipeline.serialization.Serialization
Returns the configured Serializer for the given clazzName.
first() - Method in class org.drasyl.util.Pair
 
first() - Method in class org.drasyl.util.Triple
 
firstElement(Set<E>) - Static method in class org.drasyl.util.SetUtil
Returns the first element from set set.
FloatSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Float objects.
FloatSerializer() - Constructor for class org.drasyl.serialization.FloatSerializer
 
format(String) - Method in class org.drasyl.util.Ansi
 
format(String, Object...) - Method in class org.drasyl.util.Ansi
 
forNumber(int) - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
 
forNumber(int) - Static method in enum org.drasyl.remote.protocol.Protocol.Unite.AddressCase
 
from(short) - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
from(short) - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
fromByteArray(byte[], Class<T>) - Method in class org.drasyl.serialization.DisabledSerializer
 
fromByteArray(byte[], Class<T>) - Method in class org.drasyl.serialization.JacksonJsonSerializer
 
fromByteArray(byte[], Class<T>) - Method in class org.drasyl.serialization.NullSerializer
 
fromByteArray(byte[], Class<T>) - Method in interface org.drasyl.serialization.Serializer
Produces an object of type T from an array of bytes.
fromByteArray(byte[], String) - Method in interface org.drasyl.serialization.Serializer
 
fromString(String) - Static method in class org.drasyl.crypto.HexUtil
Converts a Hexadecimal String into the corresponding byte[]
FutureCombiner - Class in org.drasyl.util
A future combiner monitors the outcome of a number of discrete futures, then notifies a final, aggregate future when all of the combined futures are finished.
FutureUtil - Class in org.drasyl.util
Utility class for future-related operations.

G

generateEphemeralKeyPair() - Method in class org.drasyl.crypto.Crypto
Generates a new curve25519 key pair for key exchange.
generateIdentity() - Static method in class org.drasyl.identity.IdentityManager
Generates a new random identity.
generateLongTimeKeyPair() - Method in class org.drasyl.crypto.Crypto
Generates a new ed25519 key pair for signing and on-demand encryption.
generateProofOfWork(Key, byte) - Static method in class org.drasyl.identity.ProofOfWork
 
generateSessionKeyPair(KeyPair<P, S>, PublicKey) - Method in class org.drasyl.crypto.Crypto
Generates session key pair from the myKeyPair and receiverKeyPair.
get() - Static method in class org.drasyl.crypto.loader.DrasylSharedLibraryLoader
Get an instance of the loader.
get() - Method in interface org.drasyl.util.ThrowingSupplier
Gets a result.
get() - Method in class org.drasyl.util.Worm
If a value is present, returns the value, otherwise throws NoSuchElementException.
get(Class<?>) - Static method in class org.drasyl.util.TypeParameterMatcher
 
get(String) - Method in class org.drasyl.pipeline.AbstractPipeline
 
get(String) - Method in interface org.drasyl.pipeline.Pipeline
Returns the Handler with the specified name in this pipeline.
getAddress() - Method in class org.drasyl.identity.Identity
Returns the address for this identity.
getAddress() - Method in class org.drasyl.remote.handler.InternetDiscovery.Ping
 
getAddressCase() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
getAddressCase() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
getAddressCase() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
 
getAddresses() - Static method in class org.drasyl.util.network.NetworkUtil
Returns a list of the IP addresses of all network interfaces of the local computer.
getAddressV4() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
4 bytes fix
getAddressV4() - Method in class org.drasyl.remote.protocol.Protocol.Unite
4 bytes fix
getAddressV4() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
4 bytes fix
getAddressV6() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
16 bytes fix
getAddressV6() - Method in class org.drasyl.remote.protocol.Protocol.Unite
16 bytes fix
getAddressV6() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
16 bytes fix
getAgreementId() - Method in class org.drasyl.remote.handler.crypto.Agreement
 
getAgreementId() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
32 bytes fix (SHA-256 hash of both public key agreement keys)
getAgreementId() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
32 bytes fix (SHA-256 hash of both public key agreement keys)
getAgreementId() - Method in interface org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgementOrBuilder
32 bytes fix (SHA-256 hash of both public key agreement keys)
getAgreementId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
32 bytes fix (SHA-256 hash of both public key agreement keys)
getAgreementId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
32 bytes fix (SHA-256 hash of both public key agreement keys)
getAgreementId() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
32 bytes fix (SHA-256 hash of both public key agreement keys)
getAgreementId() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
getBestDatagramChannel() - Static method in class org.drasyl.util.NettyUtil
Returns the DatagramChannel that fits best to the current environment.
getBestEventLoopGroup(int) - Static method in class org.drasyl.util.NettyUtil
Returns the EventLoopGroup that fits best to the current environment.
getBestServerSocketChannel() - Static method in class org.drasyl.util.NettyUtil
Returns the ServerSocketChannel that fits best to the current environment.
getBestSocketChannel() - Static method in class org.drasyl.util.NettyUtil
Returns the SocketChannel that fits best to the current environment.
getBody() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Reads only the body of the given message and retains the underlying byte representation of the full message.
getBodyAndRelease() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Reads only the body of the given message and releases the underlying byte representation of the full message.
getByte(Config, String) - Static method in class org.drasyl.DrasylConfig
Gets the byte at the given path.
getBytes() - Method in interface org.drasyl.identity.Key
 
getChildren() - Method in class org.drasyl.peer.PeersManager
 
getChildrenTime() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
uint64 childrenTime = 1;
getChildrenTime() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
uint64 childrenTime = 1;
getChildrenTime() - Method in interface org.drasyl.remote.protocol.Protocol.DiscoveryOrBuilder
uint64 childrenTime = 1;
getChunkNo() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 2 bytes (by definition, only values up to 65535 are allowed)
getChunkNo() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
up to 2 bytes (by definition, only values up to 65535 are allowed)
getChunkNo() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
up to 2 bytes (by definition, only values up to 65535 are allowed)
getChunkNo() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Returns the number of the chunk.
getClassesToRegister() - Static method in class org.drasyl.crypto.loader.DrasylSodiumJava
 
getConfig() - Method in class org.drasyl.plugin.PluginEnvironment
 
getContent() - Method in interface org.drasyl.pipeline.message.AddressedEnvelope
Returns the message wrapped by this envelope message.
getContent() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
 
getControlUrl() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
 
getCorrespondingId() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
24 bytes fix from previous nonce
getCorrespondingId() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
24 bytes fix from previous nonce
getCorrespondingId() - Method in interface org.drasyl.remote.protocol.Protocol.AcknowledgementOrBuilder
24 bytes fix from previous nonce
getCurrentActiveAgreement() - Method in class org.drasyl.remote.handler.crypto.Session
 
getCurrentInactiveAgreement() - Method in class org.drasyl.remote.handler.crypto.Session
 
getDefaultGateway() - Static method in class org.drasyl.util.network.NetworkUtil
 
getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Application
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
getDefaultInterface() - Static method in class org.drasyl.util.network.NetworkUtil
Returns the default network interface of this system.
getDescription() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
getDescriptor() - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
getDescriptorForType() - Method in enum org.drasyl.remote.protocol.Protocol.MessageType
 
getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
getDifficulty(ProofOfWork, IdentityPublicKey) - Static method in class org.drasyl.identity.ProofOfWork
 
getEndpoint(Config, String) - Static method in class org.drasyl.DrasylConfig
 
getEndpointSet(Config, String) - Static method in class org.drasyl.DrasylConfig
 
getEpochTime() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getError() - Method in class org.drasyl.event.InboundExceptionEvent
Returns the exception why the message could not be processed.
getError() - Method in class org.drasyl.event.NodeUnrecoverableErrorEvent
Returns the exception that crashed the node.
getErrorCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
 
getErrorCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
 
getExecutor() - Method in class org.drasyl.util.scheduler.DrasylSchedulerUtil.DrasylExecutor
 
getExternalAddress() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
 
getExternalIpAddress(URI, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
getExternalIPv4Address() - Static method in class org.drasyl.util.network.NetworkUtil
Determines the external IPv4 address.
getExternalIPv6Address() - Static method in class org.drasyl.util.network.NetworkUtil
Determines the external IPv6 address.
getExternalPort() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
 
getExternalSuggestedAddress() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getExternalSuggestedPort() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getHopCount() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
1 byte fix (by definition, only values between 1 and 127 are allowed)
getHopCount() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
1 byte fix (by definition, only values between 1 and 127 are allowed)
getHopCount() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
1 byte fix (by definition, only values between 1 and 127 are allowed)
getHopCount() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
getHost() - Method in class org.drasyl.peer.Endpoint
Returns the hostname of this endpoint.
getId() - Method in class org.drasyl.remote.handler.crypto.AgreementId
 
getIdentity() - Method in class org.drasyl.event.Node
Returns the node's identity.
getIdentity() - Method in class org.drasyl.identity.IdentityManager
 
getIdentity() - Method in class org.drasyl.plugin.PluginEnvironment
 
getIdentityKeyPair() - Method in class org.drasyl.identity.Identity
 
getIdentityPath() - Method in class org.drasyl.DrasylConfig
 
getIdentityPrivateKey() - Method in class org.drasyl.identity.IdentityManager
 
getIdentityProofOfWork() - Method in class org.drasyl.DrasylConfig
 
getIdentityPublicKey() - Method in class org.drasyl.DrasylConfig
 
getIdentityPublicKey() - Method in class org.drasyl.event.Peer
Returns the peer's public key.
getIdentityPublicKey() - Method in class org.drasyl.identity.Identity
 
getIdentityPublicKey() - Method in class org.drasyl.identity.IdentityManager
 
getIdentityPublicKey() - Method in class org.drasyl.peer.Endpoint
Returns the IdentityPublicKey of this Endpoint.
getIdentityPublicKey(Config, String) - Static method in class org.drasyl.DrasylConfig
Gets the IdentityPublicKey at the given path.
getIdentitySecretKey() - Method in class org.drasyl.DrasylConfig
 
getIdentitySecretKey() - Method in class org.drasyl.identity.Identity
 
getIdentitySecretKey(Config, String) - Static method in class org.drasyl.DrasylConfig
Gets the IdentitySecretKey at the given path.
getInetAddress(Config, String) - Static method in class org.drasyl.DrasylConfig
 
getInetSocketAddress(Config, String) - Static method in class org.drasyl.DrasylConfig
 
getInitializedAgreements() - Method in class org.drasyl.remote.handler.crypto.Session
 
getInstance() - Static method in class org.drasyl.remote.handler.UdpMulticastServer
 
getInstance() - Static method in class org.drasyl.util.FutureCombiner
 
getInstanceBest() - Static method in class org.drasyl.util.EventLoopGroupUtil
Returns a EventLoopGroup that fits best to the current environment (epoll, kqueue, etc.).
getInstanceHeavy() - Static method in class org.drasyl.util.scheduler.DrasylSchedulerUtil
Use this DrasylScheduler for slow and heavy task that does do longer computations.
getInstanceLight() - Static method in class org.drasyl.util.scheduler.DrasylSchedulerUtil
Use this DrasylScheduler for fast and light task that does not do heavy computations.
getInstanceNio() - Static method in class org.drasyl.util.EventLoopGroupUtil
Returns a NioEventLoopGroup.
getInternalByteBuf() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
This method returns the internal wrapped ByteBuf of this RemoteEnvelope.
getInternalClient() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
 
getInternalPort() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
 
getInternalPort() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getInternalPort() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
 
getIpv4MappedIPv6AddressBytes(InetAddress) - Static method in class org.drasyl.util.network.NetworkUtil
 
getKeyAgreementKeyPair() - Method in class org.drasyl.identity.Identity
 
getKeyAgreementPublicKey() - Method in class org.drasyl.DrasylConfig
 
getKeyAgreementPublicKey() - Method in class org.drasyl.identity.Identity
 
getKeyAgreementPublicKey(Config, String) - Static method in class org.drasyl.DrasylConfig
Gets the KeyAgreementPublicKey at the given path.
getKeyAgreementSecretKey() - Method in class org.drasyl.DrasylConfig
 
getKeyAgreementSecretKey() - Method in class org.drasyl.identity.Identity
 
getKeyAgreementSecretKey(Config, String) - Static method in class org.drasyl.DrasylConfig
Gets the KeyAgreementSecretKey at the given path.
getKeyPair() - Method in class org.drasyl.remote.handler.crypto.Agreement
 
getLastKeyExchangeAt() - Method in class org.drasyl.remote.handler.crypto.Session
 
getLastRenewAttemptAt() - Method in class org.drasyl.remote.handler.crypto.Session
 
getLeaseDuration() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
 
getLifetime() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
 
getLifetime() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getLocalAddress() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
 
getLocalAddressForRemoteAddress(InetSocketAddress) - Static method in class org.drasyl.util.network.NetworkUtil
Establishes a connection to remoteAddress and returns the local address used for it.If an error occurs, null is returned.
getLocalHostName() - Static method in class org.drasyl.util.network.NetworkUtil
Returns the local host name.
getLocation() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
 
getLogger(Class<?>) - Static method in class org.drasyl.util.logging.LoggerFactory
Creates a new logger with name of specified clazz.
getLogger(String) - Static method in class org.drasyl.util.logging.LoggerFactory
Creates a new logger with specified name.
getLongTimeAgreementId() - Method in class org.drasyl.remote.handler.crypto.Session
 
getLongTimeAgreementPair() - Method in class org.drasyl.remote.handler.crypto.Session
 
getLongTimeKeyAgreementKey() - Method in class org.drasyl.identity.IdentityPublicKey
 
getMappingNonce() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getMessageBufferSize() - Method in class org.drasyl.DrasylConfig
 
getMonitoringHostTag() - Method in class org.drasyl.DrasylConfig
 
getMonitoringInfluxDatabase() - Method in class org.drasyl.DrasylConfig
 
getMonitoringInfluxPassword() - Method in class org.drasyl.DrasylConfig
 
getMonitoringInfluxReportingFrequency() - Method in class org.drasyl.DrasylConfig
 
getMonitoringInfluxUri() - Method in class org.drasyl.DrasylConfig
 
getMonitoringInfluxUser() - Method in class org.drasyl.DrasylConfig
 
getNetworkId() - Method in class org.drasyl.DrasylConfig
 
getNetworkId() - Method in class org.drasyl.peer.Endpoint
Returns the network id of this endpoint.
getNetworkId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 4 bytes
getNetworkId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
up to 4 bytes
getNetworkId() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
up to 4 bytes
getNetworkId() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
getNetworkPrefixLength(InetAddress) - Static method in class org.drasyl.util.network.NetworkUtil
Returns the network prefix length for given address.
getNewConnectionStatus() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
 
getNewExternalIpAddress() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
 
getNode() - Method in interface org.drasyl.event.NodeEvent
Returns the node to which this event refers.
getNonce() - Method in class org.drasyl.identity.ProofOfWork
 
getNonce() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
24 bytes fix
getNonce() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
24 bytes fix
getNonce() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
24 bytes fix
getNonce() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
getNumber() - Method in enum org.drasyl.remote.protocol.Protocol.MessageType
 
getNumber() - Method in enum org.drasyl.remote.protocol.Protocol.Unite.AddressCase
 
getNumber() - Method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
getNumber() - Method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
getOrBuildByteBuf() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
The external ByteBuf or if null builds it first.
getOrCompute(Supplier<T>) - Method in class org.drasyl.util.Worm
If no value has been set yet, it will be set to the return of supplier.
getOrSet(T) - Method in class org.drasyl.util.Worm
If no value has been set yet, it will be set to value.
getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.Application
 
getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
getPath(Config, String) - Static method in class org.drasyl.DrasylConfig
Gets the Path at the given path.
getPaths(IdentityPublicKey) - Method in class org.drasyl.peer.PeersManager
 
getPayload() - Method in class org.drasyl.event.MessageEvent
Returns the message's payload.
getPayload() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
bytes payload = 1;
getPayload() - Method in class org.drasyl.remote.protocol.Protocol.Application
bytes payload = 1;
getPayload() - Method in interface org.drasyl.remote.protocol.Protocol.ApplicationOrBuilder
bytes payload = 1;
getPeer() - Method in interface org.drasyl.event.PeerEvent
Returns the peer to which this event refers.
getPeers() - Method in class org.drasyl.peer.PeersManager
 
getPingTime() - Method in class org.drasyl.remote.handler.InternetDiscovery.Ping
 
getPipeline() - Method in class org.drasyl.plugin.PluginEnvironment
 
getPlugins() - Method in class org.drasyl.DrasylConfig
 
getPlugins(Config, String) - Static method in class org.drasyl.DrasylConfig
 
getPort() - Method in class org.drasyl.event.Node
Returns the node's server port.
getPort() - Method in class org.drasyl.peer.Endpoint
Returns the port of this endpoint.
getPort() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
2 bytes fix
getPort() - Method in class org.drasyl.remote.protocol.Protocol.Unite
2 bytes fix
getPort() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
2 bytes fix
getPrivateHeader() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Reads only the (private) header of the given message and retains the underlying byte representation of the full message.
getProofOfWork() - Method in class org.drasyl.identity.Identity
 
getProofOfWork() - Method in class org.drasyl.identity.IdentityManager
 
getProofOfWork() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 4 bytes
getProofOfWork() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
up to 4 bytes
getProofOfWork() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
up to 4 bytes
getProofOfWork() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
getProofOfWork(Config, String) - Static method in class org.drasyl.DrasylConfig
Gets the ProofOfWork at the given path.
getProtocol() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getPublicHeader() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Reads only the public header of the given message and retains the underlying byte representation of the full message.
getPublicHeaderAndRemainingBytes() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Reads the public header of the given message and returns a ByteBuf with all remaining bytes.
getPublicKey() - Method in class org.drasyl.identity.KeyPair
 
getPublicKey() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
33 bytes fix
getPublicKey() - Method in class org.drasyl.remote.protocol.Protocol.Unite
33 bytes fix
getPublicKey() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
33 bytes fix
getQueryMap(URI) - Static method in class org.drasyl.util.UriUtil
Returns the query parameters of the given uri or an empty map if the query is null.
getQueueSize() - Static method in class org.drasyl.util.scheduler.DrasylSchedulerUtil.DrasylExecutor
 
getRecipient() - Method in interface org.drasyl.pipeline.message.AddressedEnvelope
Returns this message's recipient.
getRecipient() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
 
getRecipient() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
32 bytes fix
getRecipient() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
32 bytes fix
getRecipient() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
32 bytes fix
getRecipient() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Returns the IdentityPublicKey of the message recipient.
getRecipientsKeyAgreementKey() - Method in class org.drasyl.remote.handler.crypto.Agreement
 
getRemoteBindHost() - Method in class org.drasyl.DrasylConfig
 
getRemoteBindPort() - Method in class org.drasyl.DrasylConfig
 
getRemoteEndpoints() - Method in class org.drasyl.DrasylConfig
 
getRemoteLocalHostDiscoveryLeaseTime() - Method in class org.drasyl.DrasylConfig
 
getRemoteLocalHostDiscoveryPath() - Method in class org.drasyl.DrasylConfig
 
getRemoteMessageArmSessionExpireAfter() - Method in class org.drasyl.DrasylConfig
 
getRemoteMessageArmSessionMaxAgreements() - Method in class org.drasyl.DrasylConfig
 
getRemoteMessageArmSessionMaxCount() - Method in class org.drasyl.DrasylConfig
 
getRemoteMessageArmSessionRetryInterval() - Method in class org.drasyl.DrasylConfig
 
getRemoteMessageComposedMessageTransferTimeout() - Method in class org.drasyl.DrasylConfig
 
getRemoteMessageHopLimit() - Method in class org.drasyl.DrasylConfig
 
getRemoteMessageMaxContentLength() - Method in class org.drasyl.DrasylConfig
 
getRemoteMessageMtu() - Method in class org.drasyl.DrasylConfig
 
getRemotePingCommunicationTimeout() - Method in class org.drasyl.DrasylConfig
 
getRemotePingInterval() - Method in class org.drasyl.DrasylConfig
 
getRemotePingMaxPeers() - Method in class org.drasyl.DrasylConfig
 
getRemotePingTimeout() - Method in class org.drasyl.DrasylConfig
 
getRemoteStaticRoutes() - Method in class org.drasyl.DrasylConfig
 
getRemoteSuperPeerEndpoints() - Method in class org.drasyl.DrasylConfig
 
getRemoteTcpFallbackClientAddress() - Method in class org.drasyl.DrasylConfig
 
getRemoteTcpFallbackClientTimeout() - Method in class org.drasyl.DrasylConfig
 
getRemoteTcpFallbackServerBindHost() - Method in class org.drasyl.DrasylConfig
 
getRemoteTcpFallbackServerBindPort() - Method in class org.drasyl.DrasylConfig
 
getRemoteUniteMinInterval() - Method in class org.drasyl.DrasylConfig
 
getScheduler() - Method in class org.drasyl.util.scheduler.DrasylSchedulerUtil.DrasylExecutor
 
getSecondsSinceStartOfEpoch() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
 
getSecondsSinceStartOfEpoch() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
 
getSecretKey() - Method in class org.drasyl.identity.KeyPair
 
getSender() - Method in class org.drasyl.event.MessageEvent
Returns the message's sender.
getSender() - Method in interface org.drasyl.pipeline.message.AddressedEnvelope
Returns this message's sender.
getSender() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
 
getSender() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
32 bytes fix
getSender() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
32 bytes fix
getSender() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
32 bytes fix
getSender() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
getSerializationBindings(Config, String, Collection<String>) - Static method in class org.drasyl.DrasylConfig
 
getSerializationsBindingsInbound() - Method in class org.drasyl.DrasylConfig
 
getSerializationsBindingsOutbound() - Method in class org.drasyl.DrasylConfig
 
getSerializationSerializers() - Method in class org.drasyl.DrasylConfig
 
getSerializationSerializers(Config, String) - Static method in class org.drasyl.DrasylConfig
 
getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.Application
 
getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
getServiceType() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
 
getServiceType() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
 
getSessionKey() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
32 bytes fix
getSessionKey() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
32 bytes fix
getSessionKey() - Method in interface org.drasyl.remote.protocol.Protocol.KeyExchangeOrBuilder
32 bytes fix
getSessionPair() - Method in class org.drasyl.remote.handler.crypto.Agreement
 
getShort(Config, String) - Static method in class org.drasyl.DrasylConfig
Gets the short at the given path.
getSodium() - Method in class org.drasyl.crypto.Crypto
Is only for internal usage.
getSodium() - Method in class org.drasyl.crypto.loader.DrasylLazySodiumJava
 
getSpecificPortMappingEntry(URI, String, Integer) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
getStaleAt() - Method in class org.drasyl.remote.handler.crypto.Agreement
 
getStaticRoutes(Config, String) - Static method in class org.drasyl.DrasylConfig
 
getStatusInfo(URI, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
getSuperPeers() - Method in class org.drasyl.peer.PeersManager
 
getTcpFallbackPort() - Method in class org.drasyl.event.Node
Returns the node's tcp fallback server port.
getThePathToTheJarWeAreIn(Class<?>) - Static method in class org.drasyl.crypto.loader.DrasylResourceLoader
Gets the base location of the given class.
getTotalChunks() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 2 bytes (by definition, only values up to 65535 are allowed)
getTotalChunks() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
up to 2 bytes (by definition, only values up to 65535 are allowed)
getTotalChunks() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
up to 2 bytes (by definition, only values up to 65535 are allowed)
getTotalChunks() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Returns the total chunks number.
getType() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
string type = 2;
getType() - Method in class org.drasyl.remote.protocol.Protocol.Application
string type = 2;
getType() - Method in interface org.drasyl.remote.protocol.Protocol.ApplicationOrBuilder
string type = 2;
getType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
.org.drasyl.remote.protocol.MessageType type = 1;
getType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
.org.drasyl.remote.protocol.MessageType type = 1;
getType() - Method in interface org.drasyl.remote.protocol.Protocol.PrivateHeaderOrBuilder
.org.drasyl.remote.protocol.MessageType type = 1;
getType() - Method in class org.drasyl.util.TypeParameterMatcher
 
getType() - Method in class org.drasyl.util.TypeReference
Gets the referenced type.
getTypeBytes() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
string type = 2;
getTypeBytes() - Method in class org.drasyl.remote.protocol.Protocol.Application
string type = 2;
getTypeBytes() - Method in interface org.drasyl.remote.protocol.Protocol.ApplicationOrBuilder
string type = 2;
getTypeValue() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
.org.drasyl.remote.protocol.MessageType type = 1;
getTypeValue() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
.org.drasyl.remote.protocol.MessageType type = 1;
getTypeValue() - Method in interface org.drasyl.remote.protocol.Protocol.PrivateHeaderOrBuilder
.org.drasyl.remote.protocol.MessageType type = 1;
getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.Application
 
getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
getUpnpService(URI) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
getURI() - Method in class org.drasyl.peer.Endpoint
Returns an URI representing this Endpoint.
getURI(Config, String) - Static method in class org.drasyl.DrasylConfig
Gets the URI at the given path.
getValue() - Method in class org.drasyl.util.ConcurrentReference
 
getValue() - Method in class org.drasyl.util.UnsignedInteger
 
getValue() - Method in class org.drasyl.util.UnsignedShort
 
getValueDescriptor() - Method in enum org.drasyl.remote.protocol.Protocol.MessageType
 
getVersion() - Static method in class org.drasyl.DrasylNode
Returns the version of the node.
green() - Method in class org.drasyl.util.Ansi
 
GREEN - org.drasyl.util.Ansi.Color
 

H

handleMessage(HandlerContext, InetSocketAddressWrapper, ByteBuf) - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
 
handleMessage(HandlerContext, InetSocketAddressWrapper, ByteBuf) - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
 
handleMessage(HandlerContext, InetSocketAddressWrapper, ByteBuf) - Method in interface org.drasyl.remote.handler.portmapper.PortMapping
Is called for incoming messages and thus enables this method to react to relevant messages.
handleMessage(HandlerContext, InetSocketAddressWrapper, ByteBuf) - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
 
handler() - Method in class org.drasyl.pipeline.DefaultHandlerContext
 
handler() - Method in interface org.drasyl.pipeline.HandlerContext
Returns the associated Handler.
Handler - Interface in org.drasyl.pipeline
Handles an I/O event or intercepts an I/O operation, and forwards it to its next handler in its Pipeline.
HandlerAdapter - Class in org.drasyl.pipeline.skeleton
Skeleton implementation of a Handler.
HandlerAdapter() - Constructor for class org.drasyl.pipeline.skeleton.HandlerAdapter
 
HandlerContext - Interface in org.drasyl.pipeline
Enables a Handler to interact with its Pipeline and other handlers.
HandlerMask - Class in org.drasyl.pipeline
Class to compute the mask of a given Handler.
handlerNames - Variable in class org.drasyl.pipeline.AbstractPipeline
 
hasAddressV4() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
4 bytes fix
hasAddressV4() - Method in class org.drasyl.remote.protocol.Protocol.Unite
4 bytes fix
hasAddressV4() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
4 bytes fix
hasAddressV6() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
16 bytes fix
hasAddressV6() - Method in class org.drasyl.remote.protocol.Protocol.Unite
16 bytes fix
hasAddressV6() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
16 bytes fix
hashCode() - Method in exception org.drasyl.DrasylException
 
hashCode() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
 
hashCode() - Method in class org.drasyl.plugin.PluginEnvironment
 
hashCode() - Method in class org.drasyl.remote.handler.crypto.AgreementId
 
hashCode() - Method in class org.drasyl.remote.handler.InternetDiscovery.Ping
 
hashCode() - Method in class org.drasyl.remote.protocol.Nonce
 
hashCode() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
hashCode() - Method in class org.drasyl.remote.protocol.Protocol.Application
 
hashCode() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
hashCode() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
hashCode() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
hashCode() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
hashCode() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
hashCode() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
hashCode() - Method in class org.drasyl.util.ConcurrentReference
 
hashCode() - Method in class org.drasyl.util.MaskedString
 
hashCode() - Method in class org.drasyl.util.Pair
 
hashCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
 
hashCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
 
hashCode() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
 
hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
 
hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
 
hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
 
hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
 
hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
 
hashCode() - Method in class org.drasyl.util.Triple
 
hashCode() - Method in class org.drasyl.util.UnsignedInteger
 
hashCode() - Method in class org.drasyl.util.UnsignedShort
 
hashCode() - Method in class org.drasyl.util.Worm
 
hashCode2Hex(HashCode) - Static method in class org.drasyl.crypto.Hashing
Converts the given HashCode into a hexadecimal string.
Hashing - Class in org.drasyl.crypto
Util class that provides hashing functions for drasyl.
hasPosixSupport(Path) - Static method in class org.drasyl.util.PathUtil
Check if path's file system supports POSIX.
head - Variable in class org.drasyl.pipeline.AbstractPipeline
 
HexUtil - Class in org.drasyl.crypto
Util class that provides hexadecimal functions for drasyl.
HOP_COUNT_GUARD - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
HOPCOUNT_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
HopCountGuard - Class in org.drasyl.remote.handler
This handler ensures that RemoteEnvelopes do not infinitely circulate in the network.
HTTP_HEADER_FIELD_SEPARATOR_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
HTTP_HEADER_SEPARATOR_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 

I

identity - Variable in class org.drasyl.pipeline.AbstractPipeline
 
identity() - Method in class org.drasyl.DrasylNode
Returns the Identity of this node.
identity() - Method in interface org.drasyl.pipeline.HandlerContext
Returns the identity of this node.
Identity - Class in org.drasyl.identity
Represents the private identity of a peer (includes the proof of work, the public and private key).
Identity() - Constructor for class org.drasyl.identity.Identity
 
IDENTITY_KEY_AGREEMENT_PUBLIC_KEY - Static variable in class org.drasyl.DrasylConfig
 
IDENTITY_KEY_AGREEMENT_SECRET_KEY - Static variable in class org.drasyl.DrasylConfig
 
IDENTITY_PATH - Static variable in class org.drasyl.DrasylConfig
 
IDENTITY_PROOF_OF_WORK - Static variable in class org.drasyl.DrasylConfig
 
IDENTITY_PUBLIC_KEY - Static variable in class org.drasyl.DrasylConfig
 
IDENTITY_SECRET_KEY - Static variable in class org.drasyl.DrasylConfig
 
IdentityManager - Class in org.drasyl.identity
This class holds the identity of the node.
IdentityManager(DrasylConfig) - Constructor for class org.drasyl.identity.IdentityManager
Manages the identity at the specified file path.
identityPath(Path) - Method in class org.drasyl.DrasylConfig.Builder
 
identityProofOfWork(ProofOfWork) - Method in class org.drasyl.DrasylConfig.Builder
 
identityPublicKey(IdentityPublicKey) - Method in class org.drasyl.DrasylConfig.Builder
 
IdentityPublicKey - Class in org.drasyl.identity
This class models a ed25519 public key that is used as node's unique overlay address.
IdentityPublicKey() - Constructor for class org.drasyl.identity.IdentityPublicKey
 
identitySecretKey(IdentitySecretKey) - Method in class org.drasyl.DrasylConfig.Builder
 
IdentitySecretKey - Class in org.drasyl.identity
This class models a ed25519 private key.
IdentitySecretKey() - Constructor for class org.drasyl.identity.IdentitySecretKey
 
ignore() - Static method in class org.drasyl.behaviour.Behaviors
A behavior that ignores every incoming message.
inboundEvents() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
InboundExceptionEvent - Class in org.drasyl.event
This event signals that the node was unable to process an inbound message.
InboundExceptionEvent() - Constructor for class org.drasyl.event.InboundExceptionEvent
 
InboundFilterException - Exception in org.drasyl.pipeline.handler.filter
An FilterException which is thrown by a decoder.
InboundFilterException() - Constructor for exception org.drasyl.pipeline.handler.filter.InboundFilterException
 
InboundFilterException(String) - Constructor for exception org.drasyl.pipeline.handler.filter.InboundFilterException
 
InboundFilterException(String, Throwable) - Constructor for exception org.drasyl.pipeline.handler.filter.InboundFilterException
 
InboundFilterException(Throwable) - Constructor for exception org.drasyl.pipeline.handler.filter.InboundFilterException
 
InboundMessageFilter<I,​A extends Address> - Class in org.drasyl.pipeline.handler.filter
This class provides the functionality to either accept or reject new inbound messages.
InboundMessageFilter() - Constructor for class org.drasyl.pipeline.handler.filter.InboundMessageFilter
 
inboundMessages() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
inboundMessages(Class<T>) - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
inboundMessages(TypeReference<T>) - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
inboundMessagesWithSender() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
inboundSerialization - Variable in class org.drasyl.pipeline.AbstractPipeline
 
inboundSerialization() - Method in interface org.drasyl.pipeline.HandlerContext
Returns the inbound Serialization of this pipeline.
incNonce() - Method in class org.drasyl.identity.ProofOfWork
 
increment() - Method in class org.drasyl.util.UnsignedInteger
 
increment() - Method in class org.drasyl.util.UnsignedShort
 
incrementHopCount() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
independentScheduler - Variable in class org.drasyl.pipeline.AbstractPipeline
 
independentScheduler() - Method in interface org.drasyl.pipeline.HandlerContext
Implementation Note: This method must always return a scheduler, that differs from the normal pipeline scheduler.
InetSocketAddressUtil - Class in org.drasyl.util
Utility class for operations on URLs.
InetSocketAddressWrapper - Class in org.drasyl.pipeline.address
A InetSocketAddress that can be used as an Address in the Pipeline.
InetSocketAddressWrapper(int) - Constructor for class org.drasyl.pipeline.address.InetSocketAddressWrapper
Creates a socket address where the IP address is the wildcard address and the port number a specified value.
InetSocketAddressWrapper(String, int) - Constructor for class org.drasyl.pipeline.address.InetSocketAddressWrapper
Creates a socket address from a hostname and a port number.
InetSocketAddressWrapper(InetAddress, int) - Constructor for class org.drasyl.pipeline.address.InetSocketAddressWrapper
Creates a socket address from an IP address and a port number.
InetSocketAddressWrapper(InetSocketAddress) - Constructor for class org.drasyl.pipeline.address.InetSocketAddressWrapper
Converts a address to an InetSocketAddress
info(String) - Method in class org.drasyl.util.logging.JdkLogger
 
info(String) - Method in interface org.drasyl.util.logging.Logger
Log a message at the INFO level.
info(String) - Method in class org.drasyl.util.logging.Slf4JLogger
 
info(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
info(String, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the INFO level according to the specified format and argument.
info(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
info(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
 
info(String, Object...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the INFO level according to the specified format and arguments.
info(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
 
info(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
info(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the INFO level according to the specified format and arguments.
info(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
info(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
 
info(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the INFO level with an accompanying message.
info(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
 
info(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the INFO level according to the specified format and argument supplier.
info(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the INFO level according to the specified format and argument suppliers.
info(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the INFO level according to the specified format and argument suppliers.
info(Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the INFO level.
INFO - org.drasyl.util.logging.LogLevel
 
initPointer() - Method in class org.drasyl.pipeline.AbstractPipeline
 
INSTANCE - Static variable in class org.drasyl.crypto.Crypto
 
INSTANCE - Static variable in class org.drasyl.intravm.IntraVmDiscovery
 
INSTANCE - Static variable in class org.drasyl.pipeline.serialization.MessageSerializer
 
INSTANCE - Static variable in class org.drasyl.remote.handler.HopCountGuard
 
INSTANCE - Static variable in class org.drasyl.remote.handler.InvalidProofOfWorkFilter
 
INSTANCE - Static variable in class org.drasyl.remote.handler.OtherNetworkFilter
 
INSTANCE - Static variable in class org.drasyl.remote.handler.RemoteEnvelopeToByteBufCodec
 
INSTANCE - Static variable in class org.drasyl.remote.handler.StaticRoutesHandler
 
INSTANCE - Static variable in class org.drasyl.util.logging.JdkLoggerFactory
 
INSTANCE - Static variable in class org.drasyl.util.scheduler.EmptyDisposable
 
IntegerSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Integer objects.
IntegerSerializer() - Constructor for class org.drasyl.serialization.IntegerSerializer
 
intern() - Method in class org.drasyl.identity.IdentityPublicKey
intern() - Method in class org.drasyl.identity.IdentitySecretKey
intern() - Method in class org.drasyl.identity.KeyAgreementPublicKey
intern() - Method in class org.drasyl.identity.KeyAgreementSecretKey
intern(T) - Method in class org.drasyl.util.InternPool
Returns a canonical representation for the object.
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Application
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
internalGetValueMap() - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
 
INTERNET_DISCOVERY - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
InternetDiscovery - Class in org.drasyl.remote.handler
This handler performs the following tasks, which help to communicate with nodes located in other networks: Joins one or more super peers or acts itself as a super peer (super peers act as registries of available nodes on the network.
InternetDiscovery(DrasylConfig) - Constructor for class org.drasyl.remote.handler.InternetDiscovery
 
InternetDiscovery.Ping - Class in org.drasyl.remote.handler
 
InternPool<T> - Class in org.drasyl.util
Represents a pool of unique objects of type T.
InternPool() - Constructor for class org.drasyl.util.InternPool
 
INTERVAL - Static variable in class org.drasyl.pipeline.handler.MessagesThroughputHandler
 
INTRA_VM_DISCOVERY - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
INTRA_VM_DISCOVERY_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
IntraVmDiscovery - Class in org.drasyl.intravm
Uses shared memory to discover other drasyl nodes running on same JVM.
intraVmDiscoveryEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
intValue() - Method in class org.drasyl.identity.ProofOfWork
Returns the value of this ProofOfWork as an int.
INVALID_PROOF_OF_WORK_FILTER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
InvalidMessageFormatException - Exception in org.drasyl.remote.protocol
This exception is thrown when reading a RemoteEnvelope fails due to an invalid format.
InvalidMessageFormatException() - Constructor for exception org.drasyl.remote.protocol.InvalidMessageFormatException
 
InvalidMessageFormatException(String) - Constructor for exception org.drasyl.remote.protocol.InvalidMessageFormatException
 
InvalidMessageFormatException(String, Throwable) - Constructor for exception org.drasyl.remote.protocol.InvalidMessageFormatException
 
InvalidMessageFormatException(Throwable) - Constructor for exception org.drasyl.remote.protocol.InvalidMessageFormatException
 
InvalidProofOfWorkFilter - Class in org.drasyl.remote.handler
This handler filters out all messages received with invalid proof of work.
irrevocablyTerminate() - Static method in class org.drasyl.DrasylNode
Deprecated, for removal: This API element is subject to removal in a future version.
isCalledFromThisScheduler() - Method in class org.drasyl.util.scheduler.DrasylScheduler
This method returns true if the method was called from this scheduler.
isChunk() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
Returns true if this message is a chunk.
isConnected() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
 
isDebugEnabled() - Method in class org.drasyl.util.logging.JdkLogger
 
isDebugEnabled() - Method in interface org.drasyl.util.logging.Logger
Is the logger instance enabled for the DEBUG level?
isDebugEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
 
isEmpty() - Method in class org.drasyl.util.Worm
If a value is not present, returns true, otherwise false.
isEnabled(LogLevel) - Method in interface org.drasyl.util.logging.Logger
Is the logger instance enabled for the specified level?
isErrorEnabled() - Method in class org.drasyl.util.logging.JdkLogger
 
isErrorEnabled() - Method in interface org.drasyl.util.logging.Logger
Is the logger instance enabled for the ERROR level?
isErrorEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
 
isInfoEnabled() - Method in class org.drasyl.util.logging.JdkLogger
 
isInfoEnabled() - Method in interface org.drasyl.util.logging.Logger
Is the logger instance enabled for the INFO level?
isInfoEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
 
isInitialized() - Method in class org.drasyl.remote.handler.crypto.Agreement
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Application
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
isIntraVmDiscoveryEnabled() - Method in class org.drasyl.DrasylConfig
 
isMonitoringEnabled() - Method in class org.drasyl.DrasylConfig
 
isPosixCompliant() - Method in class org.drasyl.crypto.loader.DrasylResourceLoader
Is the system we're running on Posix compliant?
isPreferDirect() - Method in class org.drasyl.pipeline.handler.codec.MessageToByteEncoder
 
isPresent() - Method in class org.drasyl.util.Worm
If a value is present, returns true, otherwise false.
isRemoteEnabled() - Method in class org.drasyl.DrasylConfig
 
isRemoteExposeEnabled() - Method in class org.drasyl.DrasylConfig
 
isRemoteLocalHostDiscoveryEnabled() - Method in class org.drasyl.DrasylConfig
 
isRemoteLocalHostDiscoveryWatchEnabled() - Method in class org.drasyl.DrasylConfig
 
isRemoteLocalNetworkDiscoveryEnabled() - Method in class org.drasyl.DrasylConfig
 
isRemoteMessageArmEnabled() - Method in class org.drasyl.DrasylConfig
 
isRemoteSuperPeerEnabled() - Method in class org.drasyl.DrasylConfig
 
isRemoteTcpFallbackEnabled() - Method in class org.drasyl.DrasylConfig
 
isRenewable() - Method in class org.drasyl.remote.handler.crypto.Agreement
 
isStale() - Method in class org.drasyl.remote.handler.crypto.Agreement
 
isTraceEnabled() - Method in class org.drasyl.util.logging.JdkLogger
 
isTraceEnabled() - Method in interface org.drasyl.util.logging.Logger
Is the logger instance enabled for the TRACE level?
isTraceEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
 
isValid() - Method in class org.drasyl.identity.Identity
Validates the identity by checking whether the proof of work matches the public key.
isValid(Key, byte) - Method in class org.drasyl.identity.ProofOfWork
Checks if the current proof of work is valid for given public key and difficulty.
isValidNonce(ByteString) - Static method in class org.drasyl.remote.protocol.Nonce
Checks if bytes is a valid value.
isValidNonSpecialIPAddress(InetAddress) - Static method in class org.drasyl.util.network.NetworkUtil
Check if the given address is a normal IP address that is neither a loopback, link local nor multicast address.
isValidPort(int) - Static method in class org.drasyl.util.network.NetworkUtil
Checks if a port is valid or not.
isWarnEnabled() - Method in class org.drasyl.util.logging.JdkLogger
 
isWarnEnabled() - Method in interface org.drasyl.util.logging.Logger
Is the logger instance enabled for the WARN level?
isWarnEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
 
isWebSocketNonSecureURI(URI) - Static method in class org.drasyl.util.WebSocketUtil
 
isWebSocketSecureURI(URI) - Static method in class org.drasyl.util.WebSocketUtil
 
isWebSocketURI(URI) - Static method in class org.drasyl.util.WebSocketUtil
 
isWritable() - Method in class org.drasyl.pipeline.AbstractPipeline
 
isWritable() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
isWritable() - Method in interface org.drasyl.pipeline.Pipeline
Returns true if the pipeline accepts new outbound messages for processing.
italic() - Method in class org.drasyl.util.Ansi
 

J

JACKSON_MAPPER - Static variable in class org.drasyl.util.JSONUtil
 
JACKSON_READER - Static variable in class org.drasyl.util.JSONUtil
 
JACKSON_WRITER - Static variable in class org.drasyl.util.JSONUtil
 
JacksonJsonSerializer - Class in org.drasyl.serialization
A serializer based on the Jackson Library for converting java objects to and from JSON.
JacksonJsonSerializer() - Constructor for class org.drasyl.serialization.JacksonJsonSerializer
 
JacksonJsonSerializer.BytesToHexStringDeserializer - Class in org.drasyl.serialization
Deserializes a given hexadecimal string to byte array.
JacksonJsonSerializer.BytesToHexStringSerializer - Class in org.drasyl.serialization
Serializes a given byte array as hexadecimal string.
JavaSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Serializable objects.
JavaSerializer() - Constructor for class org.drasyl.serialization.JavaSerializer
 
javaVersion() - Static method in class org.drasyl.util.PlatformDependent
Returns the Java version.
JdkLogger - Class in org.drasyl.util.logging
JdkLogger(Logger) - Constructor for class org.drasyl.util.logging.JdkLogger
 
JdkLoggerFactory - Class in org.drasyl.util.logging
Logger factory which creates a java.util.logging logger.
JSONUtil - Class in org.drasyl.util
Holder for the JSON serializer and JSON deserializer.

K

Key - Interface in org.drasyl.identity
 
KEY_EXCHANGE - org.drasyl.remote.protocol.Protocol.MessageType
KEY_EXCHANGE = 4;
KEY_EXCHANGE_ACKNOWLEDGEMENT - org.drasyl.remote.protocol.Protocol.MessageType
KEY_EXCHANGE_ACKNOWLEDGEMENT = 5;
KEY_EXCHANGE_ACKNOWLEDGEMENT_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
KEY_EXCHANGE_ACKNOWLEDGEMENT = 5;
KEY_EXCHANGE_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
KEY_EXCHANGE = 4;
KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.IdentityPublicKey
 
KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.IdentitySecretKey
 
KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.KeyAgreementPublicKey
 
KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.KeyAgreementSecretKey
 
KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.IdentityPublicKey
 
KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.IdentitySecretKey
 
KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.KeyAgreementPublicKey
 
KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.KeyAgreementSecretKey
 
keyAgreementPublicKey(KeyAgreementPublicKey) - Method in class org.drasyl.DrasylConfig.Builder
 
KeyAgreementPublicKey - Class in org.drasyl.identity
This class models a curve25519 public key that is used for x25519 key exchange.
KeyAgreementPublicKey() - Constructor for class org.drasyl.identity.KeyAgreementPublicKey
 
keyAgreementSecretKey(KeyAgreementSecretKey) - Method in class org.drasyl.DrasylConfig.Builder
 
KeyAgreementSecretKey - Class in org.drasyl.identity
This class models a curve25519 private key that is used for x25519 key exchange.
KeyAgreementSecretKey() - Constructor for class org.drasyl.identity.KeyAgreementSecretKey
 
keyExchange(int, IdentityPublicKey, ProofOfWork, IdentityPublicKey, KeyAgreementPublicKey) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates a new Protocol.KeyExchange message (sent by ArmHandler; used for perfect forwarded secrecy).
keyExchangeAcknowledgement(int, IdentityPublicKey, ProofOfWork, IdentityPublicKey, AgreementId) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates a new Protocol.KeyExchangeAcknowledgement message (sent by ArmHandler; used for perfect forwarded secrecy).
KeyPair<P extends PublicKey,​S extends SecretKey> - Class in org.drasyl.identity
This class is a simple holder for a key pair (a IdentityPublicKey and a IdentitySecretKey).
KeyPair() - Constructor for class org.drasyl.identity.KeyPair
 

L

LIFETIME_LENGTH - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
LIFETIME_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
load(String, Class) - Method in class org.drasyl.crypto.loader.DrasylSharedLibraryLoader
 
load(String, List<Class>) - Method in class org.drasyl.crypto.loader.DrasylSharedLibraryLoader
 
loadLibrary(LibraryLoader.Mode, String) - Method in class org.drasyl.crypto.loader.DrasylLibraryLoader
 
loadOrCreateIdentity() - Method in class org.drasyl.identity.IdentityManager
Attempts to load the identity defined in the configuration: First it tries to read the key pair directly from the configuration.
loadSystemLibrary(String) - Method in class org.drasyl.crypto.loader.DrasylLibraryLoader
 
loadSystemLibrary(String, Class) - Method in class org.drasyl.crypto.loader.DrasylSharedLibraryLoader
 
loadSystemLibrary(String, List<Class>) - Method in class org.drasyl.crypto.loader.DrasylSharedLibraryLoader
 
LOCAL_ADDRESS_FOR_REMOTE_TIMEOUT - Static variable in class org.drasyl.util.network.NetworkUtil
 
LOCAL_HOST_DISCOVERY - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
LOCAL_NETWORK_DISCOVER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
LocalHostDiscovery - Class in org.drasyl.localhost
Uses the file system to discover other drasyl nodes running on the local computer.
LocalHostDiscovery() - Constructor for class org.drasyl.localhost.LocalHostDiscovery
 
LocalNetworkDiscovery - Class in org.drasyl.remote.handler
This handler, along with the UdpMulticastServer, is used to discover other nodes on the local network.
LocalNetworkDiscovery() - Constructor for class org.drasyl.remote.handler.LocalNetworkDiscovery
 
LocalNetworkDiscovery(Map<IdentityPublicKey, LocalNetworkDiscovery.Peer>, Disposable) - Constructor for class org.drasyl.remote.handler.LocalNetworkDiscovery
 
log() - Method in class org.drasyl.pipeline.AbstractPipeline
 
log() - Method in class org.drasyl.pipeline.DefaultHandlerContext
 
log() - Method in class org.drasyl.pipeline.DrasylPipeline
 
log() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
log(LogLevel, String) - Method in interface org.drasyl.util.logging.Logger
Log a message at the specified level level.
log(LogLevel, String, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the specified level level according to the specified format and argument.
log(LogLevel, String, Object...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the specified level level according to the specified format and arguments.
log(LogLevel, String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the specified level level according to the specified format and arguments.
log(LogLevel, String, Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the specified level level with an accompanying message.
log(LogLevel, String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the specified level level according to the specified format and argument supplier.
log(LogLevel, String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the specified level level according to the specified format and argument suppliers.
log(LogLevel, String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the specified level level according to the specified format and argument suppliers.
log(LogLevel, Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the specified level level.
Logger - Interface in org.drasyl.util.logging
 
LoggerFactory - Class in org.drasyl.util.logging
Provides loggers.
LoggerFactory() - Constructor for class org.drasyl.util.logging.LoggerFactory
 
LoggingScheduler - Class in org.drasyl.util.scheduler
A DrasylScheduler that logs all tasks via Logger.
LoggingScheduler(Scheduler, String) - Constructor for class org.drasyl.util.scheduler.LoggingScheduler
 
LoggingUtil - Class in org.drasyl.util
Utility class for logging-related operations.
LogLevel - Enum in org.drasyl.util.logging
Defines the set of logging levels.
LongSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Long objects.
LongSerializer() - Constructor for class org.drasyl.serialization.LongSerializer
 
LongTimeEncryptionEvent - Class in org.drasyl.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.event.LongTimeEncryptionEvent
 
LOOPBACK_MESSAGE_HANDLER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
LoopbackMessageHandler - Class in org.drasyl.loopback.handler
This handler converts outgoing messages addressed to the local node to incoming messages addressed to the local node.
LoopbackMessageHandler() - Constructor for class org.drasyl.loopback.handler.LoopbackMessageHandler
 

M

MAGENTA - org.drasyl.util.Ansi.Color
 
MAGIC_NUMBER - Static variable in class org.drasyl.remote.protocol.RemoteEnvelope
 
MAGIC_NUMBER_LENGTH - Static variable in class org.drasyl.remote.protocol.RemoteEnvelope
 
MALFORMED_OPTION - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
MALFORMED_REQUEST - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
MAP_OPCODE - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
MAPPING_LIFETIME - Static variable in class org.drasyl.remote.handler.portmapper.PortMapper
 
MAPPING_NONCE_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
MAPPING_TCP_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
MAPPING_TCP_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
MAPPING_UDP_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
MAPPING_UDP_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
MappingEntry(int, int, InetAddress, String, int) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
 
MappingResponseMessage(PcpPortUtil.ResultCode, long, long, byte[], int, int, int, InetAddress) - Constructor for class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
MappingUdpResponseMessage(NatPmpUtil.ResultCode, int, int, int, long) - Constructor for class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
 
mask(Class<? extends Handler>) - Static method in class org.drasyl.pipeline.HandlerMask
Returns the mask for a given handlerClass.
MaskedString - Class in org.drasyl.util
Represents a confidential string (like a password or a secret token) whose content is masked in MaskedString.toString().
maskSecret(Object) - Static method in class org.drasyl.util.SecretUtil
This method replaces each character in the return of secret's Object.toString()-call with a asterisk.
match(Object) - Method in class org.drasyl.util.TypeParameterMatcher
 
matchClass(Class<T>) - Method in class org.drasyl.util.TypeParameterMatcher
 
matchedEvent(HandlerContext, E, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
Is called for each event of type SimpleInboundEventAwareHandler.
matchedEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexHandler
 
matchedEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundHandler
 
matchedFromByteArray(byte[], Class<byte[]>) - Method in class org.drasyl.serialization.ByteArraySerializer
 
matchedFromByteArray(byte[], Class<Message>) - Method in class org.drasyl.serialization.ProtobufSerializer
 
matchedFromByteArray(byte[], Class<Serializable>) - Method in class org.drasyl.serialization.JavaSerializer
 
matchedFromByteArray(byte[], Class<Boolean>) - Method in class org.drasyl.serialization.BooleanSerializer
 
matchedFromByteArray(byte[], Class<Byte>) - Method in class org.drasyl.serialization.ByteSerializer
 
matchedFromByteArray(byte[], Class<Character>) - Method in class org.drasyl.serialization.CharacterSerializer
 
matchedFromByteArray(byte[], Class<Double>) - Method in class org.drasyl.serialization.DoubleSerializer
 
matchedFromByteArray(byte[], Class<Float>) - Method in class org.drasyl.serialization.FloatSerializer
 
matchedFromByteArray(byte[], Class<Integer>) - Method in class org.drasyl.serialization.IntegerSerializer
 
matchedFromByteArray(byte[], Class<Long>) - Method in class org.drasyl.serialization.LongSerializer
 
matchedFromByteArray(byte[], Class<Short>) - Method in class org.drasyl.serialization.ShortSerializer
 
matchedFromByteArray(byte[], Class<String>) - Method in class org.drasyl.serialization.StringSerializer
 
matchedInbound(HandlerContext, A, I, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.codec.MessageToMessageCodec
 
matchedInbound(HandlerContext, A, I, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.codec.MessageToMessageDecoder
 
matchedInbound(HandlerContext, A, I, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.filter.InboundMessageFilter
 
matchedInbound(HandlerContext, A, I, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexRemoteEnvelopeSkipLoopbackHandler
 
matchedInbound(HandlerContext, A, I, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
Is called for each message of type SimpleInboundEventAwareHandler.
matchedInbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.monitoring.Monitoring
 
matchedInbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.MessagesThroughputHandler
 
matchedInbound(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.InternetDiscovery
 
matchedInbound(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.LocalNetworkDiscovery
 
matchedInbound(HandlerContext, InetSocketAddressWrapper, ByteBuf, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.portmapper.PortMapper
 
matchedInbound(HandlerContext, InetSocketAddressWrapper, ByteBuf, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.tcp.TcpClient
 
matchedInbound(HandlerContext, InetSocketAddressWrapper, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.ChunkingHandler
 
matchedOutbound(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.codec.MessageToByteEncoder
 
matchedOutbound(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.codec.MessageToMessageCodec
 
matchedOutbound(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.codec.MessageToMessageEncoder
 
matchedOutbound(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.filter.OutboundMessageFilter
 
matchedOutbound(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
Is called for each message of type SimpleDuplexEventAwareHandler.
matchedOutbound(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexRemoteEnvelopeSkipLoopbackHandler
 
matchedOutbound(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
Is called for each message of type SimpleOutboundHandler.
matchedOutbound(HandlerContext, IdentityPublicKey, RemoteEnvelope<Protocol.Application>, CompletableFuture<Void>) - Method in class org.drasyl.localhost.LocalHostDiscovery
 
matchedOutbound(HandlerContext, IdentityPublicKey, RemoteEnvelope<Protocol.Application>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.StaticRoutesHandler
 
matchedOutbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.intravm.IntraVmDiscovery
 
matchedOutbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.loopback.handler.LoopbackMessageHandler
 
matchedOutbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.monitoring.Monitoring
 
matchedOutbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.MessagesThroughputHandler
 
matchedOutbound(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.LocalNetworkDiscovery
 
matchedOutbound(HandlerContext, Address, RemoteEnvelope<Protocol.Application>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.InternetDiscovery
 
matchedOutbound(HandlerContext, InetSocketAddressWrapper, ByteBuf, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.tcp.TcpClient
 
matchedOutbound(HandlerContext, InetSocketAddressWrapper, ByteBuf, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.tcp.TcpServer
 
matchedOutbound(HandlerContext, InetSocketAddressWrapper, ByteBuf, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.UdpServer
 
matchedOutbound(HandlerContext, InetSocketAddressWrapper, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.ChunkingHandler
 
matchedToByArray(byte[]) - Method in class org.drasyl.serialization.ByteArraySerializer
 
matchedToByArray(Message) - Method in class org.drasyl.serialization.ProtobufSerializer
 
matchedToByArray(Serializable) - Method in class org.drasyl.serialization.JavaSerializer
 
matchedToByArray(Boolean) - Method in class org.drasyl.serialization.BooleanSerializer
 
matchedToByArray(Byte) - Method in class org.drasyl.serialization.ByteSerializer
 
matchedToByArray(Character) - Method in class org.drasyl.serialization.CharacterSerializer
 
matchedToByArray(Double) - Method in class org.drasyl.serialization.DoubleSerializer
 
matchedToByArray(Float) - Method in class org.drasyl.serialization.FloatSerializer
 
matchedToByArray(Integer) - Method in class org.drasyl.serialization.IntegerSerializer
 
matchedToByArray(Long) - Method in class org.drasyl.serialization.LongSerializer
 
matchedToByArray(Short) - Method in class org.drasyl.serialization.ShortSerializer
 
matchedToByArray(String) - Method in class org.drasyl.serialization.StringSerializer
 
max(Duration, Duration) - Static method in class org.drasyl.util.DurationUtil
Returns the greater of two Duration values.
MAX_PORT_NUMBER - Static variable in class org.drasyl.util.network.NetworkUtil
The maximum server port number.
MAX_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
 
MAX_VALUE - Static variable in class org.drasyl.util.UnsignedShort
 
merge(Set<E>, E...) - Static method in class org.drasyl.util.SetUtil
Returns a set containing all elements from a and the element b.
merge(Set<E>, Set<E>) - Static method in class org.drasyl.util.SetUtil
Returns a set containing all elements from set a and set b.
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
mergeFrom(Protocol.Acknowledgement) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
mergeFrom(Protocol.Application) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
mergeFrom(Protocol.Discovery) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
mergeFrom(Protocol.KeyExchange) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
mergeFrom(Protocol.KeyExchangeAcknowledgement) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
mergeFrom(Protocol.PrivateHeader) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
mergeFrom(Protocol.PublicHeader) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
mergeFrom(Protocol.Unite) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
MESSAGE_BUFFER_SIZE - Static variable in class org.drasyl.DrasylConfig
 
MESSAGE_SERIALIZER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
messageBufferSize(int) - Method in class org.drasyl.DrasylConfig.Builder
 
MessageEvent - Class in org.drasyl.event
This event signals that the node has received a message addressed to it.
MessageEvent() - Constructor for class org.drasyl.event.MessageEvent
 
messageRejected(HandlerContext, A, I, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.filter.InboundMessageFilter
This method is called if msg gets rejected by InboundMessageFilter.accept(HandlerContext, Address, Object).
messageRejected(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.filter.OutboundMessageFilter
This method is called if msg gets rejected by OutboundMessageFilter.accept(HandlerContext, Address, Object).
messageRejected(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.HopCountGuard
 
messageRejected(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.InvalidProofOfWorkFilter
 
messageRejected(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.OtherNetworkFilter
 
messageRejected(HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.RateLimiter
 
messagesBeforeUnwritable() - Method in class org.drasyl.pipeline.AbstractPipeline
 
messagesBeforeUnwritable() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
messagesBeforeUnwritable() - Method in interface org.drasyl.pipeline.Pipeline
Returns the remaining number of messages the pipeline will accept for processing before Pipeline.isWritable() returns false.
MessageSerializer - Class in org.drasyl.pipeline.serialization
This handler serializes messages to an vice vera.
MessagesThroughputHandler - Class in org.drasyl.pipeline.handler
Helper class to visualize the number of inbound and outbound messages per second.
MessagesThroughputHandler() - Constructor for class org.drasyl.pipeline.handler.MessagesThroughputHandler
Creates a new handler which visualizes the number of inbound and outbound messages per second.
MessagesThroughputHandler(BiPredicate<Address, Object>, BiPredicate<Address, Object>) - Constructor for class org.drasyl.pipeline.handler.MessagesThroughputHandler
Creates a new handler which visualizes the number of inbound and outbound messages per second, consumes outbound message matching consumeOutbound, and inbound messages matching consumeInbound.
MessagesThroughputHandler(BiPredicate<Address, Object>, BiPredicate<Address, Object>, Scheduler) - Constructor for class org.drasyl.pipeline.handler.MessagesThroughputHandler
Creates a new handler which visualizes the number of inbound and outbound messages per second, consumes outbound message matching consumeOutbound, and inbound messages matching consumeInbound.
MessageToByteEncoder<O,​A extends Address> - Class in org.drasyl.pipeline.handler.codec
SimpleOutboundHandler which encodes message in a stream-like fashion from one message to an ByteBuf.
MessageToByteEncoder() - Constructor for class org.drasyl.pipeline.handler.codec.MessageToByteEncoder
 
MessageToByteEncoder(boolean) - Constructor for class org.drasyl.pipeline.handler.codec.MessageToByteEncoder
 
MessageToMessageCodec<I,​O,​A extends Address> - Class in org.drasyl.pipeline.handler.codec
A Codec for on-the-fly encoding/decoding of message.
MessageToMessageCodec() - Constructor for class org.drasyl.pipeline.handler.codec.MessageToMessageCodec
 
MessageToMessageDecoder<I,​A extends Address> - Class in org.drasyl.pipeline.handler.codec
SimpleInboundHandler which decodes from one message to one ore more other message(s).
MessageToMessageDecoder() - Constructor for class org.drasyl.pipeline.handler.codec.MessageToMessageDecoder
 
MessageToMessageEncoder<O,​A extends Address> - Class in org.drasyl.pipeline.handler.codec
SimpleOutboundHandler which encodes from one message to one ore more other message(s).
MessageToMessageEncoder() - Constructor for class org.drasyl.pipeline.handler.codec.MessageToMessageEncoder
 
min(Duration, Duration) - Static method in class org.drasyl.util.DurationUtil
Returns the smaller of two Duration values.
MIN_PORT_NUMBER - Static variable in class org.drasyl.util.network.NetworkUtil
The minimum server port number.
MIN_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
 
MIN_VALUE - Static variable in class org.drasyl.util.UnsignedShort
 
Monitoring - Class in org.drasyl.monitoring
Monitors various states or events in the drasyl node.
Monitoring() - Constructor for class org.drasyl.monitoring.Monitoring
 
MONITORING_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
MONITORING_HANDLER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
MONITORING_HOST_TAG - Static variable in class org.drasyl.DrasylConfig
 
MONITORING_INFLUX_DATABASE - Static variable in class org.drasyl.DrasylConfig
 
MONITORING_INFLUX_PASSWORD - Static variable in class org.drasyl.DrasylConfig
 
MONITORING_INFLUX_REPORTING_FREQUENCY - Static variable in class org.drasyl.DrasylConfig
 
MONITORING_INFLUX_URI - Static variable in class org.drasyl.DrasylConfig
 
MONITORING_INFLUX_USER - Static variable in class org.drasyl.DrasylConfig
 
monitoringEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringHostTag(String) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxDatabase(String) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxPassword(MaskedString) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxReportingFrequency(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxUri(URI) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxUser(String) - Method in class org.drasyl.DrasylConfig.Builder
 
MULTICAST_ADDRESS - Static variable in class org.drasyl.remote.handler.UdpMulticastServer
 
MULTICAST_INTERFACE - Static variable in class org.drasyl.remote.handler.UdpMulticastServer
 
MURMUR3_128 - Static variable in class org.drasyl.crypto.Hashing
 
murmur3x64Hex(byte[]) - Static method in class org.drasyl.crypto.Hashing
Generates a hexadecimal representation of the MurMur3x64 hash of the input.
murmur3x64Hex(String) - Static method in class org.drasyl.crypto.Hashing
Generates a hexadecimal representation of the MurMur3x64 hash of the input.
MUST_BE_NON_NEGATIVE - Static variable in class org.drasyl.util.Preconditions
 
MUST_BE_POSITIVE - Static variable in class org.drasyl.util.Preconditions
 

N

name() - Method in interface org.drasyl.pipeline.HandlerContext
Returns the name of the Handler.
name() - Method in interface org.drasyl.util.logging.Logger
Return the name of this Logger instance.
NAT_PMP_PORT - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
NAT_PMP_VERSION - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
NatPmpPortMapping - Class in org.drasyl.remote.handler.portmapper
Port Forwarding on NAT-enabled routers via NAT-PMP.
NatPmpPortMapping() - Constructor for class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
 
NatPmpPortMapping(AtomicBoolean, AtomicBoolean, int, InetSocketAddressWrapper, InetAddress, Disposable, Disposable, Runnable, Supplier<InetAddress>) - Constructor for class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
 
NatPmpUtil - Class in org.drasyl.util.protocol
Utility class for NAT Port Mapping Protocol (NAT-PMP)-related stuff.
NatPmpUtil.ExternalAddressResponseMessage - Class in org.drasyl.util.protocol
 
NatPmpUtil.MappingUdpResponseMessage - Class in org.drasyl.util.protocol
 
NatPmpUtil.Message - Interface in org.drasyl.util.protocol
 
NatPmpUtil.ResultCode - Enum in org.drasyl.util.protocol
 
NettyUtil - Class in org.drasyl.util
Utility class for netty-related operations
NETWORK_FAILURE - org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
NETWORK_FAILURE - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
NETWORK_ID - Static variable in class org.drasyl.DrasylConfig
 
networkId(int) - Method in class org.drasyl.DrasylConfig.Builder
 
NETWORKID_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
NetworkUtil - Class in org.drasyl.util.network
Utility class for network-related operations.
newBehaviorBuilder() - Method in class org.drasyl.behaviour.BehavioralDrasylNode
Creates a new Behavior.BehaviorBuilder to build a new Behavior for inbound message/event handling.
newBuilder() - Static method in class org.drasyl.DrasylConfig
Creates a new builder to build a custom DrasylConfig.
newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
newBuilder(DrasylConfig) - Static method in class org.drasyl.DrasylConfig
 
newBuilder(Protocol.Acknowledgement) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
newBuilder(Protocol.Application) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
newBuilder(Protocol.Discovery) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
newBuilder(Protocol.KeyExchange) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
newBuilder(Protocol.KeyExchangeAcknowledgement) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
newBuilder(Protocol.PrivateHeader) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
newBuilder(Protocol.PublicHeader) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
newBuilder(Protocol.Unite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.Application
 
newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.Application
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.Application
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
newLogger(String) - Method in class org.drasyl.util.logging.JdkLoggerFactory
 
newLogger(String) - Method in class org.drasyl.util.logging.LoggerFactory
 
newLogger(String) - Method in class org.drasyl.util.logging.Slf4JLoggerFactory
 
NIO_DEFAULT_THREADS - Static variable in class org.drasyl.util.EventLoopGroupUtil
 
NO_RESOURCES - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
Node - Class in org.drasyl.event
Used by Event to describe an event related to the local Node (e.g.
Node() - Constructor for class org.drasyl.event.Node
 
NodeDownEvent - Class in org.drasyl.event
This event signals that the node is shut down.
NodeDownEvent() - Constructor for class org.drasyl.event.NodeDownEvent
 
NodeEvent - Interface in org.drasyl.event
Events that refer to a Node.
NodeNormalTerminationEvent - Class in org.drasyl.event
This events signals that the node has terminated normally.
NodeNormalTerminationEvent() - Constructor for class org.drasyl.event.NodeNormalTerminationEvent
 
NodeOfflineEvent - Class in org.drasyl.event
This event signals that the node is currently not connected to a super peer.
NodeOfflineEvent() - Constructor for class org.drasyl.event.NodeOfflineEvent
 
NodeOnlineEvent - Class in org.drasyl.event
This event signals that the node is currently connected to a super peer.
NodeOnlineEvent() - Constructor for class org.drasyl.event.NodeOnlineEvent
 
NodeUnrecoverableErrorEvent - Class in org.drasyl.event
This events signals that the node encountered an unrecoverable error.
NodeUnrecoverableErrorEvent() - Constructor for class org.drasyl.event.NodeUnrecoverableErrorEvent
 
NodeUpEvent - Class in org.drasyl.event
This event signals that the node has been started.
NodeUpEvent() - Constructor for class org.drasyl.event.NodeUpEvent
 
Nonce - Class in org.drasyl.remote.protocol
A AddressedEnvelope is uniquely identified by its Nonce.NONCE_LENGTH bytes long nonce.
NONCE_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
NONCE_LENGTH - Static variable in class org.drasyl.remote.protocol.Nonce
 
NonNull - Annotation Type in org.drasyl.annotation
A common annotation to declare that annotated elements cannot be null.
NOT_AUTHORIZED - org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
NOT_AUTHORIZED - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
now(TimeUnit) - Method in class org.drasyl.util.scheduler.DrasylScheduler
 
nthElement(Set<E>, int) - Static method in class org.drasyl.util.SetUtil
Returns the n-th element from set set.
NULL_MESSAGE - Static variable in class org.drasyl.pipeline.EmbeddedPipeline
 
NULL_SERIALIZER - Static variable in class org.drasyl.pipeline.serialization.Serialization
 
Nullable - Annotation Type in org.drasyl.annotation
A common annotation to declare that annotated elements can be null under some circumstance.
NullSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes null only.
NullSerializer() - Constructor for class org.drasyl.serialization.NullSerializer
 
numberToHumanData(Number) - Static method in class org.drasyl.util.NumberUtil
Takes a Number with bytes and returns it as a formatted SI (metric) multiple-byte number.
numberToHumanData(Number, short) - Static method in class org.drasyl.util.NumberUtil
Takes a Number with bytes and returns it as a formatted SI (metric) multiple-byte number.
numberToHumanData(Number, short, Locale) - Static method in class org.drasyl.util.NumberUtil
Takes a Number with bytes and returns it as a formatted SI (metric) multiple-byte number.
numberToHumanData(Number, Locale) - Static method in class org.drasyl.util.NumberUtil
Takes a Number with bytes and returns it as a formatted SI (metric) multiple-byte number.
numberToHumanDataRate(Number) - Static method in class org.drasyl.util.NumberUtil
Takes a Number with bytes and returns it as a formatted SI (metric) data-rate.
numberToHumanDataRate(Number, short) - Static method in class org.drasyl.util.NumberUtil
Takes a Number with bytes and returns it as a formatted SI (metric) data-rate.
numberToHumanDataRate(Number, short, Locale) - Static method in class org.drasyl.util.NumberUtil
Takes a Number with bytes and returns it as a formatted SI (metric) data-rate.
numberToHumanDataRate(Number, Locale) - Static method in class org.drasyl.util.NumberUtil
Takes a Number with bytes and returns it as a formatted SI (metric) data-rate.
NumberUtil - Class in org.drasyl.util
Utility class for number-related operations.

O

ObservableUtil - Class in org.drasyl.util
Utility class for operations on Observables.
of() - Static method in class org.drasyl.DrasylConfig
 
of() - Static method in class org.drasyl.util.ConcurrentReference
Creates a new empty write many read many memory.
of() - Static method in class org.drasyl.util.Worm
Creates a new Worm object with not set value.
of(byte[]) - Static method in class org.drasyl.identity.IdentityPublicKey
Converts a byte[] into a IdentityPublicKey.
of(byte[]) - Static method in class org.drasyl.identity.IdentitySecretKey
Converts a byte[] into a IdentitySecretKey.
of(byte[]) - Static method in class org.drasyl.identity.KeyAgreementPublicKey
Converts a byte[] into a KeyAgreementPublicKey.
of(byte[]) - Static method in class org.drasyl.identity.KeyAgreementSecretKey
Converts a byte[] into a KeyAgreementSecretKey.
of(byte[]) - Static method in class org.drasyl.remote.handler.crypto.AgreementId
 
of(byte[]) - Static method in class org.drasyl.remote.protocol.Nonce
 
of(byte[]) - Static method in class org.drasyl.util.UnsignedInteger
Creates a new UnsignedInteger.
of(byte[]) - Static method in class org.drasyl.util.UnsignedShort
Creates a new UnsignedShort.
of(int) - Static method in class org.drasyl.identity.ProofOfWork
 
of(int) - Static method in class org.drasyl.util.UnsignedShort
Creates a new UnsignedShort.
of(int, String, String) - Static method in class org.drasyl.identity.Identity
 
of(int, KeyPair<IdentityPublicKey, IdentitySecretKey>, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey>) - Static method in class org.drasyl.identity.Identity
 
of(long) - Static method in class org.drasyl.util.UnsignedInteger
Creates a new UnsignedInteger.
of(A, B) - Static method in class org.drasyl.util.Pair
Obtains a tuple of two elements inferring the generic types.
of(A, B, C) - Static method in class org.drasyl.util.Triple
Obtains a tuple of three elements inferring the generic types.
of(ByteString) - Static method in class org.drasyl.identity.IdentityPublicKey
 
of(ByteString) - Static method in class org.drasyl.identity.IdentitySecretKey
 
of(ByteString) - Static method in class org.drasyl.identity.KeyAgreementPublicKey
 
of(ByteString) - Static method in class org.drasyl.identity.KeyAgreementSecretKey
 
of(ByteString) - Static method in class org.drasyl.remote.handler.crypto.AgreementId
 
of(ByteString) - Static method in class org.drasyl.remote.protocol.Nonce
 
of(Config) - Static method in class org.drasyl.DrasylConfig
 
of(ByteBuf) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Wraps the given ByteBuf into an RemoteEnvelope.
of(String) - Static method in class org.drasyl.identity.IdentityPublicKey
Converts a String into a IdentityPublicKey.
of(String) - Static method in class org.drasyl.identity.IdentitySecretKey
Converts a String into a IdentitySecretKey.
of(String) - Static method in class org.drasyl.identity.KeyAgreementPublicKey
Converts a String into a KeyAgreementPublicKey.
of(String) - Static method in class org.drasyl.identity.KeyAgreementSecretKey
Converts a String into a KeyAgreementSecretKey.
of(String) - Static method in class org.drasyl.peer.Endpoint
Converts a String into an Endpoint.
of(String) - Static method in class org.drasyl.remote.handler.crypto.AgreementId
 
of(String) - Static method in class org.drasyl.remote.protocol.Nonce
 
of(String) - Static method in class org.drasyl.util.MaskedString
 
of(String, int, IdentityPublicKey) - Static method in class org.drasyl.peer.Endpoint
Converts the given host, port, and publicKey into an Endpoint.
of(String, int, IdentityPublicKey, Integer) - Static method in class org.drasyl.peer.Endpoint
Converts the given host, port, publicKey, and networkId into an Endpoint.
of(Throwable) - Static method in class org.drasyl.event.InboundExceptionEvent
 
of(URI) - Static method in class org.drasyl.peer.Endpoint
Converts an URI into an Endpoint.
of(Node) - Static method in class org.drasyl.event.NodeDownEvent
 
of(Node) - Static method in class org.drasyl.event.NodeNormalTerminationEvent
 
of(Node) - Static method in class org.drasyl.event.NodeOfflineEvent
 
of(Node) - Static method in class org.drasyl.event.NodeOnlineEvent
 
of(Node) - Static method in class org.drasyl.event.NodeUpEvent
 
of(Node, Throwable) - Static method in class org.drasyl.event.NodeUnrecoverableErrorEvent
 
of(Peer) - Static method in class org.drasyl.event.LongTimeEncryptionEvent
 
of(Peer) - Static method in class org.drasyl.event.PeerDirectEvent
 
of(Peer) - Static method in class org.drasyl.event.PeerRelayEvent
 
of(Peer) - Static method in class org.drasyl.event.PerfectForwardSecrecyEncryptionEvent
 
of(Identity) - Static method in class org.drasyl.event.Node
 
of(Identity, int) - Static method in class org.drasyl.event.Node
 
of(Identity, int, int) - Static method in class org.drasyl.event.Node
 
of(IdentityPublicKey) - Static method in class org.drasyl.event.Peer
 
of(IdentityPublicKey, Object) - Static method in class org.drasyl.event.MessageEvent
Creates a new MessageEvent
of(KeyAgreementPublicKey, KeyAgreementPublicKey) - Static method in class org.drasyl.remote.handler.crypto.AgreementId
 
of(ProofOfWork, String, String) - Static method in class org.drasyl.identity.Identity
 
of(ProofOfWork, IdentityPublicKey, IdentitySecretKey) - Static method in class org.drasyl.identity.Identity
 
of(ProofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey>) - Static method in class org.drasyl.identity.Identity
 
of(ProofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey>, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey>) - Static method in class org.drasyl.identity.Identity
 
of(Protocol.PublicHeader, byte[]) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates a message envelope from publicHeader and bytes
of(Protocol.PublicHeader, ByteBuf) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates a message envelope from publicHeader and bytes.
of(Protocol.PublicHeader, Protocol.PrivateHeader, T) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates a message envelope from publicHeader, privateHeader, and body.
of(P, S) - Static method in class org.drasyl.identity.KeyPair
 
of(T) - Static method in class org.drasyl.util.ConcurrentReference
Creates a new write many read many memory with the initial value of initialValue.
of(T) - Static method in class org.drasyl.util.Worm
Creates a new Worm object with value set to value.
ON_EVENT_MASK - Static variable in class org.drasyl.pipeline.HandlerMask
 
ON_EXCEPTION_MASK - Static variable in class org.drasyl.pipeline.HandlerMask
 
ON_INBOUND_MASK - Static variable in class org.drasyl.pipeline.HandlerMask
 
ON_OUTBOUND_MASK - Static variable in class org.drasyl.pipeline.HandlerMask
 
onAdded(HandlerContext) - Method in interface org.drasyl.pipeline.Handler
Gets called after the Handler was added to the actual context and it's ready to handle events.
onAdded(HandlerContext) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
Do nothing by default, sub-classes may override this method.
onAfterShutdown(PluginEnvironment) - Method in interface org.drasyl.plugin.DrasylPlugin
This method gets called after the drasyl node was shut down.
onAfterStart(PluginEnvironment) - Method in interface org.drasyl.plugin.DrasylPlugin
This method gets called after the drasyl node was started.
onAnyEvent(Function<Event, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
Adds a new case to the event handling matching any event.
onAnyMessage(BiFunction<IdentityPublicKey, M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
Adds a new case to the event handling matching any MessageEvent.
onBeforeShutdown(PluginEnvironment) - Method in interface org.drasyl.plugin.DrasylPlugin
This method get called before the drasyl node is shut down.
onBeforeStart(PluginEnvironment) - Method in interface org.drasyl.plugin.DrasylPlugin
This method gets called before the drasyl node is started.
onBlack() - Method in class org.drasyl.util.Ansi
 
onBlue() - Method in class org.drasyl.util.Ansi
 
onCyan() - Method in class org.drasyl.util.Ansi
 
onEvent(Class<M>, Function<M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
Adds a new case to the event handling.
onEvent(Class<M>, Predicate<M>, Function<M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
Adds a new predicated case to the event handling.
onEvent(Event) - Method in class org.drasyl.behaviour.BehavioralDrasylNode
 
onEvent(Event) - Method in class org.drasyl.DrasylNode
Sends event to the application and tells it information about the local node, other peers, connections or incoming messages.
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.intravm.IntraVmDiscovery
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.localhost.LocalHostDiscovery
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.loopback.handler.LoopbackMessageHandler
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.monitoring.Monitoring
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.MessagesThroughputHandler
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.Handler
Gets called if a Event was emitted.
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexHandler
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundHandler
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.InternetDiscovery
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.LocalNetworkDiscovery
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.portmapper.PortMapper
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.StaticRoutesHandler
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.tcp.TcpClient
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.tcp.TcpServer
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.UdpMulticastServer
 
onEvent(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.UdpServer
 
onEventEquals(M, Supplier<Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
Add a new case to the event handling matching equal events.
onException(HandlerContext, Exception) - Method in interface org.drasyl.pipeline.Handler
Gets called if a Exception was thrown.
onException(HandlerContext, Exception) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
 
onGreen() - Method in class org.drasyl.util.Ansi
 
onInbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.Handler
Gets called if a Object was received.
onInbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
 
onInbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
 
onMagenta() - Method in class org.drasyl.util.Ansi
 
onMessage(Class<M>, BiFunction<IdentityPublicKey, M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
Add a new case to the event matching matching events of type MessageEvent with MessageEvent.getPayload() matching messageType.
onMessage(Class<M>, BiPredicate<IdentityPublicKey, M>, BiFunction<IdentityPublicKey, M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
Add a new predicated case to the event matching matching events of type MessageEvent with MessageEvent.getPayload() matching messageType.
onMessageEquals(IdentityPublicKey, M, Supplier<Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
Add a new case to the event handling matching events of type MessageEvent with equal MessageEvent.getPayload().
onOutbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.Handler
Gets called if a Object was send from the application to a recipient.
onOutbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.OutboundMessagesThrottlingHandler
 
onOutbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
 
onOutbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
 
onOutbound(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
 
onRed() - Method in class org.drasyl.util.Ansi
 
onRemoved(HandlerContext) - Method in interface org.drasyl.pipeline.Handler
Gets called after the Handler was removed from the actual context and it doesn't handle events anymore.
onRemoved(HandlerContext) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
Do nothing by default, sub-classes may override this method.
onWhite() - Method in class org.drasyl.util.Ansi
 
onYellow() - Method in class org.drasyl.util.Ansi
 
org.drasyl - package org.drasyl
Core API that includes the DrasylNode and DrasylConfig.
org.drasyl.annotation - package org.drasyl.annotation
Annotations that provide meta information about drasyl's API.
org.drasyl.behaviour - package org.drasyl.behaviour
Describes DrasylNodes as finite state machines.
org.drasyl.crypto - package org.drasyl.crypto
Classes for crypto-related operations.
org.drasyl.crypto.loader - package org.drasyl.crypto.loader
 
org.drasyl.event - package org.drasyl.event
Contains events that inform the application about various states of the drasyl node, incoming communication, or connection type changes.
org.drasyl.identity - package org.drasyl.identity
Contains classes to manage the Identity of the drasyl node.
org.drasyl.intravm - package org.drasyl.intravm
Automatic discovery of other running drasyl nodes in the same JVM.
org.drasyl.localhost - package org.drasyl.localhost
Uses the file system to discover other drasyl nodes running on the local computer.
org.drasyl.loopback - package org.drasyl.loopback
Package contains classes that are used for communicating with ourself.
org.drasyl.loopback.handler - package org.drasyl.loopback.handler
 
org.drasyl.monitoring - package org.drasyl.monitoring
Monitors various states or events in the drasyl node.
org.drasyl.peer - package org.drasyl.peer
Package contains classes that are used for communicating with other peers.
org.drasyl.pipeline - package org.drasyl.pipeline
Link between application and drasyl overlay network.
org.drasyl.pipeline.address - package org.drasyl.pipeline.address
Contains addresses that describe the sender or recipient of messages.
org.drasyl.pipeline.handler - package org.drasyl.pipeline.handler
Contains default implementations for some basic handlers.
org.drasyl.pipeline.handler.codec - package org.drasyl.pipeline.handler.codec
Handler for encoding and decoding messages (e.g.
org.drasyl.pipeline.handler.filter - package org.drasyl.pipeline.handler.filter
 
org.drasyl.pipeline.message - package org.drasyl.pipeline.message
Contains all message types that drasyl uses to configure the overlay network and transfer application messages.
org.drasyl.pipeline.serialization - package org.drasyl.pipeline.serialization
Package contains classes that are used for serialisation of message to byte arrays and vice vera.
org.drasyl.pipeline.skeleton - package org.drasyl.pipeline.skeleton
Contains skeleton implementations for the most often used idioms (e.g., in- or outbound-only handlers).
org.drasyl.plugin - package org.drasyl.plugin
Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with user-defined settings.
org.drasyl.remote - package org.drasyl.remote
Package contains classes that are used for communicating with remote peers via UDP.
org.drasyl.remote.handler - package org.drasyl.remote.handler
Handlers used to communicate with remote nodes.
org.drasyl.remote.handler.crypto - package org.drasyl.remote.handler.crypto
Contains classes necessary for encrypted communication.
org.drasyl.remote.handler.portmapper - package org.drasyl.remote.handler.portmapper
Contains PortMapper that attempts to create port forwarding via PCP, NAT-PMP, UPnP-IDG.
org.drasyl.remote.handler.tcp - package org.drasyl.remote.handler.tcp
Contains the pipeline handlers for TCP fallback connections.
org.drasyl.remote.protocol - package org.drasyl.remote.protocol
The protocol used for communication with remote nodes.
org.drasyl.serialization - package org.drasyl.serialization
Serialization of java objects to byte arrays and vice versa.
org.drasyl.util - package org.drasyl.util
Utility classes used across multiple packages.
org.drasyl.util.logging - package org.drasyl.util.logging
Logging API (for internal use only).
org.drasyl.util.network - package org.drasyl.util.network
Network-related utility classes.
org.drasyl.util.protocol - package org.drasyl.util.protocol
Contains several utilities that help in dealing with specific protocols (e.g.
org.drasyl.util.scheduler - package org.drasyl.util.scheduler
Provides the DrasylScheduler.
OTHER_NETWORK_FILTER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
OtherNetworkFilter - Class in org.drasyl.remote.handler
This handler filters out all messages received from other networks.
OUT_OF_RESOURCES - org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
OutboundFilterException - Exception in org.drasyl.pipeline.handler.filter
An FilterException which is thrown by a encoder.
OutboundFilterException() - Constructor for exception org.drasyl.pipeline.handler.filter.OutboundFilterException
 
OutboundFilterException(String) - Constructor for exception org.drasyl.pipeline.handler.filter.OutboundFilterException
 
OutboundFilterException(String, Throwable) - Constructor for exception org.drasyl.pipeline.handler.filter.OutboundFilterException
 
OutboundFilterException(Throwable) - Constructor for exception org.drasyl.pipeline.handler.filter.OutboundFilterException
 
OutboundMessageFilter<O,​A extends Address> - Class in org.drasyl.pipeline.handler.filter
This class provides the functionality to either accept or reject new outbound messages.
OutboundMessageFilter() - Constructor for class org.drasyl.pipeline.handler.filter.OutboundMessageFilter
 
outboundMessages() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
outboundMessages(Class<T>) - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
outboundMessages(TypeReference<T>) - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
outboundMessagesBuffer - Variable in class org.drasyl.pipeline.AbstractPipeline
 
OutboundMessagesThrottlingHandler - Class in org.drasyl.pipeline.handler
Traffic shaping handler that limits the number of outgoing messages per second.
OutboundMessagesThrottlingHandler(long) - Constructor for class org.drasyl.pipeline.handler.OutboundMessagesThrottlingHandler
 
OutboundMessagesThrottlingHandler.QueueConsumer - Class in org.drasyl.pipeline.handler
 
OutboundMessagesThrottlingHandler.RateLimitedQueue - Class in org.drasyl.pipeline.handler
 
outboundMessagesWithRecipient() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
outboundSerialization - Variable in class org.drasyl.pipeline.AbstractPipeline
 
outboundSerialization() - Method in interface org.drasyl.pipeline.HandlerContext
Returns the outbound Serialization of this pipeline.

P

Pair<A,​B> - Class in org.drasyl.util
A tuple of two elements.
pairWithPreviousObservable(Observable<T>) - Static method in class org.drasyl.util.ObservableUtil
Creates an Observable to pair up the current and previous items.
parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFile(File) - Static method in class org.drasyl.DrasylConfig
Parses a file into a Config instance as with
parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseHexBinary(String) - Static method in class org.drasyl.crypto.HexUtil
Converts the string argument into an array of bytes.
parser() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
parser() - Static method in class org.drasyl.remote.protocol.Protocol.Application
 
parser() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
 
parser() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
parser() - Static method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
parser() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
parser() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
parser() - Static method in class org.drasyl.remote.protocol.Protocol.Unite
 
parseString(String) - Static method in class org.drasyl.DrasylConfig
Parses a file into a Config instance as with
passEvent(Event, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.HandlerContext
Passes the event to the next handler in the pipeline.
passException(Exception) - Method in interface org.drasyl.pipeline.HandlerContext
Passes the cause to the next handler in the pipeline.
passInbound(Address, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.HandlerContext
Passes the msg to the next handler in the pipeline.
passOutbound(Address, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.HandlerContext
Passes the msg to the next handler in the pipeline.
PathUtil - Class in org.drasyl.util
Utility class for operations on Pathes.
PAYLOAD_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Application
 
PCP_PORT - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
PCP_VERSION - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
PcpPortMapping - Class in org.drasyl.remote.handler.portmapper
Port Forwarding on NAT-enabled routers via PCP.
PcpPortMapping() - Constructor for class org.drasyl.remote.handler.portmapper.PcpPortMapping
 
PcpPortUtil - Class in org.drasyl.util.protocol
Utility class for Port Control Protocol (PCP)-related stuff.
PcpPortUtil.MappingResponseMessage - Class in org.drasyl.util.protocol
 
PcpPortUtil.Message - Interface in org.drasyl.util.protocol
 
PcpPortUtil.ResultCode - Enum in org.drasyl.util.protocol
 
Peer - Class in org.drasyl.event
Used by Event to describe an event related to a Peer (e.g.
Peer() - Constructor for class org.drasyl.event.Peer
 
PeerDirectEvent - Class in org.drasyl.event
This event signals that the node has established a direct connection to a peer.
PeerDirectEvent() - Constructor for class org.drasyl.event.PeerDirectEvent
 
PeerEvent - Interface in org.drasyl.event
Events that refer to a Peer.
PeerRelayEvent - Class in org.drasyl.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.event.PeerRelayEvent
 
peersManager - Variable in class org.drasyl.pipeline.AbstractPipeline
 
peersManager() - Method in interface org.drasyl.pipeline.HandlerContext
Returns the peers manager of this node.
PeersManager - Class in org.drasyl.peer
This class contains information about other peers.
PeersManager(Consumer<Event>, Identity) - Constructor for class org.drasyl.peer.PeersManager
 
PerfectForwardSecrecyEncryptionEvent - Class in org.drasyl.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.event.PerfectForwardSecrecyEncryptionEvent
 
Ping(InetSocketAddressWrapper) - Constructor for class org.drasyl.remote.handler.InternetDiscovery.Ping
 
pipeline() - Method in class org.drasyl.DrasylNode
Returns the Pipeline to allow users to add own handlers.
pipeline() - Method in interface org.drasyl.pipeline.HandlerContext
Returns the corresponding Pipeline.
Pipeline - Interface in org.drasyl.pipeline
A list of Handlers which handles or intercepts inbound events and outbound operations of a DrasylNode.
PK_CURVE_25519_KEY_LENGTH - Static variable in class org.drasyl.crypto.Crypto
 
PK_LONG_TIME_KEY_LENGTH - Static variable in class org.drasyl.crypto.Crypto
 
PlatformDependent - Class in org.drasyl.util
Utility class that can be used to detect properties specific to the current runtime environment, such as Java version and the availability of the sun.misc.Unsafe object.
PluginEnvironment - Class in org.drasyl.plugin
Models environment information of a DrasylPlugin that are required by the plugin.
PluginEnvironment(DrasylConfig, Identity, Pipeline) - Constructor for class org.drasyl.plugin.PluginEnvironment
 
PluginManager - Class in org.drasyl.plugin
The PluginManager notifies all enabled plugins about specific node events (like startup or shutdown).
PluginManager(DrasylConfig, Identity, Pipeline) - Constructor for class org.drasyl.plugin.PluginManager
 
plugins(Set<DrasylPlugin>) - Method in class org.drasyl.DrasylConfig.Builder
 
PLUGINS - Static variable in class org.drasyl.DrasylConfig
 
PORT_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Unite
 
PORT_MAPPER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
PortMapper - Class in org.drasyl.remote.handler.portmapper
This handler tries to create a port forwarding for the UDP server using different methods (PCP, NAT-PMP, UPnP-IGD, etc.).
PortMapper() - Constructor for class org.drasyl.remote.handler.portmapper.PortMapper
 
PortMapping - Interface in org.drasyl.remote.handler.portmapper
Represents a method for creating port forwarding (e.g., PCP, NAT-PMP, or UPnP-IGD).
PortMapping(int) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
 
POW_DIFFICULTY - Static variable in class org.drasyl.identity.IdentityManager
 
Preconditions - Class in org.drasyl.util
Static convenience methods that help a method or constructor check whether it was invoked correctly (that is, whether its preconditions were met).
prepend(ByteBuf, ByteBuf...) - Static method in class org.drasyl.util.ByteBufUtil
Prepends the given elements at the start of the byteBuf and moves all readable bytes accordingly.
printInboundOrder(AbstractPipeline, int) - Static method in class org.drasyl.pipeline.VisualPipeline
Prints the current inbound Handlers in the sequence of execution to the console.
printOnlySimpleInboundHandler(AbstractPipeline, int) - Static method in class org.drasyl.pipeline.VisualPipeline
Prints the current outbound SimpleInboundHandlers in the sequence of execution to the console.
printOnlySimpleOutboundHandler(AbstractPipeline, int) - Static method in class org.drasyl.pipeline.VisualPipeline
Prints the current outbound SimpleOutboundHandlers in the sequence of execution to the console.
printOutboundOrder(AbstractPipeline, int) - Static method in class org.drasyl.pipeline.VisualPipeline
Prints the current outbound Handlers in the sequence of execution to the console.
processInbound(Event) - Method in class org.drasyl.pipeline.AbstractPipeline
 
processInbound(Event) - Method in interface org.drasyl.pipeline.Pipeline
Processes an inbound event by the pipeline.
processInbound(Address, Object) - Method in class org.drasyl.pipeline.AbstractPipeline
 
processInbound(Address, Object) - Method in interface org.drasyl.pipeline.Pipeline
Processes an inbound message by the pipeline.
processOutbound(Address, Object) - Method in class org.drasyl.pipeline.AbstractPipeline
 
processOutbound(Address, Object) - Method in interface org.drasyl.pipeline.Pipeline
Processes an outbound message by the pipeline.
ProofOfWork - Class in org.drasyl.identity
This class models the proof of work for a given public key.
ProofOfWork() - Constructor for class org.drasyl.identity.ProofOfWork
 
PROOFOFWORK_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
PROTO_TCP - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
PROTO_UDP - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
ProtobufSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Message objects.
ProtobufSerializer() - Constructor for class org.drasyl.serialization.ProtobufSerializer
 
Protocol - Class in org.drasyl.remote.protocol
 
Protocol.Acknowledgement - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.Acknowledgement
Protocol.Acknowledgement.Builder - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.Acknowledgement
Protocol.AcknowledgementOrBuilder - Interface in org.drasyl.remote.protocol
 
Protocol.Application - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.Application
Protocol.Application.Builder - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.Application
Protocol.ApplicationOrBuilder - Interface in org.drasyl.remote.protocol
 
Protocol.Discovery - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.Discovery
Protocol.Discovery.Builder - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.Discovery
Protocol.DiscoveryOrBuilder - Interface in org.drasyl.remote.protocol
 
Protocol.KeyExchange - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.KeyExchange
Protocol.KeyExchange.Builder - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.KeyExchange
Protocol.KeyExchangeAcknowledgement - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.KeyExchangeAcknowledgement
Protocol.KeyExchangeAcknowledgement.Builder - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.KeyExchangeAcknowledgement
Protocol.KeyExchangeAcknowledgementOrBuilder - Interface in org.drasyl.remote.protocol
 
Protocol.KeyExchangeOrBuilder - Interface in org.drasyl.remote.protocol
 
Protocol.MessageType - Enum in org.drasyl.remote.protocol
Protobuf enum org.drasyl.remote.protocol.MessageType
Protocol.PrivateHeader - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.PrivateHeader
Protocol.PrivateHeader.Builder - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.PrivateHeader
Protocol.PrivateHeaderOrBuilder - Interface in org.drasyl.remote.protocol
 
Protocol.PublicHeader - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.PublicHeader
Protocol.PublicHeader.Builder - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.PublicHeader
Protocol.PublicHeaderOrBuilder - Interface in org.drasyl.remote.protocol
 
Protocol.Unite - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.Unite
Protocol.Unite.AddressCase - Enum in org.drasyl.remote.protocol
 
Protocol.Unite.Builder - Class in org.drasyl.remote.protocol
Protobuf type org.drasyl.remote.protocol.Unite
Protocol.UniteOrBuilder - Interface in org.drasyl.remote.protocol
 
PublicKey - Interface in org.drasyl.identity
 
PUBLICKEY_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Unite
 
purple() - Method in class org.drasyl.util.Ansi
 

Q

queue - Variable in class org.drasyl.pipeline.handler.OutboundMessagesThrottlingHandler.RateLimitedQueue
 

R

randomBytes(int) - Static method in class org.drasyl.crypto.Crypto
Generates a secure random bytes with the given entropy.
randomBytes(int) - Static method in class org.drasyl.util.RandomUtil
Returns an array of length count containing pseudorandom bytes.
randomInt(int) - Static method in class org.drasyl.util.RandomUtil
Returns a pseudorandom, uniformly distributed int value between 0 and max.
randomInt(int, int) - Static method in class org.drasyl.util.RandomUtil
Returns a pseudorandom, uniformly distributed int value between min and max.
randomLong(long) - Static method in class org.drasyl.util.RandomUtil
Returns a pseudorandom, uniformly distributed long value between 0 and max.
randomLong(long, long) - Static method in class org.drasyl.util.RandomUtil
Returns a pseudorandom, uniformly distributed long value between min and max.
randomNonce() - Static method in class org.drasyl.remote.protocol.Nonce
Static factory to retrieve a randomly generated Nonce.
randomNumber(int) - Static method in class org.drasyl.crypto.Crypto
Generates a random number with the static SecureRandom of this class.
randomString(int) - Static method in class org.drasyl.crypto.Crypto
Generates a secure random HEX String with the given entropy of bytes.
randomString(int) - Static method in class org.drasyl.util.RandomUtil
Returns a string of the given length containing pseudorandom alphanumeric characters.
RandomUtil - Class in org.drasyl.util
Utility class for receiving pseudorandom values.
RATE_LIMITER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
RateLimitedQueue(long) - Constructor for class org.drasyl.pipeline.handler.OutboundMessagesThrottlingHandler.RateLimitedQueue
 
RateLimiter - Class in org.drasyl.remote.handler
This handler rate limits Protocol.Acknowledgement, Protocol.Discovery, and Protocol.Unite messages addressed to us.
RateLimiter() - Constructor for class org.drasyl.remote.handler.RateLimiter
 
readMessage(byte[]) - Static method in class org.drasyl.util.protocol.UpnpIgdUtil
 
readMessage(InputStream) - Static method in class org.drasyl.util.protocol.NatPmpUtil
 
readMessage(InputStream) - Static method in class org.drasyl.util.protocol.PcpPortUtil
 
receive() - Static method in class org.drasyl.behaviour.Behaviors
Creates a new Behavior.BehaviorBuilder to build a new Behavior for inbound message/event handling.
receive(Event) - Method in class org.drasyl.behaviour.Behavior
Process an incoming event and return the next behavior.
RECIPIENT_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
red() - Method in class org.drasyl.util.Ansi
 
RED - org.drasyl.util.Ansi.Color
 
refCnt() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
ReferenceCountUtil - Class in org.drasyl.util
 
REFRESH_INTERVAL_SAFETY_MARGIN - Static variable in class org.drasyl.localhost.LocalHostDiscovery
 
registerAllExtensions(ExtensionRegistry) - Static method in class org.drasyl.remote.protocol.Protocol
 
registerAllExtensions(ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol
 
release() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
release(int) - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
release(Object) - Static method in class org.drasyl.util.ReferenceCountUtil
Try to call ReferenceCounted.release() if the specified message implements ReferenceCounted and is not already released.
releaseAll() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
This method does release all used ByteBufs.
REMOTE_BIND_HOST - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_BIND_PORT - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_ENDPOINTS - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_ENVELOPE_TO_BYTE_BUF_CODEC - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
REMOTE_EXPOSE_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_LOCAL_HOST_DISCOVERY_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_LOCAL_HOST_DISCOVERY_LEASE_TIME - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_LOCAL_HOST_DISCOVERY_PATH - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_LOCAL_HOST_DISCOVERY_WATCH_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_LOCAL_NETWORK_DISCOVERY_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_MESSAGE_ARM_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_MESSAGE_ARM_SESSION_EXPIRE_AFTER - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_MESSAGE_ARM_SESSION_MAX_AGREEMENTS - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_MESSAGE_ARM_SESSION_MAX_COUNT - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_MESSAGE_ARM_SESSION_RETRY_INTERVAL - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_MESSAGE_COMPOSED_MESSAGE_TRANSFER_TIMEOUT - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_MESSAGE_HOP_LIMIT - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_MESSAGE_MAX_CONTENT_LENGTH - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_MESSAGE_MTU - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_PING_COMMUNICATION_TIMEOUT - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_PING_INTERVAL - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_PING_MAX_PEERS - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_PING_TIMEOUT - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_STATIC_ROUTES - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_SUPER_PEER_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_SUPER_PEER_ENDPOINTS - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_TCP_FALLBACK_CLIENT_ADDRESS - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_TCP_FALLBACK_CLIENT_TIMEOUT - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_TCP_FALLBACK_ENABLED - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_TCP_FALLBACK_SERVER_BIND_HOST - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_TCP_FALLBACK_SERVER_BIND_PORT - Static variable in class org.drasyl.DrasylConfig
 
REMOTE_UNITE_MIN_INTERVAL - Static variable in class org.drasyl.DrasylConfig
 
remoteBindHost(InetAddress) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteBindPort(int) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteEndpoints(Set<Endpoint>) - Method in class org.drasyl.DrasylConfig.Builder
 
RemoteEnvelope<T extends com.google.protobuf.MessageLite> - Class in org.drasyl.remote.protocol
This class allows to read a given ByteBuf encoded protobuf message in parts with only decoding the requested parts of the given ByteBuf.
RemoteEnvelopeToByteBufCodec - Class in org.drasyl.remote.handler
This codec converts RemoteEnvelope to ByteBuf an vice vera.
remoteExposeEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteLocalHostDiscoveryEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteLocalHostDiscoveryLeaseTime(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteLocalHostDiscoveryPath(Path) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteLocalHostDiscoveryWatchEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteLocalNetworkDiscoveryEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteMessageArmEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteMessageArmSessionExpireAfter(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteMessageArmSessionMaxAgreements(int) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteMessageArmSessionMaxCount(int) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteMessageArmSessionRetryInterval(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteMessageComposedMessageTransferTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteMessageHopLimit(byte) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteMessageMaxContentLength(int) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteMessageMtu(int) - Method in class org.drasyl.DrasylConfig.Builder
 
remotePingCommunicationTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
remotePingInterval(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
remotePingMaxPeers(int) - Method in class org.drasyl.DrasylConfig.Builder
 
remotePingTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteStaticRoutes(Map<IdentityPublicKey, InetSocketAddressWrapper>) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteSuperPeerEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteSuperPeerEndpoints(Set<Endpoint>) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteTcpFallbackClientAddress(InetSocketAddress) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteTcpFallbackClientTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteTcpFallbackEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteTcpFallbackServerBindHost(InetAddress) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteTcpFallbackServerBindPort(int) - Method in class org.drasyl.DrasylConfig.Builder
 
remoteUniteMinInterval(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
remove(String) - Method in class org.drasyl.pipeline.AbstractPipeline
 
remove(String) - Method in interface org.drasyl.pipeline.Pipeline
Removes the Handler with the specified name from this pipeline.
removeChildrenAndPath(IdentityPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
 
removePath(IdentityPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
 
removeSerializer(Class<?>) - Method in class org.drasyl.pipeline.serialization.Serialization
Removes all serializers for objects of type clazz.
removeSerializer(Serializer) - Method in class org.drasyl.pipeline.serialization.Serialization
Removes given serializer from
removeSuperPeerAndPath(IdentityPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
 
RENEW_DIVISOR - Static variable in class org.drasyl.remote.handler.crypto.Agreement
 
replace(String, String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
 
replace(String, String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Replaces the Handler of the specified name with a new handler in this pipeline.
REQUEST_RESERVED1_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
REQUEST_RESERVED2_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
requestDeletion(File) - Method in class org.drasyl.crypto.loader.DrasylResourceLoader
Mark the file or directory as "to be deleted".
requireNonNegative(byte) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is non-negative.
requireNonNegative(byte, String) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is non-negative and throws a customized IllegalArgumentException if it is not.
requireNonNegative(int) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is non-negative.
requireNonNegative(int, String) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is non-negative and throws a customized IllegalArgumentException if it is not.
requireNonNegative(long) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is non-negative.
requireNonNegative(long, String) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is non-negative and throws a customized IllegalArgumentException if it is not.
requireNonNegative(short) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is non-negative.
requireNonNegative(short, String) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is non-negative and throws a customized IllegalArgumentException if it is not.
requirePositive(byte) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is positive.
requirePositive(byte, String) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is positive and throws a customized IllegalArgumentException if it is not.
requirePositive(int) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is positive.
requirePositive(int, String) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is positive and throws a customized IllegalArgumentException if it is not.
requirePositive(long) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is positive.
requirePositive(long, String) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is positive and throws a customized IllegalArgumentException if it is not.
requirePositive(short) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is positive.
requirePositive(short, String) - Static method in class org.drasyl.util.Preconditions
Checks that the specified number is positive and throws a customized IllegalArgumentException if it is not.
RESERVED_LENGTH - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
reset() - Method in class org.drasyl.util.Ansi
 
RESET - Static variable in class org.drasyl.util.Ansi
 
RESPONSE_RESERVED1_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
RESPONSE_RESERVED2_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
RESPONSE_RESERVED3_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
retain() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
retain(int) - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
RETRY_DELAY - Static variable in class org.drasyl.remote.handler.portmapper.PortMapper
 
run() - Method in class org.drasyl.pipeline.handler.OutboundMessagesThrottlingHandler.QueueConsumer
 
run() - Method in interface org.drasyl.util.ThrowingRunnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

S

safeRelease(Object) - Static method in class org.drasyl.util.ReferenceCountUtil
Try to call ReferenceCounted.release() if the specified message implements ReferenceCounted and is not already released.
same() - Static method in class org.drasyl.behaviour.Behaviors
A behavior that advises the system to reuse the previous behavior.
sameNetwork(byte[], byte[], short) - Static method in class org.drasyl.util.network.NetworkUtil
Checks if two given addresses are in the same network.
sameNetwork(InetAddress, InetAddress, short) - Static method in class org.drasyl.util.network.NetworkUtil
Checks if two given addresses are in the same network.
sanitizeLogArg(Object) - Static method in class org.drasyl.util.LoggingUtil
Cleans obj from line breaks and returns them as \n or \r.
scheduleDirect(Runnable) - Method in class org.drasyl.util.scheduler.DrasylScheduler
 
scheduleDirect(Runnable) - Method in class org.drasyl.util.scheduler.LoggingScheduler
 
scheduleDirect(Runnable, long, TimeUnit) - Method in class org.drasyl.util.scheduler.DrasylScheduler
 
scheduleDirect(Runnable, long, TimeUnit) - Method in class org.drasyl.util.scheduler.LoggingScheduler
 
scheduleEvent(Event) - Method in class org.drasyl.behaviour.Behaviors.EventScheduler
Schedules a self event.
scheduleEvent(Event, Duration) - Method in class org.drasyl.behaviour.Behaviors.EventScheduler
Schedules a self event.
schedulePeriodicallyDirect(Runnable, long, long, TimeUnit) - Method in class org.drasyl.util.scheduler.DrasylScheduler
 
schedulePeriodicallyDirect(Runnable, long, long, TimeUnit) - Method in class org.drasyl.util.scheduler.LoggingScheduler
 
schedulePeriodicallyEvent(Event, Duration, Duration) - Method in class org.drasyl.behaviour.Behaviors.EventScheduler
Schedules a self event.
schedulerNamePrefix - Variable in class org.drasyl.util.scheduler.DrasylScheduler
 
second() - Method in class org.drasyl.util.Pair
 
second() - Method in class org.drasyl.util.Triple
 
SecretKey - Interface in org.drasyl.identity
 
SecretUtil - Class in org.drasyl.util
Utility class for security-related operations.
send(String, Object) - Method in class org.drasyl.DrasylNode
Sends the content of payload to the identity recipient.
send(DrasylAddress, Object) - Method in class org.drasyl.DrasylNode
Sends the content of payload to the identity recipient.
sendAck(HandlerContext, Address, IdentityPublicKey, Session) - Static method in class org.drasyl.remote.handler.crypto.ArmHandlerUtil
Sends an acknowledgement message to the recipientsAddress.
sendEncrypted(SessionPair, AgreementId, HandlerContext, Address, RemoteEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Static method in class org.drasyl.remote.handler.crypto.ArmHandlerUtil
Encrypts the given msg with the given agreementPair.
SENDER_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
sendKeyExchangeMsg(HandlerContext, Session, Agreement, Address, IdentityPublicKey) - Static method in class org.drasyl.remote.handler.crypto.ArmHandlerUtil
Sends the given agreement as key exchange message to the recipient.
Serialization - Class in org.drasyl.pipeline.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.pipeline.serialization.Serialization
 
SERIALIZATION_BINDINGS_INBOUND - Static variable in class org.drasyl.DrasylConfig
 
SERIALIZATION_BINDINGS_OUTBOUND - Static variable in class org.drasyl.DrasylConfig
 
SERIALIZATION_SERIALIZERS - Static variable in class org.drasyl.DrasylConfig
 
serializationsBindingsInbound(Map<Class<?>, String>) - Method in class org.drasyl.DrasylConfig.Builder
 
serializationsBindingsInboundBuilder() - Method in class org.drasyl.DrasylConfig.Builder
 
serializationsBindingsOutboundBuilder() - Method in class org.drasyl.DrasylConfig.Builder
 
serializationSerializers(Map<String, Serializer>) - Method in class org.drasyl.DrasylConfig.Builder
 
serialize(byte[], JsonGenerator, SerializerProvider) - Method in class org.drasyl.serialization.JacksonJsonSerializer.BytesToHexStringSerializer
 
Serializer - Interface in org.drasyl.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.serialization.Serializers
 
SERIALIZER_JACKSON_JSON - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_JAVA - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_PRIMITIVE_BOOLEAN - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_PRIMITIVE_BYTE - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_PRIMITIVE_CHAR - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_PRIMITIVE_FLOAT - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_PRIMITIVE_INT - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_PRIMITIVE_LONG - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_PRIMITIVE_SHORT - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_PROTO - Static variable in class org.drasyl.serialization.Serializers
 
SERIALIZER_STRING - Static variable in class org.drasyl.serialization.Serializers
 
Serializers - Class in org.drasyl.serialization
This class contains some constants with the identifiers of default serializers.
Service(String, URI, InetAddress) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.Service
 
Session - Class in org.drasyl.remote.handler.crypto
This class holds the current (long time/session | active/inactive/stale) Agreements between two nodes.
Session(AgreementId, SessionPair, int, Duration) - Constructor for class org.drasyl.remote.handler.crypto.Session
 
Session(AgreementId, SessionPair, ConcurrentReference<Agreement>, int, Duration) - Constructor for class org.drasyl.remote.handler.crypto.Session
 
SESSIONKEY_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
set(T) - Method in class org.drasyl.util.Worm
Sets the value to value,
setAddressV4(int) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
4 bytes fix
setAddressV6(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
16 bytes fix
setAgreementId(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
32 bytes fix (SHA-256 hash of both public key agreement keys)
setAgreementId(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
32 bytes fix (SHA-256 hash of both public key agreement keys)
setAgreementId(AgreementId) - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
setChildrenTime(long) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
uint64 childrenTime = 1;
setChunkNo(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 2 bytes (by definition, only values up to 65535 are allowed)
setCorrespondingId(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
24 bytes fix from previous nonce
setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
setHopCount(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
1 byte fix (by definition, only values between 1 and 127 are allowed)
setNetworkId(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 4 bytes
setNonce(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
24 bytes fix
setPayload(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
bytes payload = 1;
setPermissions(File) - Method in class org.drasyl.crypto.loader.DrasylResourceLoader
Sets permissions on a file or directory.
setPermissions(File, Set<PosixFilePermission>) - Method in class org.drasyl.crypto.loader.DrasylResourceLoader
Sets a file or directory's permissions.
setPort(int) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
2 bytes fix
setProofOfWork(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 4 bytes
setPublicKey(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
33 bytes fix
setRecipient(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
32 bytes fix
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
setSender(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
32 bytes fix
setSessionKey(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
32 bytes fix
setTotalChunks(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
up to 2 bytes (by definition, only values up to 65535 are allowed)
setType(String) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
string type = 2;
setType(Protocol.MessageType) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
.org.drasyl.remote.protocol.MessageType type = 1;
setTypeBytes(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
string type = 2;
setTypeValue(int) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
.org.drasyl.remote.protocol.MessageType type = 1;
setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
 
SetUtil - Class in org.drasyl.util
Utility class for operations on Sets.
sha256(byte[]...) - Static method in class org.drasyl.crypto.Hashing
Generates a SHA-256 hash of the given input.
SHA256 - Static variable in class org.drasyl.crypto.Hashing
 
SHA256_LENGTH - Static variable in class org.drasyl.remote.handler.crypto.AgreementId
 
sha256Hex(byte[]) - Static method in class org.drasyl.crypto.Hashing
Generates a SHA-256 hash of the given input.
sha256Hex(String) - Static method in class org.drasyl.crypto.Hashing
Generates a SHA-256 hash of the given input.
ShortSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes Integer objects.
ShortSerializer() - Constructor for class org.drasyl.serialization.ShortSerializer
 
shutdown() - Static method in class org.drasyl.behaviour.Behaviors
A behavior that advises the system to shutdown the DrasylNode.
shutdown() - Method in class org.drasyl.DrasylNode
Shut the drasyl node down.
shutdown() - Static method in class org.drasyl.util.EventLoopGroupUtil
shutdown() - Method in class org.drasyl.util.scheduler.DrasylScheduler
 
shutdown() - Method in class org.drasyl.util.scheduler.DrasylSchedulerUtil.DrasylExecutor
 
shutdown() - Static method in class org.drasyl.util.scheduler.DrasylSchedulerUtil
Shutdown the two schedulers.
SHUTDOWN_TIMEOUT - Static variable in class org.drasyl.util.scheduler.DrasylSchedulerUtil
 
sign(byte[], IdentitySecretKey) - Method in class org.drasyl.crypto.Crypto
Creates a signature for the given message with the given secretKey in detached mode (signature is not appended to message, rather it is standalone).
SimpleDuplexEventAwareHandler<I,​E,​O,​A extends Address> - Class in org.drasyl.pipeline.skeleton
HandlerAdapter which allows to explicit only handle a specific type of messages and events.
SimpleDuplexEventAwareHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
 
SimpleDuplexEventAwareHandler(Class<? extends I>, Class<? extends E>, Class<? extends O>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
 
SimpleDuplexHandler<I,​O,​A extends Address> - Class in org.drasyl.pipeline.skeleton
HandlerAdapter which allows to explicit only handle a specific type of messages and events.
SimpleDuplexHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexHandler
 
SimpleDuplexHandler(Class<? extends I>, Class<? extends O>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexHandler
 
SimpleDuplexRemoteEnvelopeSkipLoopbackHandler<I extends RemoteEnvelope<?>,​O extends RemoteEnvelope<?>,​A extends Address> - Class in org.drasyl.pipeline.skeleton
This handler skips RemoteEnvelopes that has no recipient or sender or is addresses to a loopback (to us from us).
SimpleDuplexRemoteEnvelopeSkipLoopbackHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexRemoteEnvelopeSkipLoopbackHandler
By default also messages that has no sender or recipient are skipped.
SimpleDuplexRemoteEnvelopeSkipLoopbackHandler(boolean) - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexRemoteEnvelopeSkipLoopbackHandler
 
SimpleInboundEventAwareHandler<I,​E,​A extends Address> - Class in org.drasyl.pipeline.skeleton
HandlerAdapter which allows to explicit only handle a specific type of inbound messages and events.
SimpleInboundEventAwareHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
Create a new instance which will try to detect the types to match out of the type parameter of the class.
SimpleInboundEventAwareHandler(Class<? extends I>, Class<? extends E>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
Create a new instance
SimpleInboundHandler<I,​A extends Address> - Class in org.drasyl.pipeline.skeleton
HandlerAdapter which allows to explicit only handle a specific type of inbound messages.
SimpleInboundHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleInboundHandler
 
SimpleInboundHandler(Class<? extends I>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleInboundHandler
Create a new instance
SimpleOutboundHandler<O,​A extends Address> - Class in org.drasyl.pipeline.skeleton
HandlerAdapter which allows to explicit only handle a specific type of messages.
SimpleOutboundHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
Create a new instance which will try to detect the types to match out of the type parameter of the class.
SimpleOutboundHandler(Class<? extends O>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
Create a new instance
SK_CURVE_25519_KEY_LENGTH - Static variable in class org.drasyl.crypto.Crypto
 
SK_LONG_TIME_KEY_LENGTH - Static variable in class org.drasyl.crypto.Crypto
 
Skip - Annotation Type in org.drasyl.pipeline
Indicates that the annotated handler method (Handler.onInbound(HandlerContext, Address, Object, CompletableFuture), Handler.onOutbound(HandlerContext, Address, Object, CompletableFuture), Handler.onEvent(HandlerContext, Event, CompletableFuture) or Handler.onException(HandlerContext, Exception)) in Handler will not be invoked by the Pipeline and so MUST only be used when the Handler method does nothing except forward to the next Handler in the pipeline.
Slf4JLogger - Class in org.drasyl.util.logging
SLF4J logger.
Slf4JLoggerFactory - Class in org.drasyl.util.logging
Logger factory which creates a SLF4J logger.
Slf4JLoggerFactory() - Constructor for class org.drasyl.util.logging.Slf4JLoggerFactory
 
socketAddressFromString(String) - Static method in class org.drasyl.util.InetSocketAddressUtil
Converts s to an InetSocketAddressWrapper.
SSDP_DISCOVERY_RESPONSE_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
SSDP_HEADER_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
SSDP_MAX_WAIT_TIME - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
SSDP_MULTICAST_ADDRESS - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
start() - Method in class org.drasyl.DrasylNode
Start the drasyl node.
start() - Method in class org.drasyl.util.scheduler.DrasylScheduler
 
start(HandlerContext, NodeUpEvent, Runnable) - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
 
start(HandlerContext, NodeUpEvent, Runnable) - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
 
start(HandlerContext, NodeUpEvent, Runnable) - Method in interface org.drasyl.remote.handler.portmapper.PortMapping
Tells the method to create a port forwarding and renew it independently.
start(HandlerContext, NodeUpEvent, Runnable) - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
 
Stateless - Annotation Type in org.drasyl.pipeline
Indicates that the annotated handler class is stateless and can safely be shared among multiple instances.
STATIC_ROUTES_HANDLER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
StaticRoutesHandler - Class in org.drasyl.remote.handler
This handler uses preconfigured static routes (DrasylConfig.getStaticRoutes(Config, String)) to deliver messages.
StatusInfo(String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
 
stop(HandlerContext) - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
 
stop(HandlerContext) - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
 
stop(HandlerContext) - Method in interface org.drasyl.remote.handler.portmapper.PortMapping
Shall remove any existing port forwarding again.
stop(HandlerContext) - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
 
StringSerializer - Class in org.drasyl.serialization
This Serializer (de)serializes String objects.
StringSerializer() - Constructor for class org.drasyl.serialization.StringSerializer
 
SUCCESS - org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
SUCCESS - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
swap() - Method in class org.drasyl.util.Ansi
 

T

tail - Variable in class org.drasyl.pipeline.AbstractPipeline
 
TCP_CLIENT - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
TCP_SERVER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
TcpClient - Class in org.drasyl.remote.handler.tcp
This handler monitors how long the node has not received a response from any super peer.
TcpClient(DrasylConfig) - Constructor for class org.drasyl.remote.handler.tcp.TcpClient
 
TcpServer - Class in org.drasyl.remote.handler.tcp
Starts a TCP-based server, allowing clients in very restrictive networks that do not allow UDP-based traffic to connect to this super peer via TCP.
TcpServer() - Constructor for class org.drasyl.remote.handler.tcp.TcpServer
 
third() - Method in class org.drasyl.util.Triple
 
ThrowingBiConsumer<T,​U,​E extends Exception> - Interface in org.drasyl.util
BiConsumer that can throw checked Exceptions.
ThrowingBiFunction<T,​U,​R,​E extends Exception> - Interface in org.drasyl.util
BiFunction that can throw checked Exceptions.
ThrowingConsumer<T,​E extends Exception> - Interface in org.drasyl.util
Consumer that can throw checked Exceptions.
ThrowingFunction<T,​R,​E extends Exception> - Interface in org.drasyl.util
Function that can throw checked Exceptions.
ThrowingRunnable<E extends Exception> - Interface in org.drasyl.util
Runnable that can throw checked Exceptions.
ThrowingSupplier<T,​E extends Exception> - Interface in org.drasyl.util
Supplier that can throw checked Exceptions.
TIMEOUT - Static variable in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
 
TIMEOUT - Static variable in class org.drasyl.remote.handler.portmapper.PcpPortMapping
 
TIMEOUT - Static variable in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
 
toBuilder() - Method in class org.drasyl.remote.handler.crypto.Agreement
 
toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.Application
 
toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
toByteArray() - Method in class org.drasyl.identity.IdentityPublicKey
 
toByteArray() - Method in class org.drasyl.identity.IdentitySecretKey
 
toByteArray() - Method in interface org.drasyl.identity.Key
 
toByteArray() - Method in class org.drasyl.identity.KeyAgreementPublicKey
 
toByteArray() - Method in class org.drasyl.identity.KeyAgreementSecretKey
 
toByteArray() - Method in class org.drasyl.remote.protocol.Nonce
 
toByteArray(Object) - Method in class org.drasyl.serialization.DisabledSerializer
 
toByteArray(Object) - Method in class org.drasyl.serialization.JacksonJsonSerializer
 
toByteArray(Object) - Method in class org.drasyl.serialization.NullSerializer
 
toByteArray(Object) - Method in interface org.drasyl.serialization.Serializer
Serializes the given object into an array of bytes
toBytes() - Method in class org.drasyl.remote.handler.crypto.AgreementId
 
toBytes() - Method in class org.drasyl.util.UnsignedInteger
 
toBytes() - Method in class org.drasyl.util.UnsignedShort
 
toByteString() - Method in class org.drasyl.remote.handler.crypto.AgreementId
 
toByteString() - Method in class org.drasyl.remote.protocol.Nonce
 
toFuture(Future<T>) - Static method in class org.drasyl.util.FutureUtil
Translates the Netty Future to a CompletableFuture.
toInetSocketAddress() - Method in class org.drasyl.peer.Endpoint
 
tokenBucket - Variable in class org.drasyl.pipeline.handler.OutboundMessagesThrottlingHandler.RateLimitedQueue
 
TokenBucket - Class in org.drasyl.util
This class implements the token bucket algorithm as a leaky bucket.
TokenBucket(long, Duration, boolean) - Constructor for class org.drasyl.util.TokenBucket
Creates a new leaky token bucket.
toSodiumKey() - Method in class org.drasyl.identity.IdentityPublicKey
 
toSodiumKey() - Method in class org.drasyl.identity.IdentitySecretKey
 
toSodiumKey() - Method in interface org.drasyl.identity.Key
 
toSodiumKey() - Method in class org.drasyl.identity.KeyAgreementPublicKey
 
toSodiumKey() - Method in class org.drasyl.identity.KeyAgreementSecretKey
 
toString() - Method in class org.drasyl.behaviour.Behavior
 
toString() - Method in class org.drasyl.behaviour.DeferredBehavior
 
toString() - Method in class org.drasyl.identity.IdentityPublicKey
 
toString() - Method in class org.drasyl.identity.IdentitySecretKey
 
toString() - Method in class org.drasyl.identity.KeyAgreementPublicKey
 
toString() - Method in class org.drasyl.identity.KeyAgreementSecretKey
 
toString() - Method in class org.drasyl.peer.Endpoint
 
toString() - Method in class org.drasyl.peer.PeersManager
 
toString() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
 
toString() - Method in class org.drasyl.remote.handler.crypto.AgreementId
 
toString() - Method in class org.drasyl.remote.handler.InternetDiscovery.Ping
 
toString() - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
 
toString() - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
 
toString() - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
 
toString() - Method in class org.drasyl.remote.protocol.Nonce
 
toString() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
toString() - Method in class org.drasyl.util.ConcurrentReference
 
toString() - Method in class org.drasyl.util.MaskedString
Returns a masked representation of this String.
toString() - Method in class org.drasyl.util.Pair
 
toString() - Method in class org.drasyl.util.Triple
 
toString() - Method in class org.drasyl.util.UnsignedInteger
 
toString() - Method in class org.drasyl.util.UnsignedShort
 
toString() - Method in class org.drasyl.util.Worm
 
toString(byte[]) - Static method in class org.drasyl.crypto.HexUtil
Converts a byte[] into a string representation
TOTALCHUNKS_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
touch() - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
touch(Object) - Method in class org.drasyl.remote.protocol.RemoteEnvelope
 
toUnmaskedString() - Method in class org.drasyl.identity.IdentitySecretKey
 
toUnmaskedString() - Method in class org.drasyl.identity.KeyAgreementSecretKey
 
toUnmaskedString() - Method in interface org.drasyl.identity.SecretKey
 
toUnmaskedString() - Method in class org.drasyl.util.MaskedString
Returns the unmasked representation of this String.
trace(String) - Method in class org.drasyl.util.logging.JdkLogger
 
trace(String) - Method in interface org.drasyl.util.logging.Logger
Log a message at the TRACE level.
trace(String) - Method in class org.drasyl.util.logging.Slf4JLogger
 
trace(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
trace(String, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the TRACE level according to the specified format and argument.
trace(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
trace(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
 
trace(String, Object...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the TRACE level according to the specified format and arguments.
trace(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
 
trace(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
trace(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the TRACE level according to the specified format and arguments.
trace(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
trace(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
 
trace(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the TRACE level with an accompanying message.
trace(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
 
trace(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the TRACE level according to the specified format and argument supplier.
trace(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the TRACE level according to the specified format and argument suppliers.
trace(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the TRACE level according to the specified format and argument suppliers.
trace(Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the TRACE level.
TRACE - org.drasyl.util.logging.LogLevel
 
Triple<A,​B,​C> - Class in org.drasyl.util
A tuple of three elements.
tryConsume() - Method in class org.drasyl.pipeline.handler.OutboundMessagesThrottlingHandler.RateLimitedQueue
 
TYPE_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Application
 
TYPE_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
TypeParameterMatcher - Class in org.drasyl.util
Adapted from netty TypeParameterMatcher
TypeReference<T> - Class in org.drasyl.util
This class is used for obtaining full generics type information by sub-classing.
TypeReference() - Constructor for class org.drasyl.util.TypeReference
 

U

UDP_MULTICAST_SERVER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
UDP_SERVER - Static variable in class org.drasyl.pipeline.DrasylPipeline
 
UdpMulticastServer - Class in org.drasyl.remote.handler
Starts an UDP server which joins a multicast group and together with the LocalNetworkDiscovery is responsible for discovering other nodes in the local network.
UdpServer - Class in org.drasyl.remote.handler
Binds to a udp port, sends outgoing messages via udp, and sends received udp packets to the DrasylPipeline.
UdpServer() - Constructor for class org.drasyl.remote.handler.UdpServer
 
underline() - Method in class org.drasyl.util.Ansi
 
unhandled() - Static method in class org.drasyl.behaviour.Behaviors
A behavior that keeps the same behavior and signals that the event was not handled (event will be logged with DEBUG level).
unite(int, IdentityPublicKey, ProofOfWork, IdentityPublicKey, IdentityPublicKey, InetSocketAddress) - Static method in class org.drasyl.remote.protocol.RemoteEnvelope
Creates a new Protocol.Unite message (sent by InternetDiscovery; used for UDP hole punching}.
UNITE - org.drasyl.remote.protocol.Protocol.MessageType
UNITE = 3;
UNITE_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
UNITE = 3;
UNRECOGNIZED - org.drasyl.remote.protocol.Protocol.MessageType
 
unsafeStaticFieldOffsetSupported() - Static method in class org.drasyl.util.PlatformDependent
Returns true if access to Unsafe.staticFieldOffset(Field) is supported, false otherwise.
UnsignedInteger - Class in org.drasyl.util
This class represents an unsigned integer in a rang of [0, 2^32 - 1]
UnsignedShort - Class in org.drasyl.util
This class represents an unsigned short in a rang of [0, 2^16 - 1]
UNSUPP_OPCODE - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
UNSUPP_OPTION - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
UNSUPP_PROTOCOL - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
UNSUPP_VERSION - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
UNSUPPORTED_OPCODE - org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
UNSUPPORTED_VERSION - org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
UPNP_ERROR_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
UPNP_EXTERNAL_IP_ADDRESS_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
UPNP_NEW_CONNECTION_STATUS_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
UPNP_NEW_INTERNAL_CLIENT_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
UPNP_NEW_INTERNAL_PORT_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
UPNP_NEW_LEASE_DURATION_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
UPNP_NEW_PORT_MAPPING_DESCRIPTION_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
UPNP_SERVICE_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
 
UpnpIgdPortMapping - Class in org.drasyl.remote.handler.portmapper
Port Forwarding on NAT-enabled routers via UPnP-IGD.
UpnpIgdPortMapping() - Constructor for class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
 
UpnpIgdUtil - Class in org.drasyl.util.protocol
Utility class for Universal Plug and Play (UPnP) Internet Gateway Device-related stuff.
UpnpIgdUtil() - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil
 
UpnpIgdUtil.DiscoveryResponseMessage - Class in org.drasyl.util.protocol
 
UpnpIgdUtil.ExternalIpAddress - Class in org.drasyl.util.protocol
 
UpnpIgdUtil.MappingEntry - Class in org.drasyl.util.protocol
 
UpnpIgdUtil.Message - Interface in org.drasyl.util.protocol
 
UpnpIgdUtil.PortMapping - Class in org.drasyl.util.protocol
 
UpnpIgdUtil.Service - Class in org.drasyl.util.protocol
 
UpnpIgdUtil.StatusInfo - Class in org.drasyl.util.protocol
 
UriUtil - Class in org.drasyl.util
Utility class for operations on URIs.
urlToFile(String) - Static method in class org.drasyl.crypto.loader.DrasylResourceLoader
Converts the given URL string to its corresponding File.
urlToFile(URL) - Static method in class org.drasyl.crypto.loader.DrasylResourceLoader
Converts the given URL to its corresponding File.
UrlUtil - Class in org.drasyl.util
Utility class for operations on URLs.
USER_EX_QUOTA - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 

V

valueOf(int) - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
Deprecated.
valueOf(int) - Static method in enum org.drasyl.remote.protocol.Protocol.Unite.AddressCase
Deprecated.
valueOf(Descriptors.EnumValueDescriptor) - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.remote.protocol.Protocol.Unite.AddressCase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.util.Ansi.Color
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.util.logging.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.remote.protocol.Protocol.Unite.AddressCase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.util.Ansi.Color
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.util.logging.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
Returns an array containing the constants of this enum type, in the order they are declared.
verifySignature(byte[], byte[], IdentityPublicKey) - Method in class org.drasyl.crypto.Crypto
Verifies that signature is valid for the message.
VisualPipeline - Class in org.drasyl.pipeline
Helper class to visualize the Handler order of a given AbstractPipeline.

W

warn(String) - Method in class org.drasyl.util.logging.JdkLogger
 
warn(String) - Method in interface org.drasyl.util.logging.Logger
Log a message at the WARN level.
warn(String) - Method in class org.drasyl.util.logging.Slf4JLogger
 
warn(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
warn(String, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the WARN level according to the specified format and argument.
warn(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
warn(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
 
warn(String, Object...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the WARN level according to the specified format and arguments.
warn(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
 
warn(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
 
warn(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
Log a message at the WARN level according to the specified format and arguments.
warn(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
 
warn(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
 
warn(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the WARN level with an accompanying message.
warn(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
 
warn(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the WARN level according to the specified format and argument supplier.
warn(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
Log a message at the WARN level according to the specified format and argument suppliers.
warn(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
Log a message at the WARN level according to the specified format and argument suppliers.
warn(Throwable) - Method in interface org.drasyl.util.logging.Logger
Log an exception (throwable) at the WARN level.
WARN - org.drasyl.util.logging.LogLevel
 
WATCH_SERVICE_POLL_INTERVAL - Static variable in class org.drasyl.localhost.LocalHostDiscovery
 
webSocketPort(URI) - Static method in class org.drasyl.util.WebSocketUtil
 
WebSocketUtil - Class in org.drasyl.util
Utility class for operations on websocket URIs (e.g.
when(Function<Flowable<Flowable<Completable>>, Completable>) - Method in class org.drasyl.util.scheduler.DrasylScheduler
 
white() - Method in class org.drasyl.util.Ansi
 
WHITE - org.drasyl.util.Ansi.Color
 
withScheduler(Function<Behaviors.EventScheduler, Behavior>) - Static method in class org.drasyl.behaviour.Behaviors
A behavior with support for scheduled self events in a node.
withScheduler(Function<Behaviors.EventScheduler, Behavior>, Scheduler) - Static method in class org.drasyl.behaviour.Behaviors
A behavior with support for scheduled self events in a node.
Worm<T> - Class in org.drasyl.util
This class wraps an object of type T and serves as a write once read many (worm) memory.
wrap(Scheduler, String) - Static method in class org.drasyl.util.scheduler.DrasylScheduler
Wraps the given scheduler and returns a DrasylScheduler instance.
wrap(Scheduler, String) - Static method in class org.drasyl.util.scheduler.LoggingScheduler
 
writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
 
writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.Application
 
writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.Discovery
 
writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchange
 
writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.KeyExchangeAcknowledgement
 
writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
 
writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
 
writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.Unite
 
WS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
 
WSS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
 

Y

yellow() - Method in class org.drasyl.util.Ansi
 
YELLOW - org.drasyl.util.Ansi.Color
 

Z

ZERO_IPV4 - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
ZERO_IPV6 - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
A B C D E F G H I J K L M N O P Q R S T U V W Y Z 
All Classes All Packages