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

A

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.
acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
 
acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.ByteToRemoteMessageCodec
 
acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
 
acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.crypto.UnarmedMessageDecoder
 
acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.InvalidProofOfWorkFilter
 
acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.OtherNetworkFilter
 
acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.portmapper.PortMapper
 
acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.RateLimiter
 
acceptMessage(InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
 
acceptMessage(InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
 
acceptMessage(InetSocketAddress, ByteBuf) - Method in interface org.drasyl.handler.remote.portmapper.PortMapping
Is called for incoming messages and returns true if the message should be consumed and removed from the pipeline.
acceptMessage(InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
 
acceptOutboundMessage(Object) - Method in class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
 
acceptOutboundMessage(Object) - Method in class org.drasyl.handler.remote.ByteToRemoteMessageCodec
 
acceptOutboundMessage(Object) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
 
acceptOutboundMessage(Object) - Method in class org.drasyl.handler.stream.LargeByteBufToChunkedMessageEncoder
 
ACKNOWLEDGEMENT - org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
 
AcknowledgementMessage - Class in org.drasyl.handler.remote.protocol
Acknowledges a HelloMessage.
AcknowledgementMessage() - Constructor for class org.drasyl.handler.remote.protocol.AcknowledgementMessage
 
add(int, MessageChunk) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
add(E) - Method in class org.drasyl.util.ExpiringSet
 
add(ChannelHandlerContext, Runnable) - Method in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
 
add(CompletableFuture<?>) - Method in class org.drasyl.util.FutureCombiner
Adds a new future to be combined.
add(GoBackNArqData, ChannelPromise) - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
 
add(GoBackNArqData, ChannelPromise) - Method in interface org.drasyl.handler.arq.gobackn.Window
Adds the given msg to the window, if there is enough capacity.
add(PathEvent) - Method in class org.drasyl.handler.discovery.DuplicatePathEventFilter
 
add(MessageChunk) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
addAll(int, Collection<? extends MessageChunk>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
addAll(Collection<? extends E>) - Method in class org.drasyl.util.ExpiringSet
 
addAll(Collection<? extends MessageChunk>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
addAll(CompletableFuture<?>...) - Method in class org.drasyl.util.FutureCombiner
Adds a new futures to be combined.
AddPathAndChildrenEvent - Class in org.drasyl.handler.discovery
Signals that a direct routing path has been discovered to PathEvent.getAddress() and that this peer is registered at us as a children.
AddPathAndChildrenEvent() - Constructor for class org.drasyl.handler.discovery.AddPathAndChildrenEvent
 
AddPathAndSuperPeerEvent - Class in org.drasyl.handler.discovery
Signals that a direct routing path has been discovered to PathEvent.getAddress() and that we are registered as a children as this peer.
AddPathAndSuperPeerEvent() - Constructor for class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
 
AddPathEvent - Class in org.drasyl.handler.discovery
Signals that a direct routing path has been discovered to PathEvent.getAddress().
AddPathEvent() - Constructor for class org.drasyl.handler.discovery.AddPathEvent
 
addPortMapping(URI, String, Integer, InetAddress, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
address() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
 
address() - Method in class org.drasyl.util.network.Subnet
 
ADDRESS_MISMATCH - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
addresses() - Method in class org.drasyl.handler.remote.LocalHostPeerInformation
 
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 - org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
 
ApplicationMessage - Class in org.drasyl.handler.remote.protocol
Describes a message sent by an application running on drasyl.
ApplicationMessage() - Constructor for class org.drasyl.handler.remote.protocol.ApplicationMessage
 
ApplicationMessageToPayloadCodec - Class in org.drasyl.handler.remote
This codec converts ApplicationMessages to the embedded payload and vice versa.
ApplicationMessageToPayloadCodec(int, IdentityPublicKey, ProofOfWork) - Constructor for class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
 
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(ByteBuf, Crypto, SessionPair) - Method in interface org.drasyl.handler.remote.protocol.FullReadMessage
Returns an armed version (ArmedProtocolMessage) of this message for sending it through untrustworthy channels.
arm(Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
Returns an armed version (ArmedProtocolMessage) of this message.
armAndRelease(Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
Returns an armed version (ArmedProtocolMessage) of this message and then releases this message.
ARMED_HEADER_LENGTH - Static variable in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
ARMED_LENGTH - Static variable in class org.drasyl.handler.remote.protocol.PrivateHeader
 
ArmedProtocolMessage - Class in org.drasyl.handler.remote.protocol
Describes a protocol message whose contents has been armed by using authenticated encryption with associated data.
ArmedProtocolMessage() - Constructor for class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
ArrayUtil - Class in org.drasyl.util
Utility class for operations on arrays.
artifactId() - Method in class org.drasyl.util.Version
 
available(int) - Static method in class org.drasyl.util.network.NetworkUtil
Checks to see if a specific port is available.
availableProcessors() - Method in class org.drasyl.util.OSInfo
 
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
 
beginAggregation(MessageChunk, ByteBuf) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
 
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.
BindFailedException(String, Throwable) - Constructor for exception org.drasyl.handler.remote.tcp.TcpServer.BindFailedException
 
BindFailedException(String, Throwable) - Constructor for exception org.drasyl.handler.remote.UdpServer.BindFailedException
 
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
 
BROADCAST_ADDRESS - Static variable in class org.drasyl.handler.remote.UdpBroadcastServer
 
buildAuthTag() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
Builds the authentication tag from this public header.
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 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
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.
buildSsdpDiscoveryMessage() - Static method in class org.drasyl.util.protocol.UpnpIgdUtil
 
BUNDLED_ONLY - Static variable in class org.drasyl.crypto.loader.LibraryLoader
 
bytesToHex(byte[]) - Static method in class org.drasyl.crypto.HexUtil
Converts an array of bytes into a string.
ByteToGoBackNArqDataCodec - Class in org.drasyl.handler.arq.gobackn
Encodes ByteBufs to AbstractGoBackNArqDatas and vice versa.
ByteToGoBackNArqDataCodec() - Constructor for class org.drasyl.handler.arq.gobackn.ByteToGoBackNArqDataCodec
 
ByteToRemoteMessageCodec - Class in org.drasyl.handler.remote
This codec converts ByteBufs to RemoteMessages an vice versa.
ByteToRemoteMessageCodec() - Constructor for class org.drasyl.handler.remote.ByteToRemoteMessageCodec
 
ByteToStopAndWaitArqDataCodec - Class in org.drasyl.handler.arq.stopandwait
Encodes ByteBufs to StopAndWaitArqDatas and vice versa.
ByteToStopAndWaitArqDataCodec() - Constructor for class org.drasyl.handler.arq.stopandwait.ByteToStopAndWaitArqDataCodec
 
ByteUtil - Class in org.drasyl.util
Utility class for operations on bytes.

C

CANNOT_PROVIDE_EXTERNAL - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
cartesianProduct(Set<A>, Set<B>) - Static method in class org.drasyl.util.SetUtil
Returns the cartesian product of the two sets a and b.
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.discovery.IntraVmDiscovery
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.logging.MessagesThroughputHandler
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.monitoring.TelemetryHandler
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.StaticRoutesHandler
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClient
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpServer
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpBroadcastServer
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpMulticastServer
 
channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.discovery.IntraVmDiscovery
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.logging.MessagesThroughputHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.monitoring.TelemetryHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.LocalHostDiscovery
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.PortMapper
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.StaticRoutesHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClient
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpServer
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpBroadcastServer
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpMulticastServer
 
channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
 
channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.logging.MessagesThroughputHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.internet.TraversingInternetDiscoveryChildrenHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
 
channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.tcp.TcpClient
 
channelRead0(ChannelHandlerContext, InetAddressedMessage<ByteBuf>) - Method in class org.drasyl.handler.remote.portmapper.PortMapper
 
channelRead0(ChannelHandlerContext, InetAddressedMessage<FullReadMessage<?>>) - Method in class org.drasyl.handler.remote.RateLimiter
 
channelRead0(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>) - Method in class org.drasyl.handler.remote.InvalidProofOfWorkFilter
 
channelRead0(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>) - Method in class org.drasyl.handler.remote.OtherNetworkFilter
 
childrenPeers - Variable in class org.drasyl.handler.monitoring.TopologyHandler
 
childrenPeers - Variable in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 
childrenPeers() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
 
ChunkedMessageAggregator - Class in org.drasyl.handler.stream
ChunkedMessageAggregator(int) - Constructor for class org.drasyl.handler.stream.ChunkedMessageAggregator
Creates a new instance.
ChunkedMessageInput - Class in org.drasyl.handler.stream
Wraps each chunk of the specified ChunkedInput into a series of sortable MessageChunks, allowing the receiver to reassemble the ByteBuf in correct order.
ChunkedMessageInput(ChunkedInput<ByteBuf>) - Constructor for class org.drasyl.handler.stream.ChunkedMessageInput
 
chunkNo() - Method in class org.drasyl.handler.stream.MessageChunk
 
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.handler.stream.MessageChunksBufferInputList
 
clear() - Method in class org.drasyl.util.ExpiringMap
 
clear() - Method in class org.drasyl.util.ExpiringSet
 
close() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
close() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
close() - Method in interface org.drasyl.handler.remote.protocol.PartialReadMessage
Calls ReferenceCounted.release().
close() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
close() - Method in class org.drasyl.handler.stream.ChunkedMessageInput
 
closeAfterContinueResponse(Object) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
 
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 two keys k1 and k2 to allow to form a total order on the keys.
compareTo(HopCount) - Method in class org.drasyl.handler.remote.protocol.HopCount
 
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).
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() - Static method in class org.drasyl.util.ArrayUtil
Returns an empty arrray.
concat(byte[]...) - Static method in class org.drasyl.util.ArrayUtil
Returns a new array containing all elements from given arrays.
concat(E[]...) - Static method in class org.drasyl.util.ArrayUtil
Returns a new array containing all elements from given arrays.
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() - Method in class org.drasyl.channel.DrasylChannel
 
config() - Method in class org.drasyl.channel.DrasylServerChannel
 
consume() - Method in class org.drasyl.util.TokenBucket
Consumes a token from the bucket.
contains(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
contains(Object) - Method in class org.drasyl.util.ExpiringSet
 
contains(InetAddress) - Method in class org.drasyl.util.network.Subnet
Returns true if address is part of this subnet.
containsAll(Collection<?>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
containsAll(Collection<?>) - Method in class org.drasyl.util.ExpiringSet
 
containsKey(Object) - Method in class org.drasyl.util.ExpiringMap
 
containsValue(Object) - Method in class org.drasyl.util.ExpiringMap
 
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.
convertPublicKeyEd25519ToCurve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
Converts a public ed25519 key to a public curve25519 key.
convertSecretKeyEd25519ToCurve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
Converts a secret ed25519 key to a secret curve25519 key.
cpuName() - Method in class org.drasyl.util.OSInfo
 
createInetAddress(String) - Static method in class org.drasyl.util.network.NetworkUtil
Creates a InetAddress by parsing the given string.
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.
Crypto - Class in org.drasyl.crypto
Util class that provides cryptography functions for drasyl.
crypto_aead_xchacha20poly1305_ietf_decrypt(byte[], long[], byte[], byte[], long, byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_aead_xchacha20poly1305_ietf_encrypt(byte[], long[], byte[], long, byte[], long, byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_hash_sha256(byte[], byte[], long) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_kx_client_session_keys(byte[], byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_kx_keypair(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_kx_server_session_keys(byte[], byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_sign_detached(byte[], Pointer, byte[], long, byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_sign_ed25519_pk_to_curve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_sign_ed25519_sk_to_curve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_sign_keypair(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
crypto_sign_verify_detached(byte[], byte[], long, byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
 
cryptoAeadXChaCha20Poly1305IetfDecrypt(byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
This function decrypts the given ciphertext c.
cryptoAeadXChaCha20Poly1305IetfEncrypt(byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
This function encrypts the given message m.
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
 
cryptoKxClientSessionKeys(byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
This function computes a pair of shared keys (rx and tx) using the client's public key clientPk, the client's secret key clientSk and the server's public key serverPk.
cryptoKxServerSessionKeys(byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
This function computes a pair of shared keys (rx and tx) using the client's public key clientPk, the server's secret key serverSk and the server's public key serverPk.
cryptoSignDetached(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
Returns a signature for a message.
cryptoSignKeypair(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
Generate a signing keypair (ed25519).
cryptoSignVerifyDetached(byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
Verifies that signature is valid for the message.
CSPRNG - Static variable in class org.drasyl.crypto.Crypto
 
currentTime - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
currentUser() - Method in class org.drasyl.util.OSInfo
 
CURVE25519_PUBLICKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
CURVE25519_SECRETKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
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(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.codec.JacksonCodec
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.codec.MaxLengthFrameDecoder
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.stream.MessageChunkDecoder
 
decode(ChannelHandlerContext, AddressedEnvelope<ApplicationMessage, ?>, List<Object>) - Method in class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
 
decode(ChannelHandlerContext, InetAddressedMessage<ByteBuf>, List<Object>) - Method in class org.drasyl.handler.remote.ByteToRemoteMessageCodec
 
decode(ChannelHandlerContext, InetAddressedMessage<ArmedProtocolMessage>, List<Object>) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
 
decode(ChannelHandlerContext, InetAddressedMessage<UnarmedProtocolMessage>, List<Object>) - Method in class org.drasyl.handler.remote.crypto.UnarmedMessageDecoder
 
decode(ChannelHandlerContext, AbstractGoBackNArqData, List<Object>) - Method in class org.drasyl.handler.arq.gobackn.ByteToGoBackNArqDataCodec
 
decode(ChannelHandlerContext, StopAndWaitArqData, List<Object>) - Method in class org.drasyl.handler.arq.stopandwait.ByteToStopAndWaitArqDataCodec
 
decode(ChannelHandlerContext, MessageChunk, List<Object>) - Method in class org.drasyl.handler.stream.MessageChunksBuffer
 
decode(ChannelHandlerContext, ReassembledMessage, List<Object>) - Method in class org.drasyl.handler.stream.ReassembledMessageDecoder
 
decrement() - Method in class org.drasyl.util.UnsignedInteger
 
decrement() - Method in class org.drasyl.util.UnsignedMediumInteger
 
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.
delegate() - Method in class org.drasyl.util.logging.JdkLogger
 
delegate() - Method in class org.drasyl.util.logging.Slf4JLogger
 
deletePortMapping(URI, String, int) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
derivePublicKey() - Method in class org.drasyl.identity.IdentitySecretKey
Derives the IdentityPublicKey from this secret key.
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.
disarm(Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
Returns a disarmed version (FullReadMessage) of this message.
disarmAndRelease(Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
Returns a disarmed version (FullReadMessage) of this message and then releases this message.
DiscoveryResponseMessage(String, String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
 
doBeginRead() - Method in class org.drasyl.channel.DrasylChannel
 
doBeginRead() - Method in class org.drasyl.channel.DrasylServerChannel
 
doBind(SocketAddress) - Method in class org.drasyl.channel.DrasylChannel
 
doBind(SocketAddress) - Method in class org.drasyl.channel.DrasylServerChannel
 
doClose() - Method in class org.drasyl.channel.DrasylChannel
 
doClose() - Method in class org.drasyl.channel.DrasylServerChannel
 
doDisconnect() - Method in class org.drasyl.channel.DrasylChannel
 
doRegister() - Method in class org.drasyl.channel.DrasylChannel
 
doRegister() - Method in class org.drasyl.channel.DrasylServerChannel
 
doWrite(ChannelOutboundBuffer) - Method in class org.drasyl.channel.DrasylChannel
 
DrasylAddress - Class in org.drasyl.identity
Models the address to a peer in the overlay.
DrasylAddress() - Constructor for class org.drasyl.identity.DrasylAddress
 
DrasylChannel - Class in org.drasyl.channel
A virtual Channel for peer communication.
DrasylChannel(Channel, DrasylChannel.State, DrasylAddress, DrasylAddress) - Constructor for class org.drasyl.channel.DrasylChannel
 
DrasylChannel(DrasylServerChannel, DrasylAddress) - Constructor for class org.drasyl.channel.DrasylChannel
 
DrasylServerChannel - Class in org.drasyl.channel
A virtual ServerChannel used for overlay network management.
DrasylServerChannel() - Constructor for class org.drasyl.channel.DrasylServerChannel
 
DrasylSodium - Class in org.drasyl.crypto.sodium
This class loads and binds the JNA Sodium.
DrasylSodium() - Constructor for class org.drasyl.crypto.sodium.DrasylSodium
 
DrasylSodium(File) - Constructor for class org.drasyl.crypto.sodium.DrasylSodium
 
DrasylSodium(String) - Constructor for class org.drasyl.crypto.sodium.DrasylSodium
 
DrasylSodiumWrapper - Class in org.drasyl.crypto.sodium
Simple wrapper class that make native class easier.
DrasylSodiumWrapper(Sodium) - Constructor for class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
DuplicatePathEventFilter - Class in org.drasyl.handler.discovery
This class can be used to filter equal events for a given peer (identifies by PathEvent.getAddress()).
DuplicatePathEventFilter() - Constructor for class org.drasyl.handler.discovery.DuplicatePathEventFilter
 
DurationUtil - Class in org.drasyl.util
Utility class for operations on Durations.

E

ED25519_BYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
ED25519_PUBLICKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
ED25519_SECRETKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.gobackn.ByteToGoBackNArqDataCodec
 
encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.stopandwait.ByteToStopAndWaitArqDataCodec
 
encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.codec.MaxLengthFrameEncoder
 
encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.stream.LargeByteBufToChunkedMessageEncoder
 
encode(ChannelHandlerContext, InetAddressedMessage<FullReadMessage<?>>, List<Object>) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
 
encode(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>, List<Object>) - Method in class org.drasyl.handler.remote.ByteToRemoteMessageCodec
 
encode(ChannelHandlerContext, OverlayAddressedMessage<ByteBuf>, List<Object>) - Method in class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
 
encode(ChannelHandlerContext, GoBackNArqMessage, List<Object>) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
 
encode(ChannelHandlerContext, StopAndWaitArqMessage, List<Object>) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
 
encode(ChannelHandlerContext, MessageChunk, ByteBuf) - Method in class org.drasyl.handler.stream.MessageChunkEncoder
 
encode(ChannelHandlerContext, T, ByteBuf) - Method in class org.drasyl.handler.codec.JacksonCodec
 
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.
entrySet() - Method in class org.drasyl.util.ExpiringMap
 
EPOCH_TIME_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
equals(Object) - Method in class org.drasyl.channel.InetAddressedMessage
 
equals(Object) - Method in class org.drasyl.channel.OverlayAddressedMessage
 
equals(Object) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
 
equals(Object) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
 
equals(Object) - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
 
equals(Object) - Method in class org.drasyl.handler.remote.protocol.HopCount
 
equals(Object) - Method in class org.drasyl.handler.remote.protocol.Nonce
 
equals(Object) - Method in class org.drasyl.handler.stream.MessageChunk
 
equals(Object) - Method in class org.drasyl.util.ConcurrentReference
 
equals(Object) - Method in class org.drasyl.util.ImmutableByteArray
 
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.UnsignedByte
 
equals(Object) - Method in class org.drasyl.util.UnsignedInteger
 
equals(Object) - Method in class org.drasyl.util.UnsignedMediumInteger
 
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
 
EXCESSIVE_REMOTE_PEERS - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
ExpiringMap<K,​V> - Class in org.drasyl.util
A Map that expires entries based on oldest age (when maximum size has been exceeded), write time, or last access time.
ExpiringMap(long, long, long) - Constructor for class org.drasyl.util.ExpiringMap
 
ExpiringSet<E> - Class in org.drasyl.util
A Set that expires elements based on oldest age (when maximum size has been exceeded) or write
ExpiringSet(long, long) - Constructor for class org.drasyl.util.ExpiringSet
 
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
 

F

FILE_SUFFIX - Static variable in class org.drasyl.handler.remote.LocalHostDiscovery
 
filterOutboundMessage(Object) - Method in class org.drasyl.channel.DrasylChannel
 
find(Object, Class<?>, String) - Static method in class org.drasyl.util.TypeParameterMatcher
 
first() - Method in class org.drasyl.util.network.Subnet
Returns the first InetAddress of this subnetwork.
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.
flush(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
 
flush(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClient
 
flush(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
 
format(String) - Method in class org.drasyl.util.Ansi
 
format(String, Object...) - Method in class org.drasyl.util.Ansi
 
forNumber(byte) - Static method in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
 
from(short) - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
from(short) - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
fromString(String) - Static method in class org.drasyl.crypto.HexUtil
Converts a Hexadecimal String into the corresponding byte[]
FullReadMessage<T extends FullReadMessage<?>> - Interface in org.drasyl.handler.remote.protocol
Describes a message whose content has been read completely.
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.Identity
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(DrasylAddress, 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() - 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(int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
get(Class<?>) - Static method in class org.drasyl.util.TypeParameterMatcher
 
get(Object) - Method in class org.drasyl.util.ExpiringMap
 
get(Object) - Method in class org.drasyl.util.HashSetMultimap
 
get(Object) - Method in interface org.drasyl.util.Multimap
Returns the values that are associated to the specified key.
get(Object) - Method in interface org.drasyl.util.SetMultimap
 
getAddress() - Method in interface org.drasyl.handler.discovery.PathEvent
 
getAddress() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
Returns the public key of the peer.
getAddress() - Method in class org.drasyl.identity.Identity
Returns the address for this identity.
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.
getArmed() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
 
getArmed() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
 
getArmedLength() - Method in class org.drasyl.handler.remote.protocol.PrivateHeader
 
getArmedLength(ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.PrivateHeader
 
getArray() - Method in class org.drasyl.util.ImmutableByteArray
 
getByte() - Method in class org.drasyl.handler.remote.protocol.HopCount
 
getBytes() - Method in interface org.drasyl.handler.remote.protocol.PartialReadMessage
Returns the remainder of unread bytes of this message.
getBytes() - Method in interface org.drasyl.identity.Key
 
getChildrenTime() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
If the value is greater than 0, it indicates that this node wants to join the receiver as a child.
getControlUrl() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
 
getDefaultGateway() - Static method in class org.drasyl.util.network.NetworkUtil
 
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
 
getDifficulty(ProofOfWork, DrasylAddress) - Static method in class org.drasyl.identity.ProofOfWork
 
getEpochTime() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getErrorCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
 
getErrorCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
 
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
 
getFreeSpace() - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
 
getFreeSpace() - Method in interface org.drasyl.handler.arq.gobackn.Window
 
getHopCount() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
 
getHopCount() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
 
getIdentityKeyPair() - Method in class org.drasyl.identity.Identity
 
getIdentityPublicKey() - Method in class org.drasyl.identity.Identity
 
getIdentitySecretKey() - Method in class org.drasyl.identity.Identity
 
getInetAddress() - Method in class org.drasyl.handler.discovery.AddPathAndChildrenEvent
 
getInetAddress() - Method in class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
 
getInetAddress() - Method in class org.drasyl.handler.discovery.AddPathEvent
 
getInetAddress() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
Returns the ip address of the peer.
getInstance() - Static method in class org.drasyl.util.FutureCombiner
 
getInstance() - Static method in class org.drasyl.util.OSInfo
 
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.identity.Identity
 
getKeyAgreementSecretKey() - Method in class org.drasyl.identity.Identity
 
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.
getLongTimeKeyAgreementKey() - Method in class org.drasyl.identity.IdentityPublicKey
 
getMappingNonce() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getMsg() - Method in class org.drasyl.handler.arq.gobackn.Window.Frame
 
getNetworkId() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
 
getNetworkId() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
 
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
 
getNonce() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
 
getNonce() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
 
getNonce() - Method in class org.drasyl.identity.ProofOfWork
 
getNumber() - Method in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
 
getNumber() - Method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
getNumber() - Method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
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.
getPath() - Method in interface org.drasyl.handler.discovery.PathEvent
 
getPayload() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
Returns the payload.
getPort() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
Returns the port of the peer.
getPort() - Method in class org.drasyl.handler.remote.tcp.TcpServer.Port
 
getPort() - Method in class org.drasyl.handler.remote.UdpServer.Port
 
getPromise() - Method in class org.drasyl.handler.arq.gobackn.Window.Frame
 
getProofOfWork() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
 
getProofOfWork() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
 
getProofOfWork() - Method in class org.drasyl.identity.Identity
 
getProtocol() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
 
getPublicKey() - Method in class org.drasyl.identity.KeyPair
 
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.
getQueue() - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
 
getQueue() - Method in interface org.drasyl.handler.arq.gobackn.Window
 
getRecipient() - Method in interface org.drasyl.handler.remote.protocol.FullReadMessage
Returns the IdentityPublicKey of the message recipient.
getRecipient() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
Returns the IdentityPublicKey of the message recipient.
getRecipient() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
 
getRecipient() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
 
getRecipient() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
getRx() - Method in class org.drasyl.crypto.sodium.SessionPair
 
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.handler.remote.protocol.PublicHeader
 
getSender() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
 
getServiceType() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
 
getServiceType() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
 
getSignature() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
 
getSocketAddress() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
 
getSodium() - Method in class org.drasyl.crypto.Crypto
Is only for internal usage.
getSodium() - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
getSodiumPathInResources() - Static method in class org.drasyl.crypto.loader.LibraryLoader
 
getSodiumPlatformDependentPath() - Static method in class org.drasyl.crypto.loader.LibraryLoader
 
getSpecificPortMappingEntry(URI, String, Integer) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
getStatusInfo(URI, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
getTime() - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
Returns the HelloMessage.getTime() value of the corresponding HelloMessage.
getTime() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
Returns the time this message has been sent.
getTx() - Method in class org.drasyl.crypto.sodium.SessionPair
 
getType() - Method in class org.drasyl.handler.remote.protocol.PrivateHeader
 
getType() - Method in class org.drasyl.util.TypeParameterMatcher
 
getType() - Method in class org.drasyl.util.TypeReference
Gets the referenced type.
getUpnpService(URI) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
 
getValue() - Method in class org.drasyl.util.ConcurrentReference
 
getValue() - Method in class org.drasyl.util.UnsignedByte
 
getValue() - Method in class org.drasyl.util.UnsignedInteger
 
getValue() - Method in class org.drasyl.util.UnsignedMediumInteger
 
getValue() - Method in class org.drasyl.util.UnsignedShort
 
GoBackNArqAck - Class in org.drasyl.handler.arq.gobackn
Ack message of the Go-Back-N ARQ protocol.
GoBackNArqAck(UnsignedInteger) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqAck
 
GoBackNArqCodec - Class in org.drasyl.handler.arq.gobackn
Encodes GoBackNArqMessages to ByteBufs and vice versa.
GoBackNArqCodec() - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
 
GoBackNArqData - Class in org.drasyl.handler.arq.gobackn
Data message of the Go-Back-N ARQ protocol.
GoBackNArqData(ByteBuf) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqData
 
GoBackNArqData(UnsignedInteger, ByteBuf) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqData
 
GoBackNArqFirstData - Class in org.drasyl.handler.arq.gobackn
First data message of the Go-Back-N ARQ protocol.
GoBackNArqFirstData(ByteBuf) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqFirstData
 
GoBackNArqHandler - Class in org.drasyl.handler.arq.gobackn
Performs the Go-Back-N ARQ protocol.
GoBackNArqHandler(int, Duration, boolean, Duration) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
Creates a new GoBackNArqHandler.
GoBackNArqHandler(int, Duration, Duration) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
Creates a new GoBackNArqHandler.
GoBackNArqHandler(int, Duration, UnsignedInteger, UnsignedInteger, UnsignedInteger, boolean, Duration) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
Creates a new GoBackNArqHandler.
GoBackNArqLastData - Class in org.drasyl.handler.arq.gobackn
Last data message of the Go-Back-N ARQ protocol.
GoBackNArqLastData(UnsignedInteger, ByteBuf) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqLastData
 
GoBackNArqMessage - Interface in org.drasyl.handler.arq.gobackn
Message of the Go-Back-N ARQ protocol.
GoBackNArqRst - Class in org.drasyl.handler.arq.gobackn
Rst message of the Go-Back-N ARQ protocol.
GoBackNArqRst() - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqRst
 
green() - Method in class org.drasyl.util.Ansi
 
GREEN - org.drasyl.util.Ansi.Color
 

H

handleMessage(ChannelHandlerContext, InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
 
handleMessage(ChannelHandlerContext, InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
 
handleMessage(ChannelHandlerContext, InetSocketAddress, ByteBuf) - Method in interface org.drasyl.handler.remote.portmapper.PortMapping
Is called for incoming messages and thus enables this method to react to relevant messages.
handleMessage(ChannelHandlerContext, InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
 
handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
 
handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
 
handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
 
hashCode() - Method in class org.drasyl.channel.InetAddressedMessage
 
hashCode() - Method in class org.drasyl.channel.OverlayAddressedMessage
 
hashCode() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
 
hashCode() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
 
hashCode() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
 
hashCode() - Method in class org.drasyl.handler.remote.protocol.HopCount
 
hashCode() - Method in class org.drasyl.handler.remote.protocol.Nonce
 
hashCode() - Method in class org.drasyl.handler.stream.MessageChunk
 
hashCode() - Method in class org.drasyl.util.ConcurrentReference
 
hashCode() - Method in class org.drasyl.util.ImmutableByteArray
 
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.UnsignedByte
 
hashCode() - Method in class org.drasyl.util.UnsignedInteger
 
hashCode() - Method in class org.drasyl.util.UnsignedMediumInteger
 
hashCode() - Method in class org.drasyl.util.UnsignedShort
 
hashCode() - Method in class org.drasyl.util.Worm
 
Hashing - Class in org.drasyl.crypto
Util class that provides hashing functions for drasyl.
HashSetMultimap<K,​V> - Class in org.drasyl.util
Hash table based implementation of the SetMultimap interface.
HashSetMultimap() - Constructor for class org.drasyl.util.HashSetMultimap
 
HashSetMultimap(int, int) - Constructor for class org.drasyl.util.HashSetMultimap
 
hasPosixSupport(Path) - Static method in class org.drasyl.util.PathUtil
Check if path's file system supports POSIX.
HELLO - org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
 
HelloMessage - Class in org.drasyl.handler.remote.protocol
Describes a message that is used to announce this node to peers or to join a super node.
HelloMessage() - Constructor for class org.drasyl.handler.remote.protocol.HelloMessage
 
HexUtil - Class in org.drasyl.crypto
Util class that provides hexadecimal functions for drasyl.
HopCount - Class in org.drasyl.handler.remote.protocol
This is an immutable object.
hostname() - Method in class org.drasyl.util.OSInfo
 
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

identify() - Static method in class org.drasyl.util.Version
Retrieves version information of all drasyl artifacts.
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
 
IdentityPublicKey - Class in org.drasyl.identity
This class models an ed25519 public key that is used as node's unique overlay address.
IdentityPublicKey() - Constructor for class org.drasyl.identity.IdentityPublicKey
 
IdentitySecretKey - Class in org.drasyl.identity
This class models a ed25519 private key.
IdentitySecretKey() - Constructor for class org.drasyl.identity.IdentitySecretKey
 
ignoreContentAfterContinueResponse(Object) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
 
ImmutableByteArray - Class in org.drasyl.util
Immutable byte array implementation, that do not allow any modifications to the original input.
incNonce() - Method in class org.drasyl.identity.ProofOfWork
Returns a Proof of Work with nonce incremented by 1.
increment() - Method in class org.drasyl.handler.remote.protocol.HopCount
 
increment() - Method in class org.drasyl.util.UnsignedInteger
 
increment() - Method in class org.drasyl.util.UnsignedMediumInteger
 
increment() - Method in class org.drasyl.util.UnsignedShort
 
incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
 
incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
Returns this message with incremented hop count.
incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
Returns a copy of this message with incremented RemoteMessage.getHopCount().
incrementHopCount() - Method in interface org.drasyl.handler.remote.protocol.FullReadMessage
Returns this message with incremented hop count.
incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
 
incrementHopCount() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
Returns a copy of this message with incremented RemoteMessage.getHopCount().
incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
Returns a copy of this message with incremented RemoteMessage.getHopCount().
incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
 
indexOf(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
InetAddressedMessage<M> - Class in org.drasyl.channel
A message that wraps another message with an InetSocketAddress.
InetAddressedMessage(M, InetSocketAddress) - Constructor for class org.drasyl.channel.InetAddressedMessage
 
InetAddressedMessage(M, InetSocketAddress, InetSocketAddress) - Constructor for class org.drasyl.channel.InetAddressedMessage
 
InetAddressUtil - Class in org.drasyl.util
Utility class for operations on InetAddresss.
InetSocketAddressUtil - Class in org.drasyl.util
Utility class for operations on URLs.
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
 
InputStreamHelper - Class in org.drasyl.util
Class that provides utils for InputStreams.
INSTANCE - Static variable in class org.drasyl.crypto.Crypto
 
INSTANCE - Static variable in class org.drasyl.util.logging.JdkLoggerFactory
 
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.
InternetDiscoveryChildrenHandler - Class in org.drasyl.handler.remote.internet
Joins one ore multiple super peer(s) as a children.
InternetDiscoveryChildrenHandler(int, IdentityPublicKey, IdentitySecretKey, ProofOfWork, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
InternetDiscoveryChildrenHandler(int, IdentityPublicKey, IdentitySecretKey, ProofOfWork, LongSupplier, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
InternetDiscoverySuperPeerHandler - Class in org.drasyl.handler.remote.internet
Operates as a super peer allowing other nodes to join as children.
InternetDiscoverySuperPeerHandler(int, IdentityPublicKey, ProofOfWork, long, long, long, HopCount) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 
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.handler.logging.MessagesThroughputHandler
 
IntraVmDiscovery - Class in org.drasyl.handler.discovery
Uses shared memory to discover other drasyl nodes running on same JVM.
IntraVmDiscovery(int) - Constructor for class org.drasyl.handler.discovery.IntraVmDiscovery
 
intValue() - Method in class org.drasyl.identity.ProofOfWork
Returns the value of this ProofOfWork as an int.
InvalidMessageFormatException - Exception in org.drasyl.handler.remote.protocol
This exception is thrown when reading a RemoteMessage fails due to an invalid format.
InvalidMessageFormatException() - Constructor for exception org.drasyl.handler.remote.protocol.InvalidMessageFormatException
 
InvalidMessageFormatException(String) - Constructor for exception org.drasyl.handler.remote.protocol.InvalidMessageFormatException
 
InvalidMessageFormatException(String, Throwable) - Constructor for exception org.drasyl.handler.remote.protocol.InvalidMessageFormatException
 
InvalidMessageFormatException(Throwable) - Constructor for exception org.drasyl.handler.remote.protocol.InvalidMessageFormatException
 
InvalidProofOfWorkException(RemoteMessage) - Constructor for exception org.drasyl.handler.remote.InvalidProofOfWorkFilter.InvalidProofOfWorkException
 
InvalidProofOfWorkFilter - Class in org.drasyl.handler.remote
This handler filters out all messages received with invalid proof of work.
InvalidProofOfWorkFilter() - Constructor for class org.drasyl.handler.remote.InvalidProofOfWorkFilter
 
InvalidProofOfWorkFilter.InvalidProofOfWorkException - Exception in org.drasyl.handler.remote
Signals that a message was received with an invalid ProofOfWork and was dropped.
isActive() - Method in class org.drasyl.channel.DrasylChannel
 
isActive() - Method in class org.drasyl.channel.DrasylServerChannel
 
isAggregated(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
 
isCompatible(EventLoop) - Method in class org.drasyl.channel.DrasylChannel
 
isCompatible(EventLoop) - Method in class org.drasyl.channel.DrasylServerChannel
 
isConnected() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
 
isContentLengthInvalid(MessageChunk, int) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
 
isContentMessage(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
 
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.handler.stream.MessageChunksBufferInputList
 
isEmpty() - Method in class org.drasyl.util.ExpiringMap
 
isEmpty() - Method in class org.drasyl.util.ExpiringSet
 
isEmpty() - Method in class org.drasyl.util.ImmutableByteArray
 
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?
isEndOfInput() - Method in class org.drasyl.handler.stream.ChunkedMessageInput
 
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
 
isInetAddress(String) - Static method in class org.drasyl.util.InetAddressUtil
Returns true if address is a valid.
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
 
isLastContentMessage(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
 
isOpen() - Method in class org.drasyl.channel.DrasylChannel
 
isOpen() - Method in class org.drasyl.channel.DrasylServerChannel
 
isPresent() - Method in class org.drasyl.util.Worm
If a value is present, returns true, otherwise false.
isSigned() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
Returns true if message is signed.
isStartMessage(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
 
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
 
isUnexpectedMessage(Object) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
isValid() - Method in class org.drasyl.identity.Identity
Validates the identity by checking whether the proof of work matches the public key.
isValid(DrasylAddress, byte) - Method in class org.drasyl.identity.ProofOfWork
Checks if the current proof of work is valid for given public key and difficulty.
isValidNonce(ImmutableByteArray) - Static method in class org.drasyl.handler.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
 
italic() - Method in class org.drasyl.util.Ansi
 
iterator() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
iterator() - Method in class org.drasyl.util.ExpiringSet
 

J

JacksonCodec<T> - Class in org.drasyl.handler.codec
This codec converts with Jackson messages of type T to ByteBufs and vice versa.
JacksonCodec(ObjectMapper, Class<T>) - Constructor for class org.drasyl.handler.codec.JacksonCodec
 
JacksonCodec(Class<T>) - Constructor for class org.drasyl.handler.codec.JacksonCodec
 
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.

K

Key - Interface in org.drasyl.identity
 
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 - 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 - 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
 
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
 
keySet() - Method in class org.drasyl.util.ExpiringMap
 
keySet() - Method in class org.drasyl.util.HashSetMultimap
 
keySet() - Method in interface org.drasyl.util.Multimap
Returns a Set with all the keys contained in this map.

L

LargeByteBufToChunkedMessageEncoder - Class in org.drasyl.handler.stream
LargeByteBufToChunkedMessageEncoder(int, int) - Constructor for class org.drasyl.handler.stream.LargeByteBufToChunkedMessageEncoder
 
last() - Method in class org.drasyl.util.network.Subnet
Returns the last InetAddress of this subnetwork.
lastIndexOf(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
LastMessageChunk - Class in org.drasyl.handler.stream
Represents the very last chunk of a message that is too large to be transmitted as a whole.
LastMessageChunk(byte, int, ByteBuf) - Constructor for class org.drasyl.handler.stream.LastMessageChunk
 
length() - Method in class org.drasyl.handler.stream.ChunkedMessageInput
 
LENGTH - Static variable in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
 
LENGTH - Static variable in class org.drasyl.handler.remote.protocol.PrivateHeader
 
LENGTH - Static variable in class org.drasyl.handler.remote.protocol.PublicHeader
 
LENGTH - Static variable in class org.drasyl.handler.remote.protocol.UniteMessage
 
LibraryLoader - Class in org.drasyl.crypto.loader
Helper class to load the libsodium library from the preferred location.
LibraryLoader(Class) - Constructor for class org.drasyl.crypto.loader.LibraryLoader
 
LIFETIME_LENGTH - Static variable in class org.drasyl.util.protocol.NatPmpUtil
 
LIFETIME_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
listIterator() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
listIterator(int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
loadLibrary(String, String) - Method in class org.drasyl.crypto.loader.LibraryLoader
 
loadLibraryFromFileSystem(String, Class) - Static method in class org.drasyl.crypto.loader.NativeLoader
Loads library from current file system
loadLibraryFromJar(String, Class) - Static method in class org.drasyl.crypto.loader.NativeLoader
Loads library from current JAR archive
loadSystemLibrary(String) - Method in class org.drasyl.crypto.loader.LibraryLoader
 
LOCAL_ADDRESS_FOR_REMOTE_TIMEOUT - Static variable in class org.drasyl.util.network.NetworkUtil
 
localAddress0() - Method in class org.drasyl.channel.DrasylChannel
 
localAddress0() - Method in class org.drasyl.channel.DrasylServerChannel
 
localAddress0() - Method in class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
 
LocalHostDiscovery - Class in org.drasyl.handler.remote
Uses the file system to discover other drasyl nodes running on the local computer.
LocalHostDiscovery(int, boolean, InetAddress, Duration, Path) - Constructor for class org.drasyl.handler.remote.LocalHostDiscovery
 
LocalHostPeerInformation - Class in org.drasyl.handler.remote
 
LocalHostPeerInformation(Set<InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.LocalHostPeerInformation
 
LocalNetworkDiscovery - Class in org.drasyl.handler.remote
This handler, along with the UdpMulticastServer or UdpBroadcastServer, is used to discover other nodes on the local network via IP multicast or broadcast.
LocalNetworkDiscovery(int, long, long, IdentityPublicKey, ProofOfWork, InetSocketAddress) - Constructor for class org.drasyl.handler.remote.LocalNetworkDiscovery
 
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
 
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.

M

MAGENTA - org.drasyl.util.Ansi.Color
 
MAGIC_NUMBER - Static variable in interface org.drasyl.handler.remote.protocol.RemoteMessage
 
MAGIC_NUMBER_ACK - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
 
MAGIC_NUMBER_ACK - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
 
MAGIC_NUMBER_CONTENT - Static variable in class org.drasyl.handler.stream.MessageChunkEncoder
 
MAGIC_NUMBER_DATA - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
 
MAGIC_NUMBER_DATA - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
 
MAGIC_NUMBER_FIRST_DATA - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
 
MAGIC_NUMBER_LAST - Static variable in class org.drasyl.handler.stream.MessageChunkEncoder
 
MAGIC_NUMBER_LAST_DATA - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
 
MAGIC_NUMBER_RST - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
 
MagicNumberMissmatchException - Exception in org.drasyl.handler.remote.protocol
This exception is thrown when reading a RemoteMessage fails due to a mismatched magic number (expected magic number: RemoteMessage.MAGIC_NUMBER).
MagicNumberMissmatchException() - Constructor for exception org.drasyl.handler.remote.protocol.MagicNumberMissmatchException
 
main(String[]) - Static method in class org.drasyl.util.Version
 
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.handler.remote.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
 
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
 
max(Duration, Duration) - Static method in class org.drasyl.util.DurationUtil
Returns the greater of two Duration values.
MAX_HOP_COUNT - Static variable in class org.drasyl.handler.remote.protocol.HopCount
 
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.UnsignedByte
 
MAX_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
 
MAX_VALUE - Static variable in class org.drasyl.util.UnsignedMediumInteger
 
MAX_VALUE - Static variable in class org.drasyl.util.UnsignedShort
 
MaxLengthFrameDecoder - Class in org.drasyl.handler.codec
A decoder that splits received ByteBufs into frames not larger then MaxLengthFrameDecoder.maxFrameLength.
MaxLengthFrameDecoder(int) - Constructor for class org.drasyl.handler.codec.MaxLengthFrameDecoder
Creates a new instance.
MaxLengthFrameEncoder - Class in org.drasyl.handler.codec
An encoder that splits received ByteBufs into frames not larger then MaxLengthFrameEncoder.maxFrameLength.
MaxLengthFrameEncoder(int) - Constructor for class org.drasyl.handler.codec.MaxLengthFrameEncoder
Creates a new instance.
maxTimeOffsetMillis - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
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.
MessageChunk - Class in org.drasyl.handler.stream
Represents a chunk of a message that is too large to be transmitted as a whole.
MessageChunk(byte, int, ByteBuf) - Constructor for class org.drasyl.handler.stream.MessageChunk
 
MessageChunkDecoder - Class in org.drasyl.handler.stream
Decodes ByteBufs with correct magic number to MessageChunks.
MessageChunkDecoder(int) - Constructor for class org.drasyl.handler.stream.MessageChunkDecoder
 
MessageChunkEncoder - Class in org.drasyl.handler.stream
Encodes MessageChunks to ByteBufs.
MessageChunkEncoder(int) - Constructor for class org.drasyl.handler.stream.MessageChunkEncoder
 
MessageChunksBuffer - Class in org.drasyl.handler.stream
Buffers until all MessageChunks belonging to the same message have been collected, then passes them in the correct order.
MessageChunksBuffer(int, int, int) - Constructor for class org.drasyl.handler.stream.MessageChunksBuffer
Creates a new instance.
MessageChunksBufferInputList - Class in org.drasyl.handler.stream
Special List implementation which is used within our MessageChunksBuffer.
MessageChunksBufferInputList(int) - Constructor for class org.drasyl.handler.stream.MessageChunksBufferInputList
 
MessagesThroughputHandler - Class in org.drasyl.handler.logging
Helper class to visualize the number of inbound and outbound messages per second.
MessagesThroughputHandler() - Constructor for class org.drasyl.handler.logging.MessagesThroughputHandler
Creates a new handler which visualizes the number of inbound and outbound messages per second.
MessagesThroughputHandler(BiPredicate<SocketAddress, Object>, BiPredicate<SocketAddress, Object>) - Constructor for class org.drasyl.handler.logging.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<SocketAddress, Object>, BiPredicate<SocketAddress, Object>, EventLoopGroup) - Constructor for class org.drasyl.handler.logging.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.
metadata() - Method in class org.drasyl.channel.DrasylChannel
 
min(Duration, Duration) - Static method in class org.drasyl.util.DurationUtil
Returns the smaller of two Duration values.
MIN_HOP_COUNT - Static variable in class org.drasyl.handler.remote.protocol.HopCount
 
MIN_MESSAGE_LENGTH - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
 
MIN_MESSAGE_LENGTH - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
 
MIN_MESSAGE_LENGTH - Static variable in class org.drasyl.handler.stream.MessageChunkEncoder
 
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.UnsignedByte
 
MIN_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
 
MIN_VALUE - Static variable in class org.drasyl.util.UnsignedMediumInteger
 
MIN_VALUE - Static variable in class org.drasyl.util.UnsignedShort
 
msgId() - Method in class org.drasyl.handler.stream.MessageChunk
 
MULTICAST_ADDRESS - Static variable in class org.drasyl.handler.remote.UdpMulticastServer
 
Multimap<K,​V> - Interface in org.drasyl.util
A map in which more than one value may be associated with and returned for a given key
Murmur3 - Class in org.drasyl.util
This class contains methods for MurmurHash3 generation.
murmur3_x86_32(byte[]) - Static method in class org.drasyl.util.Murmur3
Generates a MurmurHash3 x86 32-bit hash without seed.
murmur3_x86_32(byte[], int) - Static method in class org.drasyl.util.Murmur3
Generates a MurmurHash3 x86 32-bit hash.
murmur3_x86_32BytesLE(byte[]) - Static method in class org.drasyl.util.Murmur3
Generates a MurmurHash3 x86 32-bit hash without seed with Little Endian Byte Order.
murmur3_x86_32BytesLE(byte[], int) - Static method in class org.drasyl.util.Murmur3
Generates a MurmurHash3 x86 32-bit hash with Little Endian Byte Order.
murmur3_x86_32LE(byte[]) - Static method in class org.drasyl.util.Murmur3
Generates a MurmurHash3 x86 32-bit hash without seed with Little Endian Byte Order.
murmur3_x86_32LE(byte[], int) - Static method in class org.drasyl.util.Murmur3
Generates a MurmurHash3 x86 32-bit hash with Little Endian Byte Order.
MUST_BE_NON_NEGATIVE - Static variable in class org.drasyl.util.Preconditions
 
MUST_BE_POSITIVE - Static variable in class org.drasyl.util.Preconditions
 
MUST_BE_POWER_OF_TWO - Static variable in class org.drasyl.util.Preconditions
 
myNetworkId - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
myNetworkId - Variable in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 
myProofOfWork - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
myProofOfWork - Variable in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 
myPublicKey - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
myPublicKey - Variable in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 

N

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
 
NATIVE_FOLDER_PATH_PREFIX - Static variable in class org.drasyl.crypto.loader.NativeLoader
 
NativeLoader - Class in org.drasyl.crypto.loader
This class helps to load native libraries, used with JNA.
NatPmpPortMapping - Class in org.drasyl.handler.remote.portmapper
Port Forwarding on NAT-enabled routers via NAT-PMP.
NatPmpPortMapping() - Constructor for class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
 
NatPmpPortMapping(AtomicBoolean, AtomicBoolean, int, InetSocketAddress, InetAddress, Future<?>, Future<?>, Runnable, Supplier<InetAddress>) - Constructor for class org.drasyl.handler.remote.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
 
netmask() - Method in class org.drasyl.util.network.Subnet
 
netmaskLength() - Method in class org.drasyl.util.network.Subnet
 
network() - Method in class org.drasyl.util.network.Subnet
 
NETWORK_FAILURE - org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
NETWORK_FAILURE - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
networkSize() - Method in class org.drasyl.util.network.Subnet
Returns the size of this subnetwork.
NetworkUtil - Class in org.drasyl.util.network
Utility class for network-related operations.
newContinueResponse(MessageChunk, int, ChannelPipeline) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
 
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
 
newUnsafe() - Method in class org.drasyl.channel.DrasylChannel
 
NO_RESOURCES - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
Nonce - Class in org.drasyl.handler.remote.protocol
A RemoteMessage is uniquely identified by its Nonce.NONCE_LENGTH bytes long nonce.
NONCE_LENGTH - Static variable in class org.drasyl.handler.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
 
nth(int) - Method in class org.drasyl.util.network.Subnet
Returns the n-th InetAddress of this subnetwork.
nthElement(Set<E>, int) - Static method in class org.drasyl.util.SetUtil
Returns the n-th element from set set.
Nullable - Annotation Type in org.drasyl.annotation
A common annotation to declare that annotated elements can be null under some circumstance.
numberOfLeadingZeros(byte) - Static method in class org.drasyl.util.ByteUtil
Returns the number of leading zero bits (highest-order / "leftmost") of the specified byte value.
numberOfTrailingZeros(byte) - Static method in class org.drasyl.util.ByteUtil
Returns the number of trailing zero bits (lowed-order / "rightmost") of the specified byte value.
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

of() - Static method in class org.drasyl.handler.remote.protocol.HopCount
Creates a new minimal hop count value.
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.handler.remote.protocol.HopCount
Creates a new hop count value with given value.
of(byte) - Static method in class org.drasyl.util.UnsignedByte
Creates a new UnsignedShort.
of(byte[]) - Static method in class org.drasyl.handler.remote.protocol.Nonce
 
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.util.ImmutableByteArray
Copy the given array and stores it as immutable object.
of(byte[]) - Static method in class org.drasyl.util.UnsignedInteger
Creates a new UnsignedInteger.
of(byte[]) - Static method in class org.drasyl.util.UnsignedMediumInteger
Creates a new UnsignedMediumInteger.
of(byte[]) - Static method in class org.drasyl.util.UnsignedShort
Creates a new UnsignedShort.
of(byte[], byte[]) - Static method in class org.drasyl.crypto.sodium.SessionPair
 
of(int) - Static method in class org.drasyl.handler.remote.protocol.HopCount
Creates a new hop count value with given value.
of(int) - Static method in class org.drasyl.identity.ProofOfWork
 
of(int) - Static method in class org.drasyl.util.UnsignedMediumInteger
Creates a new UnsignedMediumInteger.
of(int) - Static method in class org.drasyl.util.UnsignedShort
Creates a new UnsignedShort.
of(int, String) - Static method in class org.drasyl.identity.Identity
 
of(int, String, String) - Static method in class org.drasyl.identity.Identity
 
of(int, DrasylAddress, IdentityPublicKey, ProofOfWork) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
Creates a new HelloMessage message.
of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, long) - Static method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
Creates new acknowledgement message with random Nonce, and minimal HopCount.
of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, long, long, IdentitySecretKey) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
Creates a new HelloMessage message.
of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, long, IdentitySecretKey) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
Creates a new HelloMessage message.
of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, DrasylAddress, InetSocketAddress) - Static method in class org.drasyl.handler.remote.protocol.UniteMessage
Creates new unit message with random Nonce, and minimal HopCount value.
of(int, IdentityPublicKey, IdentityPublicKey, ProofOfWork, ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.ApplicationMessage
Creates new application message with random Nonce, and minimal HopCount value.
of(int, IdentityPublicKey, ProofOfWork) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
Creates a new multicast HelloMessage message (sent by LocalNetworkDiscovery}.
of(int, IdentitySecretKey) - 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(short) - Static method in class org.drasyl.handler.remote.protocol.HopCount
Creates a new hop count value with given value.
of(short) - Static method in class org.drasyl.util.UnsignedByte
Creates a new UnsignedByte.
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(ByteBuf) - Static method in interface org.drasyl.handler.remote.protocol.PartialReadMessage
Creates a PartialReadMessage from bytes.
of(ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.PrivateHeader
 
of(ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.PublicHeader
 
of(File) - Static method in class org.drasyl.handler.remote.LocalHostPeerInformation
 
of(String) - Static method in class org.drasyl.handler.remote.protocol.Nonce
 
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.identity.ProofOfWork
 
of(String) - Static method in class org.drasyl.util.MaskedString
 
of(Path) - Static method in class org.drasyl.handler.remote.LocalHostPeerInformation
 
of(Set<InetSocketAddress>) - Static method in class org.drasyl.handler.remote.LocalHostPeerInformation
 
of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork) - Static method in class org.drasyl.handler.remote.protocol.PublicHeader
 
of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, long) - Static method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
Creates new acknowledgement message.
of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, long, long, IdentitySecretKey) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
Creates new application message.
of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, long, long, ImmutableByteArray) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
Creates new application message.
of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.ApplicationMessage
Creates new application message.
of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
Creates an unarmed message.
of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, DrasylAddress, InetAddress, UnsignedShort) - Static method in class org.drasyl.handler.remote.protocol.UniteMessage
Creates new unit message.
of(Nonce, HopCount, int, DrasylAddress, DrasylAddress, ProofOfWork, ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
Creates an armed message.
of(PrivateHeader.MessageType, UnsignedShort) - Static method in class org.drasyl.handler.remote.protocol.PrivateHeader
 
of(PublicHeader, ByteBuf) - Static method in interface org.drasyl.handler.remote.protocol.PartialReadMessage
Creates a PartialReadMessage from publicHeader and bytes.
of(RemoteMessage) - Static method in class org.drasyl.handler.remote.protocol.PublicHeader
 
of(DrasylAddress, Object) - Static method in class org.drasyl.handler.discovery.RemoveChildrenAndPathEvent
 
of(DrasylAddress, Object) - Static method in class org.drasyl.handler.discovery.RemovePathEvent
 
of(DrasylAddress, Object) - Static method in class org.drasyl.handler.discovery.RemoveSuperPeerAndPathEvent
 
of(DrasylAddress, InetSocketAddress, Object) - Static method in class org.drasyl.handler.discovery.AddPathAndChildrenEvent
 
of(DrasylAddress, InetSocketAddress, Object) - Static method in class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
 
of(DrasylAddress, InetSocketAddress, Object) - Static method in class org.drasyl.handler.discovery.AddPathEvent
 
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, 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(ImmutableByteArray) - Static method in class org.drasyl.handler.remote.protocol.Nonce
 
of(ImmutableByteArray) - Static method in class org.drasyl.identity.IdentityPublicKey
 
of(ImmutableByteArray) - Static method in class org.drasyl.identity.IdentitySecretKey
 
of(ImmutableByteArray) - Static method in class org.drasyl.identity.KeyAgreementPublicKey
 
of(ImmutableByteArray) - Static method in class org.drasyl.identity.KeyAgreementSecretKey
 
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.
onBlack() - Method in class org.drasyl.util.Ansi
 
onBlue() - Method in class org.drasyl.util.Ansi
 
onCyan() - Method in class org.drasyl.util.Ansi
 
onGreen() - Method in class org.drasyl.util.Ansi
 
onMagenta() - Method in class org.drasyl.util.Ansi
 
onRed() - Method in class org.drasyl.util.Ansi
 
onWhite() - Method in class org.drasyl.util.Ansi
 
onYellow() - Method in class org.drasyl.util.Ansi
 
org.drasyl.annotation - package org.drasyl.annotation
Annotations that provide meta information about drasyl's API.
org.drasyl.channel - package org.drasyl.channel
netty Channel for the drasyl overlay network.
org.drasyl.channel.embedded - package org.drasyl.channel.embedded
A virtual Channel that helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context.
org.drasyl.crypto - package org.drasyl.crypto
Classes for crypto-related operations.
org.drasyl.crypto.loader - package org.drasyl.crypto.loader
Helper to load resources from (nested) JARs or file system
org.drasyl.crypto.sodium - package org.drasyl.crypto.sodium
Libsodium wrappers for the crypto operations of drasyl
org.drasyl.handler.arq - package org.drasyl.handler.arq
Codecs, Handlers, and Messages for ARQ (Automatic repeat request) protocols.
org.drasyl.handler.arq.gobackn - package org.drasyl.handler.arq.gobackn
Codecs, Handlers, and Messages for the Stop-and-wait-ARQ protocols.
org.drasyl.handler.arq.stopandwait - package org.drasyl.handler.arq.stopandwait
Codecs, Handlers, and Messages for the Go-Back-N protocol.
org.drasyl.handler.codec - package org.drasyl.handler.codec
For message decoding and encoding (like serialization).
org.drasyl.handler.discovery - package org.drasyl.handler.discovery
Different methods to discover peers.
org.drasyl.handler.logging - package org.drasyl.handler.logging
Logs channel events/messages for debugging purpose.
org.drasyl.handler.monitoring - package org.drasyl.handler.monitoring
Logs channel events/messages for monitoring purpose.
org.drasyl.handler.remote - package org.drasyl.handler.remote
Handlers used to communicate with remote nodes.
org.drasyl.handler.remote.crypto - package org.drasyl.handler.remote.crypto
Contains classes necessary for encrypted protocol communication.
org.drasyl.handler.remote.internet - package org.drasyl.handler.remote.internet
Discovery/Routing of peers on the internet.
org.drasyl.handler.remote.portmapper - package org.drasyl.handler.remote.portmapper
Contains PortMapper that attempts to create port forwarding via PCP, NAT-PMP, UPnP-IDG.
org.drasyl.handler.remote.protocol - package org.drasyl.handler.remote.protocol
The protocol used for communication with remote peers.
org.drasyl.handler.remote.tcp - package org.drasyl.handler.remote.tcp
Contains the pipeline handlers for TCP fallback connections.
org.drasyl.handler.stream - package org.drasyl.handler.stream
Codecs, Channel Handlers, and Messages for sending large data streams asynchronously neither spending a lot of memory nor getting OutOfMemoryError
org.drasyl.handler.traffic - package org.drasyl.handler.traffic
Handler for traffic shaping.
org.drasyl.identity - package org.drasyl.identity
Contains classes to manage the Identity of the drasyl node.
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.
osArch() - Method in class org.drasyl.util.OSInfo
 
OSInfo - Class in org.drasyl.util
Utility class that can be used to detect properties specific to the current runtime environment/operating system, such as os name.
osName() - Method in class org.drasyl.util.OSInfo
 
osVersion() - Method in class org.drasyl.util.OSInfo
 
OtherNetworkException(RemoteMessage) - Constructor for exception org.drasyl.handler.remote.OtherNetworkFilter.OtherNetworkException
 
OtherNetworkFilter - Class in org.drasyl.handler.remote
This handler filters out all messages received from other networks.
OtherNetworkFilter(int) - Constructor for class org.drasyl.handler.remote.OtherNetworkFilter
 
OtherNetworkFilter.OtherNetworkException - Exception in org.drasyl.handler.remote
Signals that a message was received from another network and was dropped.
OUT_OF_RESOURCES - org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
OutboundMessagesThrottlingHandler - Class in org.drasyl.handler.traffic
Traffic shaping handler that limits the number of outgoing messages per second.
OutboundMessagesThrottlingHandler(long) - Constructor for class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler
 
OutboundMessagesThrottlingHandler.QueueConsumer - Class in org.drasyl.handler.traffic
 
OutboundMessagesThrottlingHandler.RateLimitedQueue - Class in org.drasyl.handler.traffic
 
OverlayAddressedMessage<M> - Class in org.drasyl.channel
A message that wraps another message with a DrasylAddress.
OverlayAddressedMessage(M, DrasylAddress) - Constructor for class org.drasyl.channel.OverlayAddressedMessage
 
OverlayAddressedMessage(M, DrasylAddress, DrasylAddress) - Constructor for class org.drasyl.channel.OverlayAddressedMessage
 

P

Pair<A,​B> - Class in org.drasyl.util
A tuple of two elements.
parseHexBinary(String) - Static method in class org.drasyl.crypto.HexUtil
Converts the string argument into an array of bytes.
PartialReadMessage - Interface in org.drasyl.handler.remote.protocol
Describes a message whose content has been read partially.
PathEvent - Interface in org.drasyl.handler.discovery
Classes implementing this interface signals that a direct routing path availability and/or the relation (children/super peer) to a peer has changed.
pathEventFilter - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
PathUtil - Class in org.drasyl.util
Utility class for operations on Pathes.
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.handler.remote.portmapper
Port Forwarding on NAT-enabled routers via PCP.
PcpPortMapping() - Constructor for class org.drasyl.handler.remote.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
 
peers - Variable in class org.drasyl.handler.monitoring.TopologyHandler
 
peers() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
 
pingTimeoutMillis - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
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.
Port(int) - Constructor for class org.drasyl.handler.remote.tcp.TcpServer.Port
 
Port(int) - Constructor for class org.drasyl.handler.remote.UdpServer.Port
 
PortMapper - Class in org.drasyl.handler.remote.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.handler.remote.portmapper.PortMapper
 
PortMapping - Interface in org.drasyl.handler.remote.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.Identity
 
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).
PREFER_BUNDLED - Static variable in class org.drasyl.crypto.loader.LibraryLoader
 
PREFER_SYSTEM - Static variable in class org.drasyl.crypto.loader.LibraryLoader
 
PrivateHeader - Class in org.drasyl.handler.remote.protocol
This class models the private header of a drasyl protocol message.
PrivateHeader() - Constructor for class org.drasyl.handler.remote.protocol.PrivateHeader
 
PrivateHeader.MessageType - Enum in org.drasyl.handler.remote.protocol
 
progress() - Method in class org.drasyl.handler.stream.ChunkedMessageInput
 
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
 
PROTO_TCP - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
PROTO_UDP - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
ProtocolArmHandler - Class in org.drasyl.handler.remote.crypto
 
ProtocolArmHandler(Identity, int) - Constructor for class org.drasyl.handler.remote.crypto.ProtocolArmHandler
 
ProtocolArmHandler(Identity, Crypto, int, Duration) - Constructor for class org.drasyl.handler.remote.crypto.ProtocolArmHandler
 
PublicHeader - Class in org.drasyl.handler.remote.protocol
This class models the public header of a drasyl protocol message.
PublicHeader() - Constructor for class org.drasyl.handler.remote.protocol.PublicHeader
 
PublicKey - Interface in org.drasyl.identity
 
purple() - Method in class org.drasyl.util.Ansi
 
put(K, V) - Method in class org.drasyl.util.ExpiringMap
 
put(K, V) - Method in class org.drasyl.util.HashSetMultimap
 
put(K, V) - Method in interface org.drasyl.util.Multimap
Associates the specified value with the specified key in this map.
putAll(Map<? extends K, ? extends V>) - Method in class org.drasyl.util.ExpiringMap
 

Q

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

R

randomByte() - Static method in class org.drasyl.util.RandomUtil
Returns a single pseudorandom byte.
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.handler.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.
RateLimitedQueue(long) - Constructor for class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
 
RateLimiter - Class in org.drasyl.handler.remote
This handler rate limits AcknowledgementMessage, HelloMessage, and UniteMessage messages addressed to us.
RateLimiter() - Constructor for class org.drasyl.handler.remote.RateLimiter
 
read() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
Read the remainder of this message and returns the resulted FullReadMessage.
readAllBytes(InputStream) - Static method in class org.drasyl.util.InputStreamHelper
Reads all remaining bytes from the input stream.
readChunk(ByteBufAllocator) - Method in class org.drasyl.handler.stream.ChunkedMessageInput
 
readChunk(ChannelHandlerContext) - Method in class org.drasyl.handler.stream.ChunkedMessageInput
 
readEvent() - Method in class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
Return received user events from this Channel
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
 
readNBytes(InputStream, int) - Static method in class org.drasyl.util.InputStreamHelper
Reads up to a specified number of bytes from the input stream.
ReassembledMessage - Class in org.drasyl.handler.stream
Represents a message that has been reassembled from MessageChunks.
ReassembledMessage(ByteBuf) - Constructor for class org.drasyl.handler.stream.ReassembledMessage
 
ReassembledMessageDecoder - Class in org.drasyl.handler.stream
Decodes ReassembledMessages to ByteBufs.
ReassembledMessageDecoder() - Constructor for class org.drasyl.handler.stream.ReassembledMessageDecoder
 
red() - Method in class org.drasyl.util.Ansi
 
RED - org.drasyl.util.Ansi.Color
 
refCnt() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
 
refCnt() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
refCnt() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
ReferenceCountUtil - Class in org.drasyl.util
 
REFRESH_INTERVAL_SAFETY_MARGIN - Static variable in class org.drasyl.handler.remote.LocalHostDiscovery
 
register() - Method in class org.drasyl.crypto.sodium.Sodium
 
relayMessage(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>, InetSocketAddress) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 
relayMessage(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>, InetSocketAddress) - Method in class org.drasyl.handler.remote.internet.TraversingInternetDiscoverySuperPeerHandler
 
release() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
 
release() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
release() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
release(int) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
 
release(int) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
release(int) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
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.
remoteAddress0() - Method in class org.drasyl.channel.DrasylChannel
 
RemoteMessage - Interface in org.drasyl.handler.remote.protocol
Describes a message that is sent to remote peers via UDP/TCP.
remove() - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
 
remove() - Method in interface org.drasyl.handler.arq.gobackn.Window
Removes the oldest message from the window.
remove(int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
remove(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
remove(Object) - Method in class org.drasyl.util.ExpiringMap
 
remove(Object) - Method in class org.drasyl.util.ExpiringSet
 
remove(K, V) - Method in class org.drasyl.util.HashSetMultimap
 
remove(K, V) - Method in interface org.drasyl.util.Multimap
Removes the specified value from the specified key.
removeAll(Collection<?>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
removeAll(Collection<?>) - Method in class org.drasyl.util.ExpiringSet
 
removeAndFailAll(Throwable) - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
 
removeAndFailAll(Throwable) - Method in interface org.drasyl.handler.arq.gobackn.Window
Clears the window and let's fail all write promises.
RemoveChildrenAndPathEvent - Class in org.drasyl.handler.discovery
Signals that PathEvent.getAddress() is no longer registered at us as a children because the direct routing path to that peer is no longer available.
RemoveChildrenAndPathEvent() - Constructor for class org.drasyl.handler.discovery.RemoveChildrenAndPathEvent
 
RemovePathEvent - Class in org.drasyl.handler.discovery
Signals that a direct routing path to PathEvent.getAddress() is no longer available.
RemovePathEvent() - Constructor for class org.drasyl.handler.discovery.RemovePathEvent
 
RemoveSuperPeerAndPathEvent - Class in org.drasyl.handler.discovery
Signals that we are no longer registered at as a children at PathEvent.getAddress() as the direct routing path to that peer is no longer available.
RemoveSuperPeerAndPathEvent() - Constructor for class org.drasyl.handler.discovery.RemoveSuperPeerAndPathEvent
 
replace(ByteBuf) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
 
replace(ByteBuf) - Method in class org.drasyl.handler.stream.LastMessageChunk
 
replace(ByteBuf) - Method in class org.drasyl.handler.stream.MessageChunk
 
replace(N) - Method in class org.drasyl.channel.InetAddressedMessage
Returns a copy of this message with newContent as the new DefaultAddressedEnvelope.content().
replace(N) - Method in class org.drasyl.channel.OverlayAddressedMessage
Returns a copy of this message with newContent as the new DefaultAddressedEnvelope.content().
REQUEST_RESERVED1_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
REQUEST_RESERVED2_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
 
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
 
resolve(InetSocketAddress) - Method in class org.drasyl.channel.OverlayAddressedMessage
Returns a copy of this message with newRecipient as the new DefaultAddressedEnvelope.recipient().
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.channel.InetAddressedMessage
 
retain() - Method in class org.drasyl.channel.OverlayAddressedMessage
 
retain() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
 
retain() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
retain() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
retain(int) - Method in class org.drasyl.channel.InetAddressedMessage
 
retain(int) - Method in class org.drasyl.channel.OverlayAddressedMessage
 
retain(int) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
 
retain(int) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
retain(int) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
retainAll(Collection<?>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
retainAll(Collection<?>) - Method in class org.drasyl.util.ExpiringSet
 
RETRY_DELAY - Static variable in class org.drasyl.handler.remote.portmapper.PortMapper
 
route(InetSocketAddress) - Method in class org.drasyl.channel.InetAddressedMessage
Returns a copy of this message with newRecipient as the new DefaultAddressedEnvelope.recipient().
run() - Method in class org.drasyl.handler.traffic.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

safeDecrement() - Method in class org.drasyl.util.UnsignedInteger
 
safeDecrement() - Method in class org.drasyl.util.UnsignedMediumInteger
 
safeIncrement() - Method in class org.drasyl.util.UnsignedInteger
Does increment the unsigned integer but does a modulo operation to handle overflows.
safeIncrement() - Method in class org.drasyl.util.UnsignedMediumInteger
Does increment the unsigned integer but does a modulo operation to handle overflows.
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.
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.
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.
sequenceNo() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
 
sequenceNo() - Method in interface org.drasyl.handler.arq.gobackn.GoBackNArqMessage
 
sequenceNo() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqRst
 
sequenceNo() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
 
sequenceNo() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
 
sequenceNo() - Method in interface org.drasyl.handler.arq.stopandwait.StopAndWaitArqMessage
 
Service(String, URI, InetAddress) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.Service
 
SESSIONKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
SessionPair - Class in org.drasyl.crypto.sodium
 
SessionPair() - Constructor for class org.drasyl.crypto.sodium.SessionPair
 
set(int, MessageChunk) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
set(T) - Method in class org.drasyl.util.Worm
Sets the value to value.
setExpectedInboundSequenceNo(boolean) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
Sets the sequence of the next inbound StopAndWaitArqData message.
SetMultimap<K,​V> - Interface in org.drasyl.util
A Multimap in which the values associated with a key are treated as a Set.
setRetryTimeout(int) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
Defines how long to wait for a StopAndWaitArqAck message before resending it.
SetUtil - Class in org.drasyl.util
Utility class for operations on Sets.
sha256(byte[]) - Method in class org.drasyl.crypto.Crypto
Generates a SHA-256 hash of the given input.
sha256(byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
Generates a SHA-256 hash of the given input.
sha256(byte[]...) - Static method in class org.drasyl.crypto.Hashing
Generates a SHA-256 hash of the given input.
sha256(String) - Static method in class org.drasyl.crypto.Hashing
Generates a SHA-256 hash of the given input.
SHA256_BYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
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).
SIGN_BYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
SIGNED_LENGTH - Static variable in class org.drasyl.handler.remote.protocol.HelloMessage
 
SimpleWindow - Class in org.drasyl.handler.arq.gobackn
 
SimpleWindow(int) - Constructor for class org.drasyl.handler.arq.gobackn.SimpleWindow
Creates a new simple window.
size() - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
 
size() - Method in interface org.drasyl.handler.arq.gobackn.Window
 
size() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
size() - Method in class org.drasyl.util.ExpiringMap
 
size() - Method in class org.drasyl.util.ExpiringSet
 
size() - Method in class org.drasyl.util.ImmutableByteArray
 
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
 
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
Convert a String to a InetSocketAddress.
socketAddressToString(InetSocketAddress) - Static method in class org.drasyl.util.InetSocketAddressUtil
Convert a InetSocketAddress to a String.
Sodium - Class in org.drasyl.crypto.sodium
This class presents a restricted view to the native sodium library.
Sodium() - Constructor for class org.drasyl.crypto.sodium.Sodium
 
sodium_init() - Method in class org.drasyl.crypto.sodium.Sodium
 
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
 
stackTraceToString(Throwable) - Static method in class org.drasyl.util.ThrowableUtil
Returns a string containing the text generated by Throwable.printStackTrace().
start(ChannelHandlerContext, int, Runnable) - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
 
start(ChannelHandlerContext, int, Runnable) - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
 
start(ChannelHandlerContext, int, Runnable) - Method in interface org.drasyl.handler.remote.portmapper.PortMapping
Tells the method to create a port forwarding and renew it independently.
start(ChannelHandlerContext, int, Runnable) - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
 
StaticRoutesHandler - Class in org.drasyl.handler.remote
This handler uses preconfigured static routes to deliver messages.
StaticRoutesHandler(Map<DrasylAddress, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.StaticRoutesHandler
 
StatusInfo(String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
 
stop(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
 
stop(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
 
stop(ChannelHandlerContext) - Method in interface org.drasyl.handler.remote.portmapper.PortMapping
Shall remove any existing port forwarding again.
stop(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
 
STOP_AND_WAIT_ACK_0 - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
 
STOP_AND_WAIT_ACK_1 - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
 
StopAndWaitArqAck - Class in org.drasyl.handler.arq.stopandwait
ACK message of the Stop-and-wait ARQ protocol.
StopAndWaitArqCodec - Class in org.drasyl.handler.arq.stopandwait
Encodes StopAndWaitArqMessages to ByteBufs and vice versa.
StopAndWaitArqCodec() - Constructor for class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
 
StopAndWaitArqData - Class in org.drasyl.handler.arq.stopandwait
DATA message of the Stop-and-wait ARQ protocol.
StopAndWaitArqData(boolean, ByteBuf) - Constructor for class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
 
StopAndWaitArqHandler - Class in org.drasyl.handler.arq.stopandwait
Performs the Stop-and-wait ARQ protocol.
StopAndWaitArqHandler(int) - Constructor for class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
 
StopAndWaitArqHandler(int, boolean) - Constructor for class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
 
StopAndWaitArqMessage - Interface in org.drasyl.handler.arq.stopandwait
Message of the Stop-and-wait ARQ protocol.
subList(int, int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
Subnet - Class in org.drasyl.util.network
Represents an IP range..
Subnet(String) - Constructor for class org.drasyl.util.network.Subnet
 
SUCCESS - org.drasyl.util.protocol.NatPmpUtil.ResultCode
 
SUCCESS - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
successful(int) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
Evaluates the return value of a native sodium function call.
superPeers - Variable in class org.drasyl.handler.monitoring.TopologyHandler
 
superPeers - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
superPeers() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
 
swap() - Method in class org.drasyl.util.Ansi
 
synchronizeFutures(Promise<T>, CompletableFuture<T>) - Static method in class org.drasyl.util.FutureUtil
Synchronizes promise and future in both directions.
SYSTEM_ONLY - Static variable in class org.drasyl.crypto.loader.LibraryLoader
 

T

TcpClient - Class in org.drasyl.handler.remote.tcp
This handler monitors how long the node has not received a response from any super peer.
TcpClient(Set<SocketAddress>, Duration, InetSocketAddress) - Constructor for class org.drasyl.handler.remote.tcp.TcpClient
 
TcpServer - Class in org.drasyl.handler.remote.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(InetAddress, int, Duration) - Constructor for class org.drasyl.handler.remote.tcp.TcpServer
 
TcpServer.BindFailedException - Exception in org.drasyl.handler.remote.tcp
Signals that the TcpServer was unable to bind to port.
TcpServer.Port - Class in org.drasyl.handler.remote.tcp
Signals that the TcpServer is bind to TcpServer.Port.getPort().
TelemetryHandler - Class in org.drasyl.handler.monitoring
Send telemetry data (Neighbour list and, if desired, also the peers' ip addresses) to a given http endpoint.
TelemetryHandler(int, URI, boolean) - Constructor for class org.drasyl.handler.monitoring.TelemetryHandler
 
third() - Method in class org.drasyl.util.Triple
 
ThrowableUtil - Class in org.drasyl.util
Utility class for operations on Throwables.
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.handler.remote.portmapper.NatPmpPortMapping
 
TIMEOUT - Static variable in class org.drasyl.handler.remote.portmapper.PcpPortMapping
 
TIMEOUT - Static variable in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
 
toArray() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
toArray() - Method in class org.drasyl.util.ExpiringSet
 
toArray(T[]) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
 
toArray(T[]) - Method in class org.drasyl.util.ExpiringSet
 
toByteArray() - Method in class org.drasyl.handler.remote.protocol.Nonce
 
toByteArray() - Method in class org.drasyl.identity.DrasylAddress
 
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
 
toBytes() - Method in class org.drasyl.util.UnsignedInteger
 
toBytes() - Method in class org.drasyl.util.UnsignedMediumInteger
 
toBytes() - Method in class org.drasyl.util.UnsignedShort
 
toFuture(Future<T>) - Static method in class org.drasyl.util.FutureUtil
Translates the Netty Future to a CompletableFuture.
toImmutableByteArray() - Method in class org.drasyl.handler.remote.protocol.Nonce
 
tokenBucket - Variable in class org.drasyl.handler.traffic.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.
topology(ChannelHandlerContext) - Method in class org.drasyl.handler.monitoring.TopologyHandler
 
Topology(DrasylAddress, Map<DrasylAddress, InetSocketAddress>, Map<DrasylAddress, InetSocketAddress>, Map<DrasylAddress, InetSocketAddress>) - Constructor for class org.drasyl.handler.monitoring.TopologyHandler.Topology
 
TopologyHandler - Class in org.drasyl.handler.monitoring
Uses emitted PathEvents to build the node's current world view of the overlay network.
TopologyHandler() - Constructor for class org.drasyl.handler.monitoring.TopologyHandler
 
TopologyHandler(Map<DrasylAddress, InetSocketAddress>, Map<DrasylAddress, InetSocketAddress>, Map<DrasylAddress, InetSocketAddress>) - Constructor for class org.drasyl.handler.monitoring.TopologyHandler
 
TopologyHandler.Topology - Class in org.drasyl.handler.monitoring
 
toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
 
toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqData
 
toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqFirstData
 
toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqLastData
 
toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqRst
 
toString() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
 
toString() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
 
toString() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
 
toString() - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
 
toString() - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
 
toString() - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
 
toString() - Method in class org.drasyl.handler.remote.protocol.HopCount
 
toString() - Method in class org.drasyl.handler.remote.protocol.Nonce
 
toString() - Method in class org.drasyl.handler.stream.LastMessageChunk
 
toString() - Method in class org.drasyl.handler.stream.MessageChunk
 
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.identity.ProofOfWork
 
toString() - Method in class org.drasyl.util.ConcurrentReference
 
toString() - Method in class org.drasyl.util.ImmutableByteArray
 
toString() - Method in class org.drasyl.util.MaskedString
Returns a masked representation of this String.
toString() - Method in class org.drasyl.util.network.Subnet
 
toString() - Method in class org.drasyl.util.Pair
 
toString() - Method in class org.drasyl.util.Triple
 
toString() - Method in class org.drasyl.util.UnsignedByte
 
toString() - Method in class org.drasyl.util.UnsignedInteger
 
toString() - Method in class org.drasyl.util.UnsignedMediumInteger
 
toString() - Method in class org.drasyl.util.UnsignedShort
 
toString() - Method in class org.drasyl.util.Version
 
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
totalMemory() - Method in class org.drasyl.util.OSInfo
This method does NOT return the JVM memory.
touch() - Method in class org.drasyl.channel.InetAddressedMessage
 
touch() - Method in class org.drasyl.channel.OverlayAddressedMessage
 
touch() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
 
touch() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
touch() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
touch(Object) - Method in class org.drasyl.channel.InetAddressedMessage
 
touch(Object) - Method in class org.drasyl.channel.OverlayAddressedMessage
 
touch(Object) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
 
touch(Object) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
touch(Object) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
toUnmaskedString() - Method in class org.drasyl.identity.Identity
Unlike Object.toString(), this method returns the identity with the unmasked secret keys.
toUnmaskedString() - Method in class org.drasyl.identity.IdentitySecretKey
 
toUnmaskedString() - Method in class org.drasyl.identity.KeyAgreementSecretKey
 
toUnmaskedString() - Method in class org.drasyl.identity.KeyPair
Unlike Object.toString(), this method returns the key pair with the unmasked secret key.
toUnmaskedString() - Method in interface org.drasyl.identity.SecretKey
Unlike Object.toString(), this method returns an unmasked secret key.
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
 
TraversingInternetDiscoveryChildrenHandler - Class in org.drasyl.handler.remote.internet
Extends InternetDiscoveryChildrenHandler by performing a rendezvous initiated by one of our super peers.
TraversingInternetDiscoveryChildrenHandler(int, IdentityPublicKey, IdentitySecretKey, ProofOfWork, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>, long, long) - Constructor for class org.drasyl.handler.remote.internet.TraversingInternetDiscoveryChildrenHandler
 
TraversingInternetDiscoverySuperPeerHandler - Class in org.drasyl.handler.remote.internet
Extends InternetDiscoverySuperPeerHandler by performing a rendezvous on communication between two children peers.
TraversingInternetDiscoverySuperPeerHandler(int, IdentityPublicKey, ProofOfWork, long, long, long, HopCount, long) - Constructor for class org.drasyl.handler.remote.internet.TraversingInternetDiscoverySuperPeerHandler
 
Triple<A,​B,​C> - Class in org.drasyl.util
A tuple of three elements.
tryConsume() - Method in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
 
trySet(T) - Method in class org.drasyl.util.Worm
Sets the value to value if no value is present yet.
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

UdpBroadcastServer - Class in org.drasyl.handler.remote
Starts an UDP broadcast server and together with the LocalNetworkDiscovery is responsible for discovering other nodes in the local network.
UdpBroadcastServer() - Constructor for class org.drasyl.handler.remote.UdpBroadcastServer
 
UdpMulticastServer - Class in org.drasyl.handler.remote
Starts an UDP server which joins a IP multicast group and together with the LocalNetworkDiscovery is responsible for discovering other nodes in the local network.
UdpMulticastServer() - Constructor for class org.drasyl.handler.remote.UdpMulticastServer
 
UdpServer - Class in org.drasyl.handler.remote
Binds to an udp port, sends outgoing messages via udp, and sends received udp packets to the Channel.
UdpServer(int) - Constructor for class org.drasyl.handler.remote.UdpServer
 
UdpServer(Bootstrap, InetSocketAddress) - Constructor for class org.drasyl.handler.remote.UdpServer
 
UdpServer(String, int) - Constructor for class org.drasyl.handler.remote.UdpServer
 
UdpServer(InetAddress, int) - Constructor for class org.drasyl.handler.remote.UdpServer
 
UdpServer(InetSocketAddress) - Constructor for class org.drasyl.handler.remote.UdpServer
 
UdpServer.BindFailedException - Exception in org.drasyl.handler.remote
Signals that the UdpServer was unable to bind to port.
UdpServer.Port - Class in org.drasyl.handler.remote
Signals that the UdpServer is bind to UdpServer.Port.getPort().
UnarmedMessageDecoder - Class in org.drasyl.handler.remote.crypto
Decodes UnarmedProtocolMessages to FullReadMessages.
UnarmedMessageDecoder() - Constructor for class org.drasyl.handler.remote.crypto.UnarmedMessageDecoder
 
UnarmedProtocolMessage - Class in org.drasyl.handler.remote.protocol
Describes an unencrypted protocol message whose only public header has been read so far.
UnarmedProtocolMessage() - Constructor for class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
underline() - Method in class org.drasyl.util.Ansi
 
UNITE - org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
 
UniteMessage - Class in org.drasyl.handler.remote.protocol
This message is sent by a super node for NAT traversal.
UniteMessage() - Constructor for class org.drasyl.handler.remote.protocol.UniteMessage
 
unsafeStaticFieldOffsetSupported() - Static method in class org.drasyl.util.PlatformDependent
Returns true if access to Unsafe.staticFieldOffset(Field) is supported, false otherwise.
UNSIGNED_LENGTH - Static variable in class org.drasyl.handler.remote.protocol.HelloMessage
 
UnsignedByte - Class in org.drasyl.util
This class represents an unsigned short in a rang of [0, 256).
UnsignedInteger - Class in org.drasyl.util
This class represents an unsigned integer in a rang of [0, 2^32)
UnsignedMediumInteger - Class in org.drasyl.util
This class represents an unsigned integer in a rang of [0, 2^24)
UnsignedShort - Class in org.drasyl.util
This class represents an unsigned short in a rang of [0, 2^16)
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.handler.remote.portmapper
Port Forwarding on NAT-enabled routers via UPnP-IGD.
UpnpIgdPortMapping() - Constructor for class org.drasyl.handler.remote.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.
UrlUtil - Class in org.drasyl.util
Utility class for operations on URLs.
USER_EX_QUOTA - org.drasyl.util.protocol.PcpPortUtil.ResultCode
 
UserEventAwareEmbeddedChannel - Class in org.drasyl.channel.embedded
A EmbeddedChannel that record all received user events.
UserEventAwareEmbeddedChannel(ChannelHandler...) - Constructor for class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
 
UserEventAwareEmbeddedChannel(SocketAddress, ChannelHandler...) - Constructor for class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
 
userEvents() - Method in class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
Returns the Queue which holds all the user events that were received by this Channel.
userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.monitoring.TopologyHandler
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.LocalHostDiscovery
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.portmapper.PortMapper
 

V

valueOf(String) - Static method in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
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.handler.remote.protocol.PrivateHeader.MessageType
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() - Method in class org.drasyl.util.ExpiringMap
 
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() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
Returns true if message is signed and the signature is valid.
verifySignature(byte[], byte[], IdentityPublicKey) - Method in class org.drasyl.crypto.Crypto
Verifies that signature is valid for the message.
version() - Method in class org.drasyl.util.Version
 
Version - Class in org.drasyl.util
 

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.handler.remote.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.
white() - Method in class org.drasyl.util.Ansi
 
WHITE - org.drasyl.util.Ansi.Color
 
Window - Interface in org.drasyl.handler.arq.gobackn
This class does model a sliding window in the Go-Back-N ARQ protocol.
Window.Frame - Class in org.drasyl.handler.arq.gobackn
 
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.
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.discovery.IntraVmDiscovery
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.logging.MessagesThroughputHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.internet.TraversingInternetDiscoveryChildrenHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.LocalHostDiscovery
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.StaticRoutesHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.tcp.TcpClient
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.tcp.TcpServer
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.UdpServer
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler
 
writeBodyTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
 
writeBodyTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
 
writeBodyTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.HelloMessage
 
writeBodyTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.UniteMessage
 
writeHelloMessage(ChannelHandlerContext, DrasylAddress, InetSocketAddress, boolean) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
Make sure to call Channel.flush() by your own!
writePrivateHeaderTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
 
writePrivateHeaderTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
 
writePrivateHeaderTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.HelloMessage
 
writePrivateHeaderTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.UniteMessage
 
writeTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
 
writeTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.PrivateHeader
Writes this header to the buffer byteBuf.
writeTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.PublicHeader
Writes this header to the buffer byteBuf.
writeTo(ByteBuf) - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
Writes this message to the buffer out.
writeTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
 
writeTo(ByteBuf, boolean) - Method in class org.drasyl.handler.remote.protocol.PublicHeader
Writes this header to the buffer byteBuf.
WS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
 
WSS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
 

X

XCHACHA20POLY1305_IETF_ABYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 
XCHACHA20POLY1305_IETF_NPUBBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
 

Y

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

Z

ZERO_ID - Static variable in class org.drasyl.identity.IdentityPublicKey
 
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 X Y Z 
All Classes All Packages