A B C D E F G H I J L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractPipeline - Class in org.drasyl.pipeline
-
Abstract
Pipeline
implementation, that needs head and tail. - AbstractPipeline() - Constructor for class org.drasyl.pipeline.AbstractPipeline
- accept(T) - Method in interface org.drasyl.util.ThrowingConsumer
-
Performs this operation on the given argument.
- accept(T, U) - Method in interface org.drasyl.util.ThrowingBiConsumer
-
Performs this operation on the given arguments.
- acceptAddress(Address) - Method in class org.drasyl.pipeline.skeleton.AddressHandlerAdapter
-
Returns
true
if the given address should be handled,false
otherwise. - acceptEvent(Event) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
-
Returns
true
if the given event should be handled. - acceptInbound(Object) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
-
Returns
true
if the given message should be handled. - acceptMessage(AddressedByteBuf) - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
- acceptMessage(AddressedByteBuf) - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
- acceptMessage(AddressedByteBuf) - Method in interface org.drasyl.remote.handler.portmapper.PortMapping
-
Is called for incoming messages and returns true if the message should be consumed and removed from the pipeline.
- acceptMessage(AddressedByteBuf) - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
- acceptOutbound(Object) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
-
Returns
true
if the given message should be handled. - acceptOutbound(Object) - Method in class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
-
Returns
true
if the given message should be handled. - acknowledgement(int, CompressedPublicKey, ProofOfWork, CompressedPublicKey, MessageId) - Static method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Creates new acknowledgement message.
- ACKNOWLEDGEMENT - org.drasyl.remote.protocol.Protocol.MessageType
-
ACKNOWLEDGEMENT = 0;
- ACKNOWLEDGEMENT_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
-
ACKNOWLEDGEMENT = 0;
- addAfter(String, String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
- addAfter(String, String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
-
Inserts a
Handler
after an existing handler of this pipeline. - addBefore(String, String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
- addBefore(String, String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
-
Inserts a
Handler
before an existing handler of this pipeline. - addFirst(String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
- addFirst(String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
-
Inserts a
Handler
at the first position of this pipeline. - addLast(String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
- addLast(String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
-
Appends a
Handler
at the last position of this pipeline. - addPath(CompressedPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
- addPathAndChildren(CompressedPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
- addPathAndSuperPeer(CompressedPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
- addPortMapping(URI, String, Integer, InetAddress, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- Address - Interface in org.drasyl.pipeline.address
- ADDRESS_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Unite
- ADDRESS_MISMATCH - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- ADDRESSED_ENVELOPE_HANDLER - Static variable in class org.drasyl.pipeline.handler.AddressedEnvelopeHandler
- AddressedByteBuf - Class in org.drasyl.remote.protocol
- AddressedByteBuf(InetSocketAddress, InetSocketAddress, ByteBuf) - Constructor for class org.drasyl.remote.protocol.AddressedByteBuf
- AddressedByteBuf(InetSocketAddressWrapper, InetSocketAddressWrapper, ByteBuf) - Constructor for class org.drasyl.remote.protocol.AddressedByteBuf
- AddressedEnvelope<A extends Address,M> - Interface in org.drasyl.pipeline.message
-
A message with a sender address and a recipient address.
- AddressedEnvelopeHandler - Class in org.drasyl.pipeline.handler
-
This handler wraps all outgoing messages in an
AddressedEnvelope
. - AddressedIntermediateEnvelope<T extends com.google.protobuf.MessageLite> - Class in org.drasyl.remote.protocol
- AddressedIntermediateEnvelope(InetSocketAddressWrapper, InetSocketAddressWrapper, ByteBuf) - Constructor for class org.drasyl.remote.protocol.AddressedIntermediateEnvelope
- AddressedIntermediateEnvelope(InetSocketAddressWrapper, InetSocketAddressWrapper, IntermediateEnvelope<T>) - Constructor for class org.drasyl.remote.protocol.AddressedIntermediateEnvelope
- AddressHandlerAdapter<A> - Class in org.drasyl.pipeline.skeleton
-
HandlerAdapter
which allows to explicit only handle a specific type of address. - AddressHandlerAdapter() - Constructor for class org.drasyl.pipeline.skeleton.AddressHandlerAdapter
-
Create a new instance which will try to detect the types to match out of the type parameter of the class.
- AddressHandlerAdapter(Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.AddressHandlerAdapter
-
Create a new instance
- addSerializationsBindingsInbound(Class<?>, String) - Method in class org.drasyl.DrasylConfig.Builder
- addSerializationsBindingsOutbound(Class<?>, String) - Method in class org.drasyl.DrasylConfig.Builder
- addSerializer(Class<?>, Serializer) - Method in class org.drasyl.pipeline.serialization.Serialization
-
Adds a
serializer
as serializer for objects of typeclazz
. - afterShutdown() - Method in class org.drasyl.plugin.PluginManager
-
This method get called last when the
DrasylNode
is shut down. - afterStart() - Method in class org.drasyl.plugin.PluginManager
-
This method is called last when the
DrasylNode
is started. - alive(String, int) - Static method in class org.drasyl.util.NetworkUtil
-
Checks to see if a specific host:port is available.
- ALL - Static variable in class org.drasyl.pipeline.HandlerMask
- AnsiColor - Enum in org.drasyl.util
- application(int, CompressedPublicKey, ProofOfWork, CompressedPublicKey, String, byte[]) - Static method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Creates new application message.
- APPLICATION - org.drasyl.remote.protocol.Protocol.MessageType
-
APPLICATION = 1;
- APPLICATION_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
-
APPLICATION = 1;
- ApplicationMessage - Class in org.drasyl.pipeline.message
-
A message from or to the application.
- ApplicationMessage(CompressedPublicKey, CompressedPublicKey, Object) - Constructor for class org.drasyl.pipeline.message.ApplicationMessage
- apply(DrasylNode) - Method in class org.drasyl.behaviour.DeferredBehavior
- apply(T) - Method in interface org.drasyl.util.ThrowingFunction
-
Applies this function to the given argument.
- apply(T, U) - Method in interface org.drasyl.util.ThrowingBiFunction
-
Applies this function to the given arguments.
- arm(CompressedPrivateKey) - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Returns an armed version of this envelope for sending it through untrustworthy channels.
- ARM_HANDLER - Static variable in class org.drasyl.remote.handler.ArmHandler
- armAndRelease(CompressedPrivateKey) - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Returns an armed version of this envelope for sending it through untrustworthy channels.
- ArmHandler - Class in org.drasyl.remote.handler
-
Arms (sign/encrypt) outbound and disarms (verify/decrypt) inbound messages.
- ArrayUtil - Class in org.drasyl.util
-
Utility class for operations on arrays.
- AutoSwallow - Interface in org.drasyl.pipeline
-
All classes that implement this interface will be silent and automatically swallowed at the end of the pipeline.
- available(int) - Static method in class org.drasyl.util.NetworkUtil
-
Checks to see if a specific port is available.
B
- beforeShutdown() - Method in class org.drasyl.plugin.PluginManager
-
This method get called first when the
DrasylNode
is shut down. - beforeStart() - Method in class org.drasyl.plugin.PluginManager
-
This method is called first when the
DrasylNode
is started. - Behavior - Class in org.drasyl.behaviour
-
The behavior of an node defines how it reacts to the events that it receives.
- Behavior.BehaviorBuilder - Class in org.drasyl.behaviour
-
Immutable builder for creating
Behavior
by chaining event handlers. - BehavioralDrasylNode - Class in org.drasyl.behaviour
-
Describes a
DrasylNode
as a finite state machine. - BehavioralDrasylNode() - Constructor for class org.drasyl.behaviour.BehavioralDrasylNode
- BehavioralDrasylNode(DrasylConfig) - Constructor for class org.drasyl.behaviour.BehavioralDrasylNode
- BehavioralDrasylNode(DrasylConfig, Identity, PeersManager, Pipeline, PluginManager, AtomicReference<CompletableFuture<Void>>, AtomicReference<CompletableFuture<Void>>, Scheduler) - Constructor for class org.drasyl.behaviour.BehavioralDrasylNode
- BehavioralDrasylNode(DrasylConfig, Identity, PeersManager, Pipeline, PluginManager, AtomicReference<CompletableFuture<Void>>, AtomicReference<CompletableFuture<Void>>, Scheduler, Behavior) - Constructor for class org.drasyl.behaviour.BehavioralDrasylNode
- Behaviors - Class in org.drasyl.behaviour
-
Factories for
Behavior
. - Behaviors.EventScheduler - Class in org.drasyl.behaviour
- 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.
- BooleanSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Boolean
objects. - BooleanSerializer() - Constructor for class org.drasyl.serialization.BooleanSerializer
- build() - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
-
Build a behavior from the current state of the builder.
- build() - Method in class org.drasyl.DrasylConfig.Builder
- build() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- build() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- build() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- build() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- build() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- build() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- buildDiscoveryMessage() - Static method in class org.drasyl.util.protocol.UpnpIgdUtil
- Builder(int, ProofOfWork, CompressedPublicKey, CompressedPrivateKey, Path, boolean, InetAddress, boolean, int, Duration, Duration, Duration, Duration, int, Set<Endpoint>, boolean, boolean, Set<Endpoint>, Map<CompressedPublicKey, InetSocketAddressWrapper>, int, int, Duration, byte, boolean, boolean, Path, Duration, boolean, String, URI, String, String, String, Duration, Set<DrasylPlugin>, Map<String, Serializer>, Map<Class<?>, String>, Map<Class<?>, String>) - Constructor for class org.drasyl.DrasylConfig.Builder
- buildExternalAddressRequestMessage() - Static method in class org.drasyl.util.protocol.NatPmpUtil
-
To determine the external address, the client behind the NAT sends the following UDP payload to port 5351 of the configured gateway address: 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Vers = 0 | OP = 0 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- buildInheritanceGraph() - Static method in class org.drasyl.pipeline.serialization.Serialization
-
Rebuilds the inheritance graph, but keeps the old values.
- buildMappingRequestMessage(int, int, Duration) - Static method in class org.drasyl.util.protocol.NatPmpUtil
-
To create a mapping, the client sends a UDP packet to port 5351 of the gateway's internal IP address with the following format: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Vers = 0 | OP = x | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Internal Port | Suggested External Port | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Requested Port Mapping Lifetime in Seconds | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Opcodes supported: 1 - Map UDP 2 - Map TCP The Reserved field MUST be set to zero on transmission and MUST be ignored on reception.
- buildMappingRequestMessage(Duration, InetAddress, byte[], int, int, InetAddress) - Static method in class org.drasyl.util.protocol.PcpPortUtil
-
All MAP opcode requests have the following format: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Version = 2 |R| Opcode | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Requested Lifetime (32 bits) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | PCP Client's IP Address (128 bits) | | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Mapping Nonce (96 bits) | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Protocol | Reserved (24 bits) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Internal Port | Suggested External Port | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Suggested External IP Address (128 bits) | | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ These fields are described below: Version: This document specifies protocol version 2.
- buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- buildPartial() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- BYTE_BUF_2_MESSAGE_HANDLER - Static variable in class org.drasyl.remote.handler.ByteBuf2MessageHandler
- ByteArraySerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes byte arrays (just returns the byte array unchanged/uncopied).
- ByteArraySerializer() - Constructor for class org.drasyl.serialization.ByteArraySerializer
- byteArrayValue() - Method in class org.drasyl.remote.protocol.MessageId
- ByteBuf2MessageHandler - Class in org.drasyl.remote.handler
-
Handler that converts a given
ByteBuf
to aAddressedIntermediateEnvelope
. - ByteBufUtil - Class in org.drasyl.util
-
Utility class for operations on
ByteBuf
s. - ByteSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Byte
objects. - ByteSerializer() - Constructor for class org.drasyl.serialization.ByteSerializer
- bytesToHex(byte[]) - Static method in class org.drasyl.crypto.HexUtil
-
Converts an array of bytes into a string.
C
- CANNOT_PROVIDE_EXTERNAL - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- CharacterSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Character
objects. - CharacterSerializer() - Constructor for class org.drasyl.serialization.CharacterSerializer
- CHILDRENTIME_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Discovery
- CHUNKING_HANDLER - Static variable in class org.drasyl.remote.handler.ChunkingHandler
- ChunkingHandler - Class in org.drasyl.remote.handler
-
This handler is responsible for merging incoming message chunks into a single message as well as splitting outgoing too large messages into chunks.
- ChunkingHandler() - Constructor for class org.drasyl.remote.handler.ChunkingHandler
- CHUNKNO_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
- cidr2Netmask(short, int) - Static method in class org.drasyl.util.NetworkUtil
-
Converts a given CIDR mask to valid IPv4 or IPv6 network mask.
- clear() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- clear() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- clear() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- clear() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- clear() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- clear() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- clearAddress() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
hostname
- clearChildrenTime() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
-
uint64 childrenTime = 1;
- clearChunkNo() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- clearCorrespondingId() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
-
8 bytes fix
- clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- clearHopCount() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
1 byte fix (by definition, only values between 1 and 127 are allowed)
- clearId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
8 bytes fix
- clearNetworkId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 4 bytes
- clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- clearPayload() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
-
bytes payload = 1;
- clearPort() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
2 bytes fix
- clearProofOfWork() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 4 bytes
- clearPublicKey() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
33 bytes fix
- clearRecipient() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
33 bytes fix
- clearSender() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
33 bytes fix
- clearSignature() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
32 bytes fix
- clearTotalChunks() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- clearType() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
-
string type = 2;
- clearType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
-
.org.drasyl.remote.protocol.MessageType type = 1;
- clone() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- clone() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- clone() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- clone() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- clone() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- clone() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- close() - Method in class org.drasyl.pipeline.EmbeddedPipeline
-
This method does release all potentially acquired
ReferenceCounted
objects. - COLOR_BLACK - org.drasyl.util.AnsiColor
- COLOR_BLUE - org.drasyl.util.AnsiColor
- COLOR_CYAN - org.drasyl.util.AnsiColor
- COLOR_GREEN - org.drasyl.util.AnsiColor
- COLOR_PURPLE - org.drasyl.util.AnsiColor
- COLOR_RED - org.drasyl.util.AnsiColor
- COLOR_RESET - org.drasyl.util.AnsiColor
- COLOR_WHITE - org.drasyl.util.AnsiColor
- COLOR_YELLOW - org.drasyl.util.AnsiColor
- completeOnAllOf(CompletableFuture<Void>, Collection<CompletableFuture<?>>) - Static method in class org.drasyl.util.FutureUtil
-
Completes
future
if all of the givenfutures
are completed. - completeOnAllOf(CompletableFuture<Void>, CompletableFuture<?>...) - Static method in class org.drasyl.util.FutureUtil
-
Completes
future
if all of the givenfutures
are completed. - completeOnAnyOfExceptionally(CompletableFuture<?>, Collection<CompletableFuture<?>>) - Static method in class org.drasyl.util.FutureUtil
-
Completes
future
exceptionally if one of the givenfutures
are completed exceptionally. - completeOnAnyOfExceptionally(CompletableFuture<?>, CompletableFuture<?>...) - Static method in class org.drasyl.util.FutureUtil
-
Completes
future
exceptionally if one of the givenfutures
are completed exceptionally. - COMPRESSED_KEY_LENGTH - Static variable in class org.drasyl.crypto.Crypto
- compressedKey(PrivateKey) - Static method in class org.drasyl.crypto.Crypto
-
Generates an asymmetric, compressed curve private key from the given private key.
- compressedKey(PublicKey) - Static method in class org.drasyl.crypto.Crypto
-
Generates an asymmetric, compressed curve public key from the given public key.
- CompressedKeyPair - Class in org.drasyl.identity
-
This class is a simple holder for a compressed key pair (a
CompressedPublicKey
and aCompressedPrivateKey
). - CompressedPrivateKey - Class in org.drasyl.identity
-
This interface models a compressed key that can be converted into a string and vice versa.
- CompressedPrivateKey(String) - Constructor for class org.drasyl.identity.CompressedPrivateKey
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
CompressedPrivateKey.of(String)
instead. - CompressedPrivateKey(PrivateKey) - Constructor for class org.drasyl.identity.CompressedPrivateKey
-
Deprecated, for removal: This API element is subject to removal in a future version.this will be removed in the next release.
- CompressedPublicKey - Class in org.drasyl.identity
-
This interface models a compressed key that can be converted into a string and vice versa.
- CompressedPublicKey(String) - Constructor for class org.drasyl.identity.CompressedPublicKey
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
CompressedPublicKey.of(String)
instead. - CompressedPublicKey(PublicKey) - Constructor for class org.drasyl.identity.CompressedPublicKey
-
Deprecated, for removal: This API element is subject to removal in a future version.this will be removed in the next release.
- concat(byte[], byte[]) - Static method in class org.drasyl.util.ArrayUtil
-
Creates a new byte array containing all bytes from
a
first and then fromb
. - concat(E[], E[]) - Static method in class org.drasyl.util.ArrayUtil
-
Creates a new array containing all elements from
a
first and then fromb
. - config - Variable in class org.drasyl.pipeline.AbstractPipeline
- config() - Method in interface org.drasyl.pipeline.HandlerContext
-
Returns the corresponding
DrasylConfig
. - context(String) - Method in class org.drasyl.pipeline.AbstractPipeline
- context(String) - Method in interface org.drasyl.pipeline.Pipeline
-
Returns the context object of the
Handler
with the specified name in this pipeline. - copy() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
This method returns a copy of the
IntermediateEnvelope
and resets the reader index to 0. - CORRESPONDINGID_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- created() - Method in class org.drasyl.behaviour.BehavioralDrasylNode
-
Returns the initial
Behavior
of the node. - createInetAddress(String) - Static method in class org.drasyl.util.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. - createWorker() - Method in class org.drasyl.util.scheduler.DrasylScheduler
- Crypto - Class in org.drasyl.crypto
-
Util class that provides cryptography functions for drasyl.
- 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, Exception) - Constructor for exception org.drasyl.crypto.CryptoException
- CSPRNG - Static variable in class org.drasyl.crypto.Crypto
D
- debug(String) - Method in class org.drasyl.util.logging.Logger
- debug(String, Object) - Method in class org.drasyl.util.logging.Logger
- debug(String, Object...) - Method in class org.drasyl.util.logging.Logger
- debug(String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- debug(String, Throwable) - Method in class org.drasyl.util.logging.Logger
- debug(String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- debug(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- debug(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- debug(Marker, String) - Method in class org.drasyl.util.logging.Logger
- debug(Marker, String, Object) - Method in class org.drasyl.util.logging.Logger
- debug(Marker, String, Object...) - Method in class org.drasyl.util.logging.Logger
- debug(Marker, String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- debug(Marker, String, Throwable) - Method in class org.drasyl.util.logging.Logger
- debug(Marker, String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- debug(Marker, String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- debug(Marker, String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- decrement() - Method in class org.drasyl.util.UnsignedInteger
- decrement() - Method in class org.drasyl.util.UnsignedShort
- DefaultAddressedEnvelope<A extends Address,M> - Class in org.drasyl.pipeline.message
- DefaultAddressedEnvelope(A, A, M) - Constructor for class org.drasyl.pipeline.message.DefaultAddressedEnvelope
- DefaultHandlerContext - Class in org.drasyl.pipeline
-
The default handler context implementation.
- DefaultHandlerContext(String, Handler, DrasylConfig, Pipeline, DrasylScheduler, DrasylScheduler, Identity, PeersManager, Serialization, Serialization) - Constructor for class org.drasyl.pipeline.DefaultHandlerContext
-
Generates a new default handler context for the given
handler
. - DeferredBehavior - Class in org.drasyl.behaviour
- DeferredBehavior(Function<DrasylNode, Behavior>) - Constructor for class org.drasyl.behaviour.DeferredBehavior
- delegate() - Method in class org.drasyl.util.logging.Logger
- deleteIdentityFile(Path) - Static method in class org.drasyl.identity.IdentityManager
-
Deletes the identity file specified in the configuration.
- deletePortMapping(URI, String, int) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- dependentScheduler - Variable in class org.drasyl.pipeline.AbstractPipeline
- dependentScheduler() - Method in interface org.drasyl.pipeline.HandlerContext
-
This method returns the same thread pool that is used by the normal pipeline processing.
- difference(Set<E>, E...) - Static method in class org.drasyl.util.SetUtil
-
Returns a set containing all elements from set
a
that are notb
. - 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 setb
. - DisabledSerializer - Class in org.drasyl.serialization
-
This handler denies any (de)serialization and can be used to disable existing serializers.
- DisabledSerializer() - Constructor for class org.drasyl.serialization.DisabledSerializer
- disarm(CompressedPrivateKey) - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Returns a disarmed version of this envelope.
- disarmAndRelease(CompressedPrivateKey) - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Returns a disarmed version of this envelope.
- discovery(int, CompressedPublicKey, ProofOfWork, CompressedPublicKey, long) - Static method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Creates a new join message.
- DISCOVERY - org.drasyl.remote.protocol.Protocol.MessageType
-
DISCOVERY = 2;
- DISCOVERY_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
-
DISCOVERY = 2;
- DiscoveryResponseMessage(String, String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- DoubleSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Double
objects. - DoubleSerializer() - Constructor for class org.drasyl.serialization.DoubleSerializer
- DrasylConfig - Class in org.drasyl
-
This class represents the configuration for a
DrasylNode
. - DrasylConfig() - Constructor for class org.drasyl.DrasylConfig
- DrasylConfig(Config) - Constructor for class org.drasyl.DrasylConfig
-
Creates a new config for a drasyl node.
- DrasylConfig.Builder - Class in org.drasyl
- DrasylConfigException - Exception in org.drasyl
-
An
Exception
which is thrown byDrasylConfig
. - DrasylConfigException(String, String) - Constructor for exception org.drasyl.DrasylConfigException
- DrasylConfigException(String, Throwable) - Constructor for exception org.drasyl.DrasylConfigException
- DrasylConfigException(Throwable) - Constructor for exception org.drasyl.DrasylConfigException
- DrasylException - Exception in org.drasyl
-
All checked exceptions in drasyl inherit from this exception class.
- DrasylException(String) - Constructor for exception org.drasyl.DrasylException
- DrasylException(String, Throwable) - Constructor for exception org.drasyl.DrasylException
- DrasylException(Throwable) - Constructor for exception org.drasyl.DrasylException
- DrasylNode - Class in org.drasyl
-
Represents a node in the drasyl Overlay Network.
- DrasylNode() - Constructor for class org.drasyl.DrasylNode
-
Creates a new drasyl Node.
- DrasylNode(DrasylConfig) - Constructor for class org.drasyl.DrasylNode
-
Creates a new drasyl Node with the given
config
. - DrasylNode(DrasylConfig, Identity, PeersManager, Pipeline, PluginManager, AtomicReference<CompletableFuture<Void>>, AtomicReference<CompletableFuture<Void>>, Scheduler) - Constructor for class org.drasyl.DrasylNode
- DrasylPipeline - Class in org.drasyl.pipeline
-
The default
Pipeline
implementation. - DrasylPipeline(Consumer<Event>, DrasylConfig, Identity, PeersManager, EventLoopGroup) - Constructor for class org.drasyl.pipeline.DrasylPipeline
- DrasylPlugin - Interface in org.drasyl.plugin
-
This interface is implemented by all drasyl plugins.
- DrasylScheduler - Class in org.drasyl.util.scheduler
- DrasylSchedulerUtil - Class in org.drasyl.util.scheduler
-
It is an intentional behavior that this scheduler ensures that the JVM is not automatically terminated once all sequential program flows have been processed.
- DrasylSchedulerUtil.DrasylExecutor - Class in org.drasyl.util.scheduler
- DurationUtil - Class in org.drasyl.util
-
Utility class for operations on
Duration
s.
E
- EmbeddedPipeline - Class in org.drasyl.pipeline
- EmbeddedPipeline(DrasylConfig, Identity, PeersManager, Handler...) - Constructor for class org.drasyl.pipeline.EmbeddedPipeline
-
Creates a new embedded pipeline and adds all given handler to it.
- EmbeddedPipeline(DrasylConfig, Identity, PeersManager, DrasylScheduler, DrasylScheduler, Handler...) - Constructor for class org.drasyl.pipeline.EmbeddedPipeline
- Endpoint - Class in org.drasyl.peer
-
Represents an endpoint of a drasyl node.
- EPOCH_TIME_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- equals(Object) - Method in class org.drasyl.DrasylConfig
- equals(Object) - Method in exception org.drasyl.DrasylException
- equals(Object) - Method in class org.drasyl.event.MessageEvent
- equals(Object) - Method in class org.drasyl.event.Node
- equals(Object) - Method in class org.drasyl.event.NodeUnrecoverableErrorEvent
- equals(Object) - Method in class org.drasyl.event.Peer
- equals(Object) - Method in class org.drasyl.identity.CompressedKeyPair
- equals(Object) - Method in class org.drasyl.identity.Identity
- equals(Object) - Method in class org.drasyl.identity.ProofOfWork
- equals(Object) - Method in class org.drasyl.peer.Endpoint
- equals(Object) - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
- equals(Object) - Method in class org.drasyl.pipeline.serialization.SerializedApplicationMessage
- equals(Object) - Method in class org.drasyl.plugin.PluginEnvironment
- equals(Object) - Method in class org.drasyl.remote.handler.InternetDiscoveryHandler.Ping
- equals(Object) - Method in class org.drasyl.remote.protocol.MessageId
- equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.Application
- equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- equals(Object) - Method in class org.drasyl.remote.protocol.Protocol.Unite
- equals(Object) - Method in class org.drasyl.util.Pair
- equals(Object) - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- equals(Object) - Method in class org.drasyl.util.Triple
- equals(Object) - Method in class org.drasyl.util.UnsignedInteger
- equals(Object) - Method in class org.drasyl.util.UnsignedShort
- equals(Object) - Method in class org.drasyl.util.Worm
- error(String) - Method in class org.drasyl.util.logging.Logger
- error(String, Object) - Method in class org.drasyl.util.logging.Logger
- error(String, Object...) - Method in class org.drasyl.util.logging.Logger
- error(String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- error(String, Throwable) - Method in class org.drasyl.util.logging.Logger
- error(String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- error(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- error(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- error(Marker, String) - Method in class org.drasyl.util.logging.Logger
- error(Marker, String, Object) - Method in class org.drasyl.util.logging.Logger
- error(Marker, String, Object...) - Method in class org.drasyl.util.logging.Logger
- error(Marker, String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- error(Marker, String, Throwable) - Method in class org.drasyl.util.logging.Logger
- error(Marker, String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- error(Marker, String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- error(Marker, String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- Event - Interface in org.drasyl.event
-
Describes an Event that provides the application with information about the local node, other peers, connections or incoming messages.
- EVENT_TRIGGERED_MASK - Static variable in class org.drasyl.pipeline.HandlerMask
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.intravm.IntraVmDiscovery
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.localhost.LocalHostDiscovery
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.loopback.handler.InboundMessageGuard
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.loopback.handler.LoopbackMessageHandler
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.monitoring.Monitoring
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.Handler
-
Gets called if a
Event
was emitted. - eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.MessagesThroughputHandler
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexHandler
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundHandler
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.InternetDiscoveryHandler
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.portmapper.PortMapper
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.StaticRoutesHandler
- eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.UdpServer
- EXCEPTION_CAUGHT_MASK - Static variable in class org.drasyl.pipeline.HandlerMask
- exceptionCaught(HandlerContext, Exception) - Method in interface org.drasyl.pipeline.Handler
-
Gets called if a
Exception
was thrown. - exceptionCaught(HandlerContext, Exception) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
- EXCESSIVE_REMOTE_PEERS - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- EXTERNAL_ADDRESS_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- EXTERNAL_ADDRESS_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- EXTERNAL_IP_ADDRESS_TIMEOUT - Static variable in class org.drasyl.util.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.localhost.LocalHostDiscovery
- find(Object, Class<?>, String) - Static method in class org.drasyl.util.TypeParameterMatcher
- findSerializerFor(String) - Method in class org.drasyl.pipeline.serialization.Serialization
-
Returns the configured
Serializer
for the givenclazzName
. - fireEventTriggered(Event, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.HandlerContext
-
Received an event.
- fireExceptionCaught(Exception) - Method in interface org.drasyl.pipeline.HandlerContext
-
Received an
Throwable
in one of the inbound operations. - fireRead(Address, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.HandlerContext
-
Received a message.
- first() - Method in class org.drasyl.util.Pair
- first() - Method in class org.drasyl.util.Triple
- firstElement(Set<E>) - Static method in class org.drasyl.util.SetUtil
-
Returns the first element from set
set
. - FloatSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Float
objects. - FloatSerializer() - Constructor for class org.drasyl.serialization.FloatSerializer
- forNumber(int) - Static method in enum org.drasyl.remote.protocol.Protocol.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
- fromByteArray(byte[], Class<T>) - Method in class org.drasyl.serialization.DisabledSerializer
- fromByteArray(byte[], Class<T>) - Method in class org.drasyl.serialization.JacksonJsonSerializer
- fromByteArray(byte[], Class<T>) - Method in class org.drasyl.serialization.NullSerializer
- fromByteArray(byte[], Class<T>) - Method in interface org.drasyl.serialization.Serializer
-
Produces an object of type
T
from an array of bytes. - fromByteArray(byte[], String) - Method in interface org.drasyl.serialization.Serializer
- fromString(String) - Static method in class org.drasyl.crypto.HexUtil
-
Converts a Hexadecimal String into the corresponding byte[]
- FutureUtil - Class in org.drasyl.util
-
Utility class for future-related operations.
G
- generateIdentity() - Static method in class org.drasyl.identity.IdentityManager
-
Generates a new random identity.
- generateKeys() - Static method in class org.drasyl.crypto.Crypto
-
Generates an asymmetric curve key pair for signing.
- generateProofOfWork(CompressedPublicKey, byte) - Static method in class org.drasyl.identity.ProofOfWork
- get() - Method in interface org.drasyl.util.ThrowingSupplier
-
Gets a result.
- get() - Method in class org.drasyl.util.Worm
-
If a value is present, returns the value, otherwise throws
NoSuchElementException
. - get(Class<?>) - Static method in class org.drasyl.util.TypeParameterMatcher
- get(String) - Method in class org.drasyl.pipeline.AbstractPipeline
- get(String) - Method in interface org.drasyl.pipeline.Pipeline
-
Returns the
Handler
with the specified name in this pipeline. - getAddress() - Method in class org.drasyl.remote.handler.InternetDiscoveryHandler.Ping
- getAddress() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
hostname
- getAddress() - Method in class org.drasyl.remote.protocol.Protocol.Unite
-
hostname
- getAddress() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
-
hostname
- getAddressBytes() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
hostname
- getAddressBytes() - Method in class org.drasyl.remote.protocol.Protocol.Unite
-
hostname
- getAddressBytes() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
-
hostname
- getAddresses() - Static method in class org.drasyl.util.NetworkUtil
-
Returns a list of the IP addresses of all network interfaces of the local computer.
- getBestDatagramChannel() - Static method in class org.drasyl.util.NettyUtil
-
Returns the
DatagramChannel
that fits best to the current environment. - getBestEventLoopGroup(int) - Static method in class org.drasyl.util.NettyUtil
-
Returns the
EventLoopGroup
that fits best to the current environment. - getBody() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Reads only the body of the given message and retains the underlying byte representation of the full message.
- getBodyAndRelease() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Reads only the body of the given message and releases the underlying byte representation of the full message.
- getByte(Config, String) - Static method in class org.drasyl.DrasylConfig
-
Gets the byte at the given path.
- getChildren() - Method in class org.drasyl.peer.PeersManager
- getChildrenTime() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
-
uint64 childrenTime = 1;
- getChildrenTime() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
-
uint64 childrenTime = 1;
- getChildrenTime() - Method in interface org.drasyl.remote.protocol.Protocol.DiscoveryOrBuilder
-
uint64 childrenTime = 1;
- getChunkNo() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Returns the number of the chunk.
- getChunkNo() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- getChunkNo() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- getChunkNo() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- getColor() - Method in enum org.drasyl.util.AnsiColor
- getCompleteOnAllOf(Collection<CompletableFuture<?>>) - Static method in class org.drasyl.util.FutureUtil
-
Returns a completed future if all of the given
futures
are completed. - getCompleteOnAllOf(CompletableFuture<?>...) - Static method in class org.drasyl.util.FutureUtil
-
Returns a completed future if all of the given
futures
are completed. - getConfig() - Method in class org.drasyl.plugin.PluginEnvironment
- getContent() - Method in interface org.drasyl.pipeline.message.AddressedEnvelope
-
Returns the message wrapped by this envelope message.
- getContent() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
- getControlUrl() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- getCorrespondingId() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
-
8 bytes fix
- getCorrespondingId() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
-
8 bytes fix
- getCorrespondingId() - Method in interface org.drasyl.remote.protocol.Protocol.AcknowledgementOrBuilder
-
8 bytes fix
- getDefaultGateway() - Static method in class org.drasyl.util.NetworkUtil
- getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.Application
- getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- getDefaultInstance() - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Application
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- getDefaultInstanceForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite
- getDescription() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Application
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol
- getDescriptor() - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- getDescriptor() - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- getDescriptorForType() - Method in enum org.drasyl.remote.protocol.Protocol.MessageType
- getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- getDescriptorForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- getDifficulty(ProofOfWork, CompressedPublicKey) - Static method in class org.drasyl.identity.ProofOfWork
- getEndpoint(Config, String) - Static method in class org.drasyl.DrasylConfig
- getEndpointList(Config, String) - Static method in class org.drasyl.DrasylConfig
- getEpochTime() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getError() - Method in class org.drasyl.event.NodeUnrecoverableErrorEvent
-
Returns the exception that crashed the node.
- getErrorCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- getErrorCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- 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.NetworkUtil
-
Determines the external IPv4 address.
- getExternalIPv6Address() - Static method in class org.drasyl.util.NetworkUtil
-
Determines the external IPv6 address.
- getExternalPort() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- getExternalSuggestedAddress() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getExternalSuggestedPort() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getHopCount() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- getHopCount() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
1 byte fix (by definition, only values between 1 and 127 are allowed)
- getHopCount() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
-
1 byte fix (by definition, only values between 1 and 127 are allowed)
- getHopCount() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
-
1 byte fix (by definition, only values between 1 and 127 are allowed)
- getHost() - Method in class org.drasyl.peer.Endpoint
-
Returns the hostname of this endpoint.
- getId() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- getId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
8 bytes fix
- getId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
-
8 bytes fix
- getId() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
-
8 bytes fix
- getIdentity() - Method in class org.drasyl.event.Node
-
Returns the node's identity.
- getIdentity() - Method in class org.drasyl.identity.IdentityManager
- getIdentity() - Method in class org.drasyl.plugin.PluginEnvironment
- getIdentityPath() - Method in class org.drasyl.DrasylConfig
- getIdentityPrivateKey() - Method in class org.drasyl.DrasylConfig
- getIdentityProofOfWork() - Method in class org.drasyl.DrasylConfig
- getIdentityPublicKey() - Method in class org.drasyl.DrasylConfig
- getInetAddress(Config, String) - Static method in class org.drasyl.DrasylConfig
- getInetSocketAddress(Config, String) - Static method in class org.drasyl.DrasylConfig
- getInstanceHeavy() - Static method in class org.drasyl.util.scheduler.DrasylSchedulerUtil
-
Use this
DrasylScheduler
for slow and heavy task that does do longer computations. - getInstanceLight() - Static method in class org.drasyl.util.scheduler.DrasylSchedulerUtil
-
Use this
DrasylScheduler
for fast and light task that does not do heavy computations. - getInternalByteBuf() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
This method returns the internal wrapped
ByteBuf
of thisIntermediateEnvelope
. - 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.NetworkUtil
- getKeyPair() - 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.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.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
- getLogger(String) - Static method in class org.drasyl.util.logging.LoggerFactory
- getMappingNonce() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getMonitoringHostTag() - Method in class org.drasyl.DrasylConfig
- getMonitoringInfluxDatabase() - Method in class org.drasyl.DrasylConfig
- getMonitoringInfluxPassword() - Method in class org.drasyl.DrasylConfig
- getMonitoringInfluxReportingFrequency() - Method in class org.drasyl.DrasylConfig
- getMonitoringInfluxUri() - Method in class org.drasyl.DrasylConfig
- getMonitoringInfluxUser() - Method in class org.drasyl.DrasylConfig
- getName() - Method in class org.drasyl.util.logging.Logger
- getNetworkId() - Method in class org.drasyl.DrasylConfig
- getNetworkId() - Method in class org.drasyl.peer.Endpoint
-
Returns the network id of this endpoint.
- getNetworkId() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- getNetworkId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 4 bytes
- getNetworkId() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
-
up to 4 bytes
- getNetworkId() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
-
up to 4 bytes
- getNetworkPrefixLength(InetAddress) - Static method in class org.drasyl.util.NetworkUtil
-
Returns the network prefix length for given address.
- getNewConnectionStatus() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- getNewExternalIpAddress() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
- getNode() - Method in interface org.drasyl.event.NodeEvent
-
Returns the node to which this event refers.
- getNonce() - Method in class org.drasyl.identity.ProofOfWork
- getNumber() - Method in enum org.drasyl.remote.protocol.Protocol.MessageType
- getNumber() - Method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- getNumber() - Method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- getOrBuildByteBuf() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
The external
ByteBuf
or ifnull
builds it first. - getOrCompute(Supplier<T>) - Method in class org.drasyl.util.Worm
-
If no value has been set yet, it will be set to the return of
supplier
. - getOrSet(T) - Method in class org.drasyl.util.Worm
-
If no value has been set yet, it will be set to
value
. - getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.Application
- getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- getParserForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite
- getPath(Config, String) - Static method in class org.drasyl.DrasylConfig
-
Gets the
Path
at the given path. - getPaths(CompressedPublicKey) - Method in class org.drasyl.peer.PeersManager
- getPayload() - Method in class org.drasyl.event.MessageEvent
-
Returns the message's payload.
- getPayload() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
-
bytes payload = 1;
- getPayload() - Method in class org.drasyl.remote.protocol.Protocol.Application
-
bytes payload = 1;
- getPayload() - Method in interface org.drasyl.remote.protocol.Protocol.ApplicationOrBuilder
-
bytes payload = 1;
- getPeer() - Method in interface org.drasyl.event.PeerEvent
-
Returns the peer to which this event refers.
- getPeers() - Method in class org.drasyl.peer.PeersManager
- getPingTime() - Method in class org.drasyl.remote.handler.InternetDiscoveryHandler.Ping
- getPipeline() - Method in class org.drasyl.plugin.PluginEnvironment
- getPlugins() - Method in class org.drasyl.DrasylConfig
- getPlugins(Config, String) - Static method in class org.drasyl.DrasylConfig
- getPort() - Method in class org.drasyl.event.Node
-
Returns the node's server port.
- getPort() - Method in class org.drasyl.peer.Endpoint
-
Returns the port of this endpoint.
- getPort() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
2 bytes fix
- getPort() - Method in class org.drasyl.remote.protocol.Protocol.Unite
-
2 bytes fix
- getPort() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
-
2 bytes fix
- getPrivateHeader() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Reads only the (private) header of the given message and retains the underlying byte representation of the full message.
- getPrivateKey() - Method in class org.drasyl.identity.CompressedKeyPair
- getPrivateKey() - Method in class org.drasyl.identity.Identity
- getPrivateKey() - Method in class org.drasyl.identity.IdentityManager
- getPrivateKey(Config, String) - Static method in class org.drasyl.DrasylConfig
-
Gets the
CompressedPrivateKey
at the given path. - getPrivateKeyFromBytes(byte[]) - Static method in class org.drasyl.crypto.Crypto
-
Generates an asymmetric curve private key from the given bytes.
- getProofOfWork() - Method in class org.drasyl.identity.Identity
- getProofOfWork() - Method in class org.drasyl.identity.IdentityManager
- getProofOfWork() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- getProofOfWork() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 4 bytes
- getProofOfWork() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
-
up to 4 bytes
- getProofOfWork() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
-
up to 4 bytes
- getProofOfWork(Config, String) - Static method in class org.drasyl.DrasylConfig
-
Gets the
ProofOfWork
at the given path. - getProtocol() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getPublicHeader() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Reads only the public header of the given message and retains the underlying byte representation of the full message.
- getPublicKey() - Method in class org.drasyl.event.Peer
-
Returns the peer's public key.
- getPublicKey() - Method in class org.drasyl.identity.CompressedKeyPair
- getPublicKey() - Method in class org.drasyl.identity.Identity
- getPublicKey() - Method in class org.drasyl.identity.IdentityManager
- getPublicKey() - Method in class org.drasyl.peer.Endpoint
-
Returns the
CompressedPublicKey
of thisEndpoint
. - getPublicKey() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
33 bytes fix
- getPublicKey() - Method in class org.drasyl.remote.protocol.Protocol.Unite
-
33 bytes fix
- getPublicKey() - Method in interface org.drasyl.remote.protocol.Protocol.UniteOrBuilder
-
33 bytes fix
- getPublicKey(Config, String) - Static method in class org.drasyl.DrasylConfig
-
Gets the
CompressedPublicKey
at the given path. - getPublicKeyFromBytes(byte[]) - Static method in class org.drasyl.crypto.Crypto
-
Generates an asymmetric curve public key from the given bytes.
- 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 isnull
. - getRecipient() - Method in interface org.drasyl.pipeline.message.AddressedEnvelope
-
Returns this message's recipient.
- getRecipient() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
- getRecipient() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- getRecipient() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
33 bytes fix
- getRecipient() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
-
33 bytes fix
- getRecipient() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
-
33 bytes fix
- getRemoteBindHost() - Method in class org.drasyl.DrasylConfig
- getRemoteBindPort() - Method in class org.drasyl.DrasylConfig
- getRemoteEndpoints() - Method in class org.drasyl.DrasylConfig
- getRemoteLocalHostDiscoveryLeaseTime() - Method in class org.drasyl.DrasylConfig
- getRemoteLocalHostDiscoveryPath() - Method in class org.drasyl.DrasylConfig
- getRemoteMessageComposedMessageTransferTimeout() - Method in class org.drasyl.DrasylConfig
- getRemoteMessageHopLimit() - Method in class org.drasyl.DrasylConfig
- getRemoteMessageMaxContentLength() - Method in class org.drasyl.DrasylConfig
- getRemoteMessageMtu() - Method in class org.drasyl.DrasylConfig
- getRemotePingCommunicationTimeout() - Method in class org.drasyl.DrasylConfig
- getRemotePingInterval() - Method in class org.drasyl.DrasylConfig
- getRemotePingMaxPeers() - Method in class org.drasyl.DrasylConfig
- getRemotePingTimeout() - Method in class org.drasyl.DrasylConfig
- getRemoteStaticRoutes() - Method in class org.drasyl.DrasylConfig
- getRemoteSuperPeerEndpoints() - Method in class org.drasyl.DrasylConfig
- getRemoteUniteMinInterval() - Method in class org.drasyl.DrasylConfig
- getSecondsSinceStartOfEpoch() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- getSecondsSinceStartOfEpoch() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- getSender() - Method in class org.drasyl.event.MessageEvent
-
Returns the message's sender.
- getSender() - Method in interface org.drasyl.pipeline.message.AddressedEnvelope
-
Returns this message's sender.
- getSender() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
- getSender() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- getSender() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
33 bytes fix
- getSender() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
-
33 bytes fix
- getSender() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
-
33 bytes fix
- getSerializationBindings(Config, String, Collection<String>) - Static method in class org.drasyl.DrasylConfig
- getSerializationsBindingsInbound() - Method in class org.drasyl.DrasylConfig
- getSerializationsBindingsOutbound() - Method in class org.drasyl.DrasylConfig
- getSerializationSerializers() - Method in class org.drasyl.DrasylConfig
- getSerializationSerializers(Config, String) - Static method in class org.drasyl.DrasylConfig
- getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.Application
- getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- getSerializedSize() - Method in class org.drasyl.remote.protocol.Protocol.Unite
- getServiceType() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- getServiceType() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- getShort(Config, String) - Static method in class org.drasyl.DrasylConfig
-
Gets the short at the given path.
- getSignature() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- getSignature() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
32 bytes fix
- getSignature() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
-
32 bytes fix
- getSignature() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
-
32 bytes fix
- getSpecificPortMappingEntry(URI, String, Integer) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- getStaticRoutes(Config, String) - Static method in class org.drasyl.DrasylConfig
- getStatusInfo(URI, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- getSuperPeers() - Method in class org.drasyl.peer.PeersManager
- getTotalChunks() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Returns the total chunks number.
- getTotalChunks() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- getTotalChunks() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- getTotalChunks() - Method in interface org.drasyl.remote.protocol.Protocol.PublicHeaderOrBuilder
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- getType() - Method in class org.drasyl.pipeline.serialization.SerializedApplicationMessage
- getType() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
-
string type = 2;
- getType() - Method in class org.drasyl.remote.protocol.Protocol.Application
-
string type = 2;
- getType() - Method in interface org.drasyl.remote.protocol.Protocol.ApplicationOrBuilder
-
string type = 2;
- getType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
-
.org.drasyl.remote.protocol.MessageType type = 1;
- getType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
-
.org.drasyl.remote.protocol.MessageType type = 1;
- getType() - Method in interface org.drasyl.remote.protocol.Protocol.PrivateHeaderOrBuilder
-
.org.drasyl.remote.protocol.MessageType type = 1;
- getType() - Method in class org.drasyl.util.TypeParameterMatcher
- getType() - Method in class org.drasyl.util.TypeReference
-
Gets the referenced type.
- getTypeBytes() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
-
string type = 2;
- getTypeBytes() - Method in class org.drasyl.remote.protocol.Protocol.Application
-
string type = 2;
- getTypeBytes() - Method in interface org.drasyl.remote.protocol.Protocol.ApplicationOrBuilder
-
string type = 2;
- getTypeValue() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
-
.org.drasyl.remote.protocol.MessageType type = 1;
- getTypeValue() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
-
.org.drasyl.remote.protocol.MessageType type = 1;
- getTypeValue() - Method in interface org.drasyl.remote.protocol.Protocol.PrivateHeaderOrBuilder
-
.org.drasyl.remote.protocol.MessageType type = 1;
- getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.Application
- getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- getUnknownFields() - Method in class org.drasyl.remote.protocol.Protocol.Unite
- getUpnpService(URI) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- getURI() - Method in class org.drasyl.peer.Endpoint
-
Returns an
URI
representing thisEndpoint
. - getURI(Config, String) - Static method in class org.drasyl.DrasylConfig
-
Gets the
URI
at the given path. - getValue() - Method in class org.drasyl.util.UnsignedInteger
- getValue() - Method in class org.drasyl.util.UnsignedShort
- getValueDescriptor() - Method in enum org.drasyl.remote.protocol.Protocol.MessageType
- getVersion() - Static method in class org.drasyl.DrasylNode
-
Returns the version of the node.
H
- handleMessage(HandlerContext, AddressedByteBuf) - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
- handleMessage(HandlerContext, AddressedByteBuf) - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
- handleMessage(HandlerContext, AddressedByteBuf) - Method in interface org.drasyl.remote.handler.portmapper.PortMapping
-
Is called for incoming messages and thus enables this method to react to relevant messages.
- handleMessage(HandlerContext, AddressedByteBuf) - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
- handler() - Method in class org.drasyl.pipeline.DefaultHandlerContext
- handler() - Method in interface org.drasyl.pipeline.HandlerContext
-
Returns the associated
Handler
. - Handler - Interface in org.drasyl.pipeline
-
Handles an I/O event or intercepts an I/O operation, and forwards it to its next handler in its
Pipeline
. - HandlerAdapter - Class in org.drasyl.pipeline.skeleton
-
Skeleton implementation of a
Handler
. - HandlerAdapter() - Constructor for class org.drasyl.pipeline.skeleton.HandlerAdapter
- handlerAdded(HandlerContext) - Method in interface org.drasyl.pipeline.Handler
-
Gets called after the
Handler
was added to the actual context and it's ready to handle events. - handlerAdded(HandlerContext) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
-
Do nothing by default, sub-classes may override this method.
- HandlerContext - Interface in org.drasyl.pipeline
- HandlerMask - Class in org.drasyl.pipeline
-
Class to compute the mask of a given
Handler
. - handlerNames - Variable in class org.drasyl.pipeline.AbstractPipeline
- handlerRemoved(HandlerContext) - Method in interface org.drasyl.pipeline.Handler
-
Gets called after the
Handler
was removed from the actual context and it doesn't handle events anymore. - handlerRemoved(HandlerContext) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
-
Do nothing by default, sub-classes may override this method.
- hashCode() - Method in class org.drasyl.DrasylConfig
- hashCode() - Method in exception org.drasyl.DrasylException
- hashCode() - Method in class org.drasyl.event.MessageEvent
- hashCode() - Method in class org.drasyl.event.Node
- hashCode() - Method in class org.drasyl.event.NodeUnrecoverableErrorEvent
- hashCode() - Method in class org.drasyl.event.Peer
- hashCode() - Method in class org.drasyl.identity.CompressedKeyPair
- hashCode() - Method in class org.drasyl.identity.Identity
- hashCode() - Method in class org.drasyl.identity.ProofOfWork
- hashCode() - Method in class org.drasyl.peer.Endpoint
- hashCode() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
- hashCode() - Method in class org.drasyl.pipeline.serialization.SerializedApplicationMessage
- hashCode() - Method in class org.drasyl.plugin.PluginEnvironment
- hashCode() - Method in class org.drasyl.remote.handler.InternetDiscoveryHandler.Ping
- hashCode() - Method in class org.drasyl.remote.protocol.MessageId
- hashCode() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- hashCode() - Method in class org.drasyl.remote.protocol.Protocol.Application
- hashCode() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- hashCode() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- hashCode() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- hashCode() - Method in class org.drasyl.remote.protocol.Protocol.Unite
- hashCode() - Method in class org.drasyl.util.Pair
- hashCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- hashCode() - Method in class org.drasyl.util.Triple
- hashCode() - Method in class org.drasyl.util.UnsignedInteger
- hashCode() - Method in class org.drasyl.util.UnsignedShort
- hashCode() - Method in class org.drasyl.util.Worm
- hashCode2Hex(HashCode) - Static method in class org.drasyl.crypto.Hashing
-
Converts the given
HashCode
into a hexadecimal string. - Hashing - Class in org.drasyl.crypto
-
Util class that provides hashing functions for drasyl.
- hasPosixSupport(Path) - Static method in class org.drasyl.util.PathUtil
-
Check if
path
's file system supports POSIX. - head - Variable in class org.drasyl.pipeline.AbstractPipeline
- HexUtil - Class in org.drasyl.crypto
-
Util class that provides hexadecimal functions for drasyl.
- HOP_COUNT_GUARD - Static variable in class org.drasyl.remote.handler.HopCountGuard
- HOPCOUNT_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
- HopCountGuard - Class in org.drasyl.remote.handler
-
This handler ensures that
IntermediateEnvelope
s do not infinitely circulate in the network. - HTTP_HEADER_FIELD_SEPARATOR_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- HTTP_HEADER_SEPARATOR_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
I
- ID_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
- identity - Variable in class org.drasyl.pipeline.AbstractPipeline
- identity() - Method in class org.drasyl.DrasylNode
-
Returns the
Identity
of this node. - identity() - Method in interface org.drasyl.pipeline.HandlerContext
-
Returns the identity of this node.
- Identity - Class in org.drasyl.identity
-
Represents the private identity of a peer (includes the proof of work, the public and private key).
- IdentityManager - Class in org.drasyl.identity
-
This class holds the identity of the node.
- IdentityManager(DrasylConfig) - Constructor for class org.drasyl.identity.IdentityManager
-
Manages the identity at the specified file path.
- identityPath(Path) - Method in class org.drasyl.DrasylConfig.Builder
- identityPrivateKey(CompressedPrivateKey) - Method in class org.drasyl.DrasylConfig.Builder
- identityProofOfWork(ProofOfWork) - Method in class org.drasyl.DrasylConfig.Builder
- identityPublicKey(CompressedPublicKey) - Method in class org.drasyl.DrasylConfig.Builder
- ignore() - Static method in class org.drasyl.behaviour.Behaviors
-
A behavior that ignores every incoming message.
- INBOUND_MESSAGE_GUARD - Static variable in class org.drasyl.loopback.handler.InboundMessageGuard
- inboundEvents() - Method in class org.drasyl.pipeline.EmbeddedPipeline
- InboundMessageGuard - Class in org.drasyl.loopback.handler
-
This handler filters incoming messages not addressed to the local node.
- InboundMessageGuard() - Constructor for class org.drasyl.loopback.handler.InboundMessageGuard
- inboundMessages() - Method in class org.drasyl.pipeline.EmbeddedPipeline
- inboundMessages(Class<T>) - Method in class org.drasyl.pipeline.EmbeddedPipeline
- inboundMessages(TypeReference<T>) - Method in class org.drasyl.pipeline.EmbeddedPipeline
- inboundMessagesWithRecipient() - Method in class org.drasyl.pipeline.EmbeddedPipeline
- inboundSerialization - Variable in class org.drasyl.pipeline.AbstractPipeline
- inboundSerialization() - Method in interface org.drasyl.pipeline.HandlerContext
-
Returns the inbound
Serialization
of this pipeline. - incNonce() - Method in class org.drasyl.identity.ProofOfWork
- increment() - Method in class org.drasyl.util.UnsignedInteger
- increment() - Method in class org.drasyl.util.UnsignedShort
- incrementHopCount() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- independentScheduler - Variable in class org.drasyl.pipeline.AbstractPipeline
- independentScheduler() - Method in interface org.drasyl.pipeline.HandlerContext
-
Implementation Note: This method must always return a scheduler, that differs from the normal pipeline scheduler.
- InetSocketAddressUtil - Class in org.drasyl.util
-
Utility class for operations on
URL
s. - InetSocketAddressWrapper - Class in org.drasyl.pipeline.address
- InetSocketAddressWrapper(int) - Constructor for class org.drasyl.pipeline.address.InetSocketAddressWrapper
-
Creates a socket address where the IP address is the wildcard address and the port number a specified value.
- InetSocketAddressWrapper(String, int) - Constructor for class org.drasyl.pipeline.address.InetSocketAddressWrapper
-
Creates a socket address from a hostname and a port number.
- InetSocketAddressWrapper(InetAddress, int) - Constructor for class org.drasyl.pipeline.address.InetSocketAddressWrapper
-
Creates a socket address from an IP address and a port number.
- InetSocketAddressWrapper(InetSocketAddress) - Constructor for class org.drasyl.pipeline.address.InetSocketAddressWrapper
-
Converts a
address
to anInetSocketAddress
- info(String) - Method in class org.drasyl.util.logging.Logger
- info(String, Object) - Method in class org.drasyl.util.logging.Logger
- info(String, Object...) - Method in class org.drasyl.util.logging.Logger
- info(String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- info(String, Throwable) - Method in class org.drasyl.util.logging.Logger
- info(String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- info(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- info(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- info(Marker, String) - Method in class org.drasyl.util.logging.Logger
- info(Marker, String, Object) - Method in class org.drasyl.util.logging.Logger
- info(Marker, String, Object...) - Method in class org.drasyl.util.logging.Logger
- info(Marker, String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- info(Marker, String, Throwable) - Method in class org.drasyl.util.logging.Logger
- info(Marker, String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- info(Marker, String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- info(Marker, String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- initPointer() - Method in class org.drasyl.pipeline.AbstractPipeline
- INSTANCE - Static variable in class org.drasyl.intravm.IntraVmDiscovery
- INSTANCE - Static variable in class org.drasyl.pipeline.handler.AddressedEnvelopeHandler
- INSTANCE - Static variable in class org.drasyl.pipeline.serialization.MessageSerializer
- INSTANCE - Static variable in class org.drasyl.remote.handler.ArmHandler
- INSTANCE - Static variable in class org.drasyl.remote.handler.ByteBuf2MessageHandler
- INSTANCE - Static variable in class org.drasyl.remote.handler.HopCountGuard
- INSTANCE - Static variable in class org.drasyl.remote.handler.InvalidProofOfWorkFilter
- INSTANCE - Static variable in class org.drasyl.remote.handler.Message2ByteBufHandler
- INSTANCE - Static variable in class org.drasyl.remote.handler.OtherNetworkFilter
- INSTANCE - Static variable in class org.drasyl.remote.handler.StaticRoutesHandler
- IntegerSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Integer
objects. - IntegerSerializer() - Constructor for class org.drasyl.serialization.IntegerSerializer
- IntermediateEnvelope<T extends com.google.protobuf.MessageLite> - Class in org.drasyl.remote.protocol
-
This class allows to read a given
ByteBuf
encoded protobuf message in parts with only decoding the requested parts of the givenByteBuf
. - intern() - Method in class org.drasyl.identity.CompressedPrivateKey
- intern() - Method in class org.drasyl.identity.CompressedPublicKey
- intern(T) - Method in class org.drasyl.util.InternPool
-
Returns a canonical representation for the object.
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Application
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- internalGetFieldAccessorTable() - Method in class org.drasyl.remote.protocol.Protocol.Unite
- internalGetValueMap() - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
- INTERNET_DISCOVERY_HANDLER - Static variable in class org.drasyl.remote.handler.InternetDiscoveryHandler
- InternetDiscoveryHandler - Class in org.drasyl.remote.handler
-
This handler performs the following tasks, which help to communicate with nodes located in other networks: Joins one or more super peers or acts itself as a super peer (super peers act as registries of available nodes on the network.
- InternetDiscoveryHandler(DrasylConfig) - Constructor for class org.drasyl.remote.handler.InternetDiscoveryHandler
- InternetDiscoveryHandler.Ping - Class in org.drasyl.remote.handler
- InternPool<T> - Class in org.drasyl.util
-
Represents a pool of unique objects of type
T
. - InternPool() - Constructor for class org.drasyl.util.InternPool
- INTERVAL - Static variable in class org.drasyl.pipeline.handler.MessagesThroughputHandler
- INTRA_VM_DISCOVERY - Static variable in class org.drasyl.intravm.IntraVmDiscovery
- IntraVmDiscovery - Class in org.drasyl.intravm
-
Uses shared memory to discover other drasyl nodes running on same JVM.
- intraVmDiscoveryEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
- intValue() - Method in class org.drasyl.identity.ProofOfWork
-
Returns the value of this
ProofOfWork
as anint
. - INVALID_PROOF_OF_WORK_FILTER - Static variable in class org.drasyl.remote.handler.InvalidProofOfWorkFilter
- InvalidProofOfWorkFilter - Class in org.drasyl.remote.handler
-
This handler filters out all messages received with invalid proof of work.
- irrevocablyTerminate() - Static method in class org.drasyl.DrasylNode
-
This method stops the shared threads (
EventLoopGroup
s), but only if noneDrasylNode
is using them anymore. - isCalledFromThisScheduler() - Method in class org.drasyl.util.scheduler.DrasylScheduler
-
This method returns
true
if the method was called from this scheduler. - isChunk() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Returns
true
if this message is a chunk. - isConnected() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- isDebugEnabled() - Method in class org.drasyl.util.logging.Logger
- isDebugEnabled(Marker) - Method in class org.drasyl.util.logging.Logger
- isEmpty() - Method in class org.drasyl.util.Worm
-
If a value is not present, returns
true
, otherwisefalse
. - isErrorEnabled() - Method in class org.drasyl.util.logging.Logger
- isErrorEnabled(Marker) - Method in class org.drasyl.util.logging.Logger
- isInfoEnabled() - Method in class org.drasyl.util.logging.Logger
- isInfoEnabled(Marker) - Method in class org.drasyl.util.logging.Logger
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Application
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- isInitialized() - Method in class org.drasyl.remote.protocol.Protocol.Unite
- isIntraVmDiscoveryEnabled() - Method in class org.drasyl.DrasylConfig
- isMonitoringEnabled() - Method in class org.drasyl.DrasylConfig
- isPresent() - Method in class org.drasyl.util.Worm
-
If a value is present, returns
true
, otherwisefalse
. - isRemoteEnabled() - Method in class org.drasyl.DrasylConfig
- isRemoteExposeEnabled() - Method in class org.drasyl.DrasylConfig
- isRemoteLocalHostDiscoveryEnabled() - Method in class org.drasyl.DrasylConfig
- isRemoteMessageArmEnabled() - Method in class org.drasyl.DrasylConfig
- isRemoteSuperPeerEnabled() - Method in class org.drasyl.DrasylConfig
- isTraceEnabled() - Method in class org.drasyl.util.logging.Logger
- isTraceEnabled(Marker) - Method in class org.drasyl.util.logging.Logger
- isValid() - Method in class org.drasyl.identity.Identity
-
Validates the identity by checking whether the proof of work matches the public key.
- isValid(CompressedPublicKey, byte) - Method in class org.drasyl.identity.ProofOfWork
-
Checks if the current proof of work is valid for given public key and difficulty.
- isValidMessageId(byte[]) - Static method in class org.drasyl.remote.protocol.MessageId
-
Checks if
id
is a valid identifier. - isValidNonSpecialIPAddress(InetAddress) - Static method in class org.drasyl.util.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.NetworkUtil
-
Checks if a port is valid or not.
- isWarnEnabled() - Method in class org.drasyl.util.logging.Logger
- isWarnEnabled(Marker) - Method in class org.drasyl.util.logging.Logger
- 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
J
- JACKSON_MAPPER - Static variable in class org.drasyl.util.JSONUtil
- JACKSON_READER - Static variable in class org.drasyl.util.JSONUtil
- JACKSON_WRITER - Static variable in class org.drasyl.util.JSONUtil
- JacksonJsonSerializer - Class in org.drasyl.serialization
-
A serializer based on the Jackson Library for converting java objects to and from JSON.
- JacksonJsonSerializer() - Constructor for class org.drasyl.serialization.JacksonJsonSerializer
- JavaSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Serializable
objects. - JavaSerializer() - Constructor for class org.drasyl.serialization.JavaSerializer
- JSONUtil - Class in org.drasyl.util
-
Holder for the JSON serializer and JSON deserializer.
L
- LIFETIME_LENGTH - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- LIFETIME_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- loadOrCreateIdentity() - Method in class org.drasyl.identity.IdentityManager
-
Attempts to load the identity defined in the configuration: First it tries to read the key pair directly from the configuration.
- LOCAL_ADDRESS_FOR_REMOTE_TIMEOUT - Static variable in class org.drasyl.util.NetworkUtil
- LOCAL_HOST_DISCOVERY - Static variable in class org.drasyl.localhost.LocalHostDiscovery
- LocalHostDiscovery - Class in org.drasyl.localhost
-
Uses the file system to discover other drasyl nodes running on the local computer.
- LocalHostDiscovery() - Constructor for class org.drasyl.localhost.LocalHostDiscovery
- Logger - Class in org.drasyl.util.logging
-
A
Logger
that supports lazy evaluation of passend values. - LoggerFactory - Class in org.drasyl.util.logging
-
The
LoggerFactory
is a utility class producing lazyLogger
s. - LoggingUtil - Class in org.drasyl.util
-
Utility class for logging-related operations.
- LongSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Long
objects. - LongSerializer() - Constructor for class org.drasyl.serialization.LongSerializer
- longValue() - Method in class org.drasyl.remote.protocol.MessageId
- LOOPBACK_MESSAGE_HANDLER - Static variable in class org.drasyl.loopback.handler.LoopbackMessageHandler
- LoopbackMessageHandler - Class in org.drasyl.loopback.handler
-
This handler converts outgoing messages addressed to the local node to incoming messages addressed to the local node.
- LoopbackMessageHandler() - Constructor for class org.drasyl.loopback.handler.LoopbackMessageHandler
M
- MAGIC_NUMBER_LENGTH - Static variable in class org.drasyl.remote.protocol.IntermediateEnvelope
- magicNumber() - Static method in class org.drasyl.remote.protocol.IntermediateEnvelope
- MALFORMED_OPTION - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- MALFORMED_REQUEST - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- MAP_OPCODE - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- MAPPING_LIFETIME - Static variable in class org.drasyl.remote.handler.portmapper.PortMapper
- MAPPING_NONCE_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- MAPPING_TCP_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- MAPPING_TCP_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- MAPPING_UDP_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- MAPPING_UDP_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- MappingEntry(int, int, InetAddress, String, int) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- MappingResponseMessage(PcpPortUtil.ResultCode, long, long, byte[], int, int, int, InetAddress) - Constructor for class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- MappingUdpResponseMessage(NatPmpUtil.ResultCode, int, int, int, long) - Constructor for class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- mask(Class<? extends Handler>) - Static method in class org.drasyl.pipeline.HandlerMask
-
Returns the mask for a given
handlerClass
. - maskSecret(Object) - Static method in class org.drasyl.util.SecretUtil
-
This method replaces each character in the return of
secret
'sObject.toString()
-call with a asterisk. - match(Object) - Method in class org.drasyl.util.TypeParameterMatcher
- matchClass(Class<T>) - Method in class org.drasyl.util.TypeParameterMatcher
- matchedEventTriggered(HandlerContext, E, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
-
Is called for each event of type
SimpleInboundEventAwareHandler
. - matchedEventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexHandler
- matchedEventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundHandler
- matchedFromByteArray(byte[], Class<byte[]>) - Method in class org.drasyl.serialization.ByteArraySerializer
- matchedFromByteArray(byte[], Class<Message>) - Method in class org.drasyl.serialization.ProtobufSerializer
- matchedFromByteArray(byte[], Class<Serializable>) - Method in class org.drasyl.serialization.JavaSerializer
- matchedFromByteArray(byte[], Class<Boolean>) - Method in class org.drasyl.serialization.BooleanSerializer
- matchedFromByteArray(byte[], Class<Byte>) - Method in class org.drasyl.serialization.ByteSerializer
- matchedFromByteArray(byte[], Class<Character>) - Method in class org.drasyl.serialization.CharacterSerializer
- matchedFromByteArray(byte[], Class<Double>) - Method in class org.drasyl.serialization.DoubleSerializer
- matchedFromByteArray(byte[], Class<Float>) - Method in class org.drasyl.serialization.FloatSerializer
- matchedFromByteArray(byte[], Class<Integer>) - Method in class org.drasyl.serialization.IntegerSerializer
- matchedFromByteArray(byte[], Class<Long>) - Method in class org.drasyl.serialization.LongSerializer
- matchedFromByteArray(byte[], Class<Short>) - Method in class org.drasyl.serialization.ShortSerializer
- matchedFromByteArray(byte[], Class<String>) - Method in class org.drasyl.serialization.StringSerializer
- matchedRead(HandlerContext, A, I, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
-
Is called for each message of type
SimpleInboundEventAwareHandler
. - matchedRead(HandlerContext, CompressedPublicKey, AddressedEnvelope<?, ?>, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.AddressedEnvelopeHandler
- matchedRead(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.monitoring.Monitoring
- matchedRead(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.MessagesThroughputHandler
- matchedRead(HandlerContext, Address, ApplicationMessage, CompletableFuture<Void>) - Method in class org.drasyl.intravm.IntraVmDiscovery
- matchedRead(HandlerContext, Address, ApplicationMessage, CompletableFuture<Void>) - Method in class org.drasyl.loopback.handler.InboundMessageGuard
- matchedRead(HandlerContext, Address, SerializedApplicationMessage, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.serialization.MessageSerializer
- matchedRead(HandlerContext, Address, AddressedByteBuf, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.ByteBuf2MessageHandler
- matchedRead(HandlerContext, Address, AddressedByteBuf, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.portmapper.PortMapper
- matchedRead(HandlerContext, Address, AddressedIntermediateEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.ChunkingHandler
- matchedRead(HandlerContext, Address, AddressedIntermediateEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.InternetDiscoveryHandler
- matchedRead(HandlerContext, Address, AddressedIntermediateEnvelope<MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.ArmHandler
- matchedRead(HandlerContext, Address, AddressedIntermediateEnvelope<MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.InvalidProofOfWorkFilter
- matchedRead(HandlerContext, Address, AddressedIntermediateEnvelope<MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.OtherNetworkFilter
- matchedToByArray(byte[]) - Method in class org.drasyl.serialization.ByteArraySerializer
- matchedToByArray(Message) - Method in class org.drasyl.serialization.ProtobufSerializer
- matchedToByArray(Serializable) - Method in class org.drasyl.serialization.JavaSerializer
- matchedToByArray(Boolean) - Method in class org.drasyl.serialization.BooleanSerializer
- matchedToByArray(Byte) - Method in class org.drasyl.serialization.ByteSerializer
- matchedToByArray(Character) - Method in class org.drasyl.serialization.CharacterSerializer
- matchedToByArray(Double) - Method in class org.drasyl.serialization.DoubleSerializer
- matchedToByArray(Float) - Method in class org.drasyl.serialization.FloatSerializer
- matchedToByArray(Integer) - Method in class org.drasyl.serialization.IntegerSerializer
- matchedToByArray(Long) - Method in class org.drasyl.serialization.LongSerializer
- matchedToByArray(Short) - Method in class org.drasyl.serialization.ShortSerializer
- matchedToByArray(String) - Method in class org.drasyl.serialization.StringSerializer
- matchedWrite(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
-
Is called for each message of type
SimpleDuplexEventAwareHandler
. - matchedWrite(HandlerContext, A, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
-
Is called for each message of type
SimpleOutboundHandler
. - matchedWrite(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.AddressedEnvelopeHandler
- matchedWrite(HandlerContext, CompressedPublicKey, SerializedApplicationMessage, CompletableFuture<Void>) - Method in class org.drasyl.localhost.LocalHostDiscovery
- matchedWrite(HandlerContext, CompressedPublicKey, SerializedApplicationMessage, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.StaticRoutesHandler
- matchedWrite(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.monitoring.Monitoring
- matchedWrite(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.handler.MessagesThroughputHandler
- matchedWrite(HandlerContext, Address, ApplicationMessage, CompletableFuture<Void>) - Method in class org.drasyl.intravm.IntraVmDiscovery
- matchedWrite(HandlerContext, Address, ApplicationMessage, CompletableFuture<Void>) - Method in class org.drasyl.loopback.handler.LoopbackMessageHandler
- matchedWrite(HandlerContext, Address, ApplicationMessage, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.serialization.MessageSerializer
- matchedWrite(HandlerContext, Address, SerializedApplicationMessage, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.InternetDiscoveryHandler
- matchedWrite(HandlerContext, Address, AddressedIntermediateEnvelope<? extends MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.ChunkingHandler
- matchedWrite(HandlerContext, Address, AddressedIntermediateEnvelope<MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.ArmHandler
- matchedWrite(HandlerContext, Address, AddressedIntermediateEnvelope<MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.HopCountGuard
- matchedWrite(HandlerContext, Address, AddressedIntermediateEnvelope<MessageLite>, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.Message2ByteBufHandler
- matchedWrite(HandlerContext, InetSocketAddressWrapper, AddressedByteBuf, CompletableFuture<Void>) - Method in class org.drasyl.remote.handler.UdpServer
- max(Duration, Duration) - Static method in class org.drasyl.util.DurationUtil
-
Returns the greater of two
Duration
values. - MAX_PORT_NUMBER - Static variable in class org.drasyl.util.NetworkUtil
-
The maximum server port number.
- MAX_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
- MAX_VALUE - Static variable in class org.drasyl.util.UnsignedShort
- merge(Set<E>, E...) - Static method in class org.drasyl.util.SetUtil
-
Returns a set containing all elements from
a
and the elementb
. - merge(Set<E>, Set<E>) - Static method in class org.drasyl.util.SetUtil
-
Returns a set containing all elements from set
a
and setb
. - mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- mergeFrom(Message) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- mergeFrom(Protocol.Acknowledgement) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- mergeFrom(Protocol.Application) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- mergeFrom(Protocol.Discovery) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- mergeFrom(Protocol.PrivateHeader) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- mergeFrom(Protocol.PublicHeader) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- mergeFrom(Protocol.Unite) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- MESSAGE_2_BYTE_BUF_HANDLER - Static variable in class org.drasyl.remote.handler.Message2ByteBufHandler
- MESSAGE_ID_LENGTH - Static variable in class org.drasyl.remote.protocol.MessageId
- MESSAGE_SERIALIZER - Static variable in class org.drasyl.pipeline.serialization.MessageSerializer
- Message2ByteBufHandler - Class in org.drasyl.remote.handler
-
Handler that converts a given
AddressedIntermediateEnvelope
to aByteBuf
. - MessageEvent - Class in org.drasyl.event
-
This event signals that the node has received a message addressed to it.
- MessageEvent(CompressedPublicKey, Object) - Constructor for class org.drasyl.event.MessageEvent
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MessageEvent.of(CompressedPublicKey, Object)
instead. - MessageId - Class in org.drasyl.remote.protocol
-
A
AddressedEnvelope
is uniquely identified by itsMessageId.MESSAGE_ID_LENGTH
bytes identifier. - MESSAGES_THROUGHPUT_HANDLER - Static variable in class org.drasyl.pipeline.handler.MessagesThroughputHandler
- MessageSerializer - Class in org.drasyl.pipeline.serialization
-
This handler serializes messages to byte array an vice vera.
- MessagesThroughputHandler - Class in org.drasyl.pipeline.handler
-
Helper class to visualize the number of inbound and outbound messages per second.
- MessagesThroughputHandler() - Constructor for class org.drasyl.pipeline.handler.MessagesThroughputHandler
-
Creates a new handler which visualizes the number of inbound and outbound messages per second.
- MessagesThroughputHandler(BiPredicate<Address, Object>, BiPredicate<Address, Object>) - Constructor for class org.drasyl.pipeline.handler.MessagesThroughputHandler
-
Creates a new handler which visualizes the number of inbound and outbound messages per second, consumes outbound message matching
consumeOutbound
, and inbound messages matchingconsumeInbound
. - MessagesThroughputHandler(BiPredicate<Address, Object>, BiPredicate<Address, Object>, Scheduler) - Constructor for class org.drasyl.pipeline.handler.MessagesThroughputHandler
-
Creates a new handler which visualizes the number of inbound and outbound messages per second, consumes outbound message matching
consumeOutbound
, and inbound messages matchingconsumeInbound
. - min(Duration, Duration) - Static method in class org.drasyl.util.DurationUtil
-
Returns the smaller of two
Duration
values. - MIN_PORT_NUMBER - Static variable in class org.drasyl.util.NetworkUtil
-
The minimum server port number.
- MIN_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
- MIN_VALUE - Static variable in class org.drasyl.util.UnsignedShort
- Monitoring - Class in org.drasyl.monitoring
-
Monitors various states or events in the drasyl node.
- Monitoring() - Constructor for class org.drasyl.monitoring.Monitoring
- MONITORING_HANDLER - Static variable in class org.drasyl.monitoring.Monitoring
- monitoringEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
- monitoringHostTag(String) - Method in class org.drasyl.DrasylConfig.Builder
- monitoringInfluxDatabase(String) - Method in class org.drasyl.DrasylConfig.Builder
- monitoringInfluxPassword(String) - Method in class org.drasyl.DrasylConfig.Builder
- monitoringInfluxReportingFrequency(Duration) - Method in class org.drasyl.DrasylConfig.Builder
- monitoringInfluxUri(URI) - Method in class org.drasyl.DrasylConfig.Builder
- monitoringInfluxUser(String) - Method in class org.drasyl.DrasylConfig.Builder
- MURMUR3_128 - Static variable in class org.drasyl.crypto.Hashing
- murmur3x64Hex(byte[]) - Static method in class org.drasyl.crypto.Hashing
-
Generates a hexadecimal representation of the MurMur3x64 hash of the input.
- murmur3x64Hex(String) - Static method in class org.drasyl.crypto.Hashing
-
Generates a hexadecimal representation of the MurMur3x64 hash of the input.
N
- name() - Method in interface org.drasyl.pipeline.HandlerContext
-
Returns the name of the
Handler
. - NAT_PMP_PORT - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- NAT_PMP_VERSION - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- NatPmpPortMapping - Class in org.drasyl.remote.handler.portmapper
-
Port Forwarding on NAT-enabled routers via NAT-PMP.
- NatPmpPortMapping() - Constructor for class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
- NatPmpPortMapping(AtomicBoolean, AtomicBoolean, int, InetSocketAddressWrapper, InetAddress, Disposable, Disposable, Runnable, Supplier<InetAddress>) - Constructor for class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
- NatPmpUtil - Class in org.drasyl.util.protocol
-
Utility class for NAT Port Mapping Protocol (NAT-PMP)-related stuff.
- NatPmpUtil.ExternalAddressResponseMessage - Class in org.drasyl.util.protocol
- NatPmpUtil.MappingUdpResponseMessage - Class in org.drasyl.util.protocol
- NatPmpUtil.Message - Interface in org.drasyl.util.protocol
- NatPmpUtil.ResultCode - Enum in org.drasyl.util.protocol
- NettyUtil - Class in org.drasyl.util
-
Utility class for netty-related operations
- NETWORK_FAILURE - org.drasyl.util.protocol.NatPmpUtil.ResultCode
- NETWORK_FAILURE - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- networkId(int) - Method in class org.drasyl.DrasylConfig.Builder
- NETWORKID_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
- NetworkUtil - Class in org.drasyl.util
-
Utility class for network-related operations.
- newBuilder() - Static method in class org.drasyl.DrasylConfig
-
Creates a new builder to build a custom
DrasylConfig
. - newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.Application
- newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- newBuilder() - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- newBuilder(DrasylConfig) - Static method in class org.drasyl.DrasylConfig
- newBuilder(Protocol.Acknowledgement) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- newBuilder(Protocol.Application) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- newBuilder(Protocol.Discovery) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- newBuilder(Protocol.PrivateHeader) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- newBuilder(Protocol.PublicHeader) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- newBuilder(Protocol.Unite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.Application
- newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- newBuilderForType() - Method in class org.drasyl.remote.protocol.Protocol.Unite
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.Application
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class org.drasyl.remote.protocol.Protocol.Unite
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.Application
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class org.drasyl.remote.protocol.Protocol.Unite
- NO_RESOURCES - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- Node - Class in org.drasyl.event
-
Used by
Event
to describe an event related to the local Node (e.g. - NodeDownEvent - Class in org.drasyl.event
-
This event signals that the node is shut down.
- NodeDownEvent(Node) - Constructor for class org.drasyl.event.NodeDownEvent
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
NodeDownEvent.of(Node)
instead. - NodeEvent - Interface in org.drasyl.event
-
Events that refer to a
Node
. - NodeNormalTerminationEvent - Class in org.drasyl.event
-
This events signals that the node has terminated normally.
- NodeNormalTerminationEvent(Node) - Constructor for class org.drasyl.event.NodeNormalTerminationEvent
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
NodeNormalTerminationEvent.of(Node)
instead. - NodeOfflineEvent - Class in org.drasyl.event
-
This event signals that the node is currently not connected to a super peer.
- NodeOfflineEvent(Node) - Constructor for class org.drasyl.event.NodeOfflineEvent
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
NodeOfflineEvent.of(Node)
instead. - NodeOnlineEvent - Class in org.drasyl.event
-
This event signals that the node is currently connected to a super peer.
- NodeOnlineEvent(Node) - Constructor for class org.drasyl.event.NodeOnlineEvent
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
NodeOnlineEvent.of(Node)
instead. - NodeUnrecoverableErrorEvent - Class in org.drasyl.event
-
This events signals that the node encountered an unrecoverable error.
- NodeUnrecoverableErrorEvent(Node, Throwable) - Constructor for class org.drasyl.event.NodeUnrecoverableErrorEvent
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
NodeUnrecoverableErrorEvent.of(Node, Throwable)
instead. - NodeUpEvent - Class in org.drasyl.event
-
This event signals that the node has been started.
- NodeUpEvent(Node) - Constructor for class org.drasyl.event.NodeUpEvent
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
NodeUpEvent.of(Node)
instead. - NonNull - Annotation Type in org.drasyl.annotation
-
A common annotation to declare that annotated elements cannot be
null
. - NOT_AUTHORIZED - org.drasyl.util.protocol.NatPmpUtil.ResultCode
- NOT_AUTHORIZED - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- now(TimeUnit) - Method in class org.drasyl.util.scheduler.DrasylScheduler
- nthElement(Set<E>, int) - Static method in class org.drasyl.util.SetUtil
-
Returns the
n
-th element from setset
. - NULL_SERIALIZER - Static variable in class org.drasyl.pipeline.serialization.Serialization
- Nullable - Annotation Type in org.drasyl.annotation
-
A common annotation to declare that annotated elements can be
null
under some circumstance. - NullSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
null
only. - NullSerializer() - Constructor for class org.drasyl.serialization.NullSerializer
- numberToHumanData(Number) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) multiple-byte number. - numberToHumanData(Number, short) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) multiple-byte number. - numberToHumanData(Number, short, Locale) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) multiple-byte number. - numberToHumanData(Number, Locale) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) multiple-byte number. - numberToHumanDataRate(Number) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) data-rate. - numberToHumanDataRate(Number, short) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) data-rate. - numberToHumanDataRate(Number, short, Locale) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) data-rate. - numberToHumanDataRate(Number, Locale) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) data-rate. - NumberUtil - Class in org.drasyl.util
-
Utility class for number-related operations.
O
- ObservableUtil - Class in org.drasyl.util
-
Utility class for operations on
Observable
s. - of() - Static method in class org.drasyl.util.Worm
-
Creates a new
Worm
object with not set value. - of(byte[]) - Static method in class org.drasyl.identity.CompressedPrivateKey
-
Converts a byte[] into a
CompressedPrivateKey
. - of(byte[]) - Static method in class org.drasyl.identity.CompressedPublicKey
-
Converts a byte[] into a
CompressedPublicKey
. - of(byte[]) - Static method in class org.drasyl.remote.protocol.MessageId
- of(byte[]) - Static method in class org.drasyl.util.UnsignedInteger
-
Creates a new
UnsignedInteger
. - of(byte[]) - Static method in class org.drasyl.util.UnsignedShort
-
Creates a new
UnsignedShort
. - of(byte[], byte[]) - Static method in class org.drasyl.identity.CompressedKeyPair
- of(int) - Static method in class org.drasyl.identity.ProofOfWork
- of(int) - Static method in class org.drasyl.util.UnsignedShort
-
Creates a new
UnsignedShort
. - of(int, String, String) - Static method in class org.drasyl.identity.Identity
- of(long) - Static method in class org.drasyl.remote.protocol.MessageId
- of(long) - Static method in class org.drasyl.util.UnsignedInteger
-
Creates a new
UnsignedInteger
. - of(A, B) - Static method in class org.drasyl.util.Pair
-
Obtains a tuple of two elements inferring the generic types.
- of(A, B, C) - Static method in class org.drasyl.util.Triple
-
Obtains a tuple of three elements inferring the generic types.
- of(ByteBuf) - Static method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Wraps the given
ByteBuf
into anIntermediateEnvelope
. - of(String) - Static method in class org.drasyl.identity.CompressedPrivateKey
-
Converts a
String
into aCompressedPrivateKey
. - of(String) - Static method in class org.drasyl.identity.CompressedPublicKey
-
Converts a
String
into aCompressedPublicKey
. - of(String) - Static method in class org.drasyl.peer.Endpoint
-
Converts a
String
into anEndpoint
. - of(String) - Static method in class org.drasyl.remote.protocol.MessageId
- of(String, int, CompressedPublicKey) - Static method in class org.drasyl.peer.Endpoint
-
Converts the given
host
,port
, andpublicKey
into anEndpoint
. - of(String, int, CompressedPublicKey, Integer) - Static method in class org.drasyl.peer.Endpoint
-
Converts the given
host
,port
,publicKey
, andnetworkId
into anEndpoint
. - of(String, String) - Static method in class org.drasyl.identity.CompressedKeyPair
- of(URI) - Static method in class org.drasyl.peer.Endpoint
-
Converts an
URI
into anEndpoint
. - of(Node) - Static method in class org.drasyl.event.NodeDownEvent
- of(Node) - Static method in class org.drasyl.event.NodeNormalTerminationEvent
- of(Node) - Static method in class org.drasyl.event.NodeOfflineEvent
- of(Node) - Static method in class org.drasyl.event.NodeOnlineEvent
- of(Node) - Static method in class org.drasyl.event.NodeUpEvent
- of(Node, Throwable) - Static method in class org.drasyl.event.NodeUnrecoverableErrorEvent
- of(Peer) - Static method in class org.drasyl.event.PeerDirectEvent
- of(Peer) - Static method in class org.drasyl.event.PeerRelayEvent
- of(CompressedPublicKey) - Static method in class org.drasyl.event.Peer
- of(CompressedPublicKey, Object) - Static method in class org.drasyl.event.MessageEvent
-
Creates a new
MessageEvent
- of(CompressedPublicKey, CompressedPrivateKey) - Static method in class org.drasyl.identity.CompressedKeyPair
- of(Identity) - Static method in class org.drasyl.event.Node
- of(Identity, int) - Static method in class org.drasyl.event.Node
- of(ProofOfWork, String, String) - Static method in class org.drasyl.identity.Identity
- of(ProofOfWork, CompressedKeyPair) - Static method in class org.drasyl.identity.Identity
- of(ProofOfWork, CompressedPublicKey, CompressedPrivateKey) - Static method in class org.drasyl.identity.Identity
- of(Protocol.PublicHeader, byte[]) - Static method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Creates a message envelope from
publicHeader
andbytes
- of(Protocol.PublicHeader, ByteBuf) - Static method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Creates a message envelope from
publicHeader
andbytes
. - of(Protocol.PublicHeader, Protocol.PrivateHeader, T) - Static method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
Creates a message envelope from
publicHeader
,privateHeader
, andbody
. - of(T) - Static method in class org.drasyl.util.Worm
-
Creates a new
Worm
object with value set tovalue
. - onAfterShutdown(PluginEnvironment) - Method in interface org.drasyl.plugin.DrasylPlugin
-
This method gets called after the drasyl node was shut down.
- onAfterStart(PluginEnvironment) - Method in interface org.drasyl.plugin.DrasylPlugin
-
This method gets called after the drasyl node was started.
- onAnyEvent(Function<Event, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
-
Adds a new case to the event handling matching any event.
- onAnyMessage(BiFunction<CompressedPublicKey, M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
-
Adds a new case to the event handling matching any .
- onBeforeShutdown(PluginEnvironment) - Method in interface org.drasyl.plugin.DrasylPlugin
-
This method get called before the drasyl node is shut down.
- onBeforeStart(PluginEnvironment) - Method in interface org.drasyl.plugin.DrasylPlugin
-
This method gets called before the drasyl node is started.
- onEvent(Class<M>, Function<M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
-
Adds a new case to the event handling.
- onEvent(Class<M>, Predicate<M>, Function<M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
-
Adds a new predicated case to the event handling.
- onEvent(Event) - Method in class org.drasyl.behaviour.BehavioralDrasylNode
- onEvent(Event) - Method in class org.drasyl.DrasylNode
-
Sends
event
to the application and tells it information about the local node, other peers, connections or incoming messages. - onEventEquals(M, Supplier<Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
-
Add a new case to the event handling matching equal events.
- onMessage(Class<M>, BiFunction<CompressedPublicKey, M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
-
Add a new case to the event matching matching events of type with
MessageEvent.getPayload()
matchingmessageType
. - onMessage(Class<M>, BiPredicate<CompressedPublicKey, M>, BiFunction<CompressedPublicKey, M, Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
-
Add a new predicated case to the event matching matching events of type with
MessageEvent.getPayload()
matchingmessageType
. - onMessageEquals(CompressedPublicKey, M, Supplier<Behavior>) - Method in class org.drasyl.behaviour.Behavior.BehaviorBuilder
-
Add a new case to the event handling matching events of type with equal
MessageEvent.getPayload()
. - org.drasyl - package org.drasyl
-
Core API that includes the
DrasylNode
andDrasylConfig
. - org.drasyl.annotation - package org.drasyl.annotation
-
Annotations that provide meta information about drasyl's API.
- org.drasyl.behaviour - package org.drasyl.behaviour
-
Describes
DrasylNode
s as finite state machines. - org.drasyl.crypto - package org.drasyl.crypto
-
Classes for crypto-related operations.
- org.drasyl.event - package org.drasyl.event
-
Contains events that inform the application about various states of the drasyl node, incoming communication, or connection type changes.
- org.drasyl.identity - package org.drasyl.identity
-
Contains classes to manage the
Identity
of the drasyl node. - org.drasyl.intravm - package org.drasyl.intravm
-
Automatic discovery of other running drasyl nodes in the same JVM.
- org.drasyl.localhost - package org.drasyl.localhost
-
Uses the file system to discover other drasyl nodes running on the local computer.
- org.drasyl.loopback - package org.drasyl.loopback
-
Package contains classes that are used for communicating with ourself.
- org.drasyl.loopback.handler - package org.drasyl.loopback.handler
- org.drasyl.monitoring - package org.drasyl.monitoring
-
Monitors various states or events in the drasyl node.
- org.drasyl.peer - package org.drasyl.peer
-
Package contains classes that are used for communicating with other peers.
- org.drasyl.pipeline - package org.drasyl.pipeline
-
Link between application and drasyl overlay network.
- org.drasyl.pipeline.address - package org.drasyl.pipeline.address
-
Contains addresses that describe the sender or recipient of messages.
- org.drasyl.pipeline.handler - package org.drasyl.pipeline.handler
-
Contains default implementations for some basic handlers.
- org.drasyl.pipeline.message - package org.drasyl.pipeline.message
-
Contains all message types that drasyl uses to configure the overlay network and transfer application messages.
- org.drasyl.pipeline.serialization - package org.drasyl.pipeline.serialization
-
Package contains classes that are used for serialisation of message to byte arrays and vice vera.
- org.drasyl.pipeline.skeleton - package org.drasyl.pipeline.skeleton
-
Contains skeleton implementations for the most often used idioms (e.g., in- or outbound-only handlers).
- org.drasyl.plugin - package org.drasyl.plugin
-
Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with user-defined settings.
- org.drasyl.remote - package org.drasyl.remote
-
Package contains classes that are used for communicating with remote peers via UDP.
- org.drasyl.remote.handler - package org.drasyl.remote.handler
-
Handlers used to communicate with remote nodes.
- org.drasyl.remote.handler.portmapper - package org.drasyl.remote.handler.portmapper
-
Contains
PortMapper
that attempts to create port forwarding via PCP, NAT-PMP, UPnP-IDG. - org.drasyl.remote.protocol - package org.drasyl.remote.protocol
-
The protocol used for communication with remote nodes.
- org.drasyl.serialization - package org.drasyl.serialization
-
Serialization of java objects to byte arrays and vice versa.
- org.drasyl.util - package org.drasyl.util
-
Utility classes used across multiple packages.
- org.drasyl.util.logging - package org.drasyl.util.logging
-
Provides a lazy
Logger
API (for internal use only). - org.drasyl.util.protocol - package org.drasyl.util.protocol
-
Contains several utilities that help in dealing with specific protocols (e.g.
- org.drasyl.util.scheduler - package org.drasyl.util.scheduler
-
Provides the
DrasylScheduler
. - OTHER_NETWORK_FILTER - Static variable in class org.drasyl.remote.handler.OtherNetworkFilter
- OtherNetworkFilter - Class in org.drasyl.remote.handler
-
This handler filters out all messages received from other networks.
- OUT_OF_RESOURCES - org.drasyl.util.protocol.NatPmpUtil.ResultCode
- outboundMessages() - Method in class org.drasyl.pipeline.EmbeddedPipeline
- outboundMessages(Class<T>) - Method in class org.drasyl.pipeline.EmbeddedPipeline
- outboundMessages(TypeReference<T>) - Method in class org.drasyl.pipeline.EmbeddedPipeline
- outboundSerialization - Variable in class org.drasyl.pipeline.AbstractPipeline
- outboundSerialization() - Method in interface org.drasyl.pipeline.HandlerContext
-
Returns the outbound
Serialization
of this pipeline.
P
- Pair<A,B> - Class in org.drasyl.util
-
A tuple of two elements.
- pairWithPreviousObservable(Observable<T>) - Static method in class org.drasyl.util.ObservableUtil
-
Creates an
Observable
to pair up the current and previous items. - parseCompressedPrivateKey(byte[]) - Static method in class org.drasyl.crypto.Crypto
-
Generates an asymmetric curve private key from the given compressed private key.
- parseCompressedPublicKey(byte[]) - Static method in class org.drasyl.crypto.Crypto
-
Generates an asymmetric curve public key from the given compressed public key.
- parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseDelimitedFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFile(File) - Static method in class org.drasyl.DrasylConfig
-
Parses a file into a Config instance as with
- parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(byte[]) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(ByteString) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(CodedInputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(InputStream) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(ByteBuffer) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseHexBinary(String) - Static method in class org.drasyl.crypto.HexUtil
-
Converts the string argument into an array of bytes.
- parser() - Static method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- parser() - Static method in class org.drasyl.remote.protocol.Protocol.Application
- parser() - Static method in class org.drasyl.remote.protocol.Protocol.Discovery
- parser() - Static method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- parser() - Static method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- parser() - Static method in class org.drasyl.remote.protocol.Protocol.Unite
- parseString(String) - Static method in class org.drasyl.DrasylConfig
-
Parses a file into a Config instance as with
- PathUtil - Class in org.drasyl.util
-
Utility class for operations on
Path
es. - PAYLOAD_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Application
- PCP_PORT - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- PCP_VERSION - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- PcpPortMapping - Class in org.drasyl.remote.handler.portmapper
-
Port Forwarding on NAT-enabled routers via PCP.
- PcpPortMapping() - Constructor for class org.drasyl.remote.handler.portmapper.PcpPortMapping
- PcpPortUtil - Class in org.drasyl.util.protocol
-
Utility class for Port Control Protocol (PCP)-related stuff.
- PcpPortUtil.MappingResponseMessage - Class in org.drasyl.util.protocol
- PcpPortUtil.Message - Interface in org.drasyl.util.protocol
- PcpPortUtil.ResultCode - Enum in org.drasyl.util.protocol
- Peer - Class in org.drasyl.event
-
Used by
Event
to describe an event related to a Peer (e.g. - PeerDirectEvent - Class in org.drasyl.event
-
This event signals that the node has established a direct connection to a peer.
- PeerDirectEvent(Peer) - Constructor for class org.drasyl.event.PeerDirectEvent
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
PeerDirectEvent.of(Peer)
instead. - PeerEvent - Interface in org.drasyl.event
-
Events that refer to a
Peer
. - PeerRelayEvent - Class in org.drasyl.event
-
This event signals that communication with this peer is only possible by relaying messages via a super peer.
- PeerRelayEvent(Peer) - Constructor for class org.drasyl.event.PeerRelayEvent
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
PeerRelayEvent.of(Peer)
instead. - peersManager - Variable in class org.drasyl.pipeline.AbstractPipeline
- peersManager() - Method in interface org.drasyl.pipeline.HandlerContext
-
Returns the peers manager of this node.
- PeersManager - Class in org.drasyl.peer
-
This class contains information about other peers.
- PeersManager(Consumer<Event>, Identity) - Constructor for class org.drasyl.peer.PeersManager
- Ping(InetSocketAddressWrapper) - Constructor for class org.drasyl.remote.handler.InternetDiscoveryHandler.Ping
- pipeline() - Method in class org.drasyl.DrasylNode
-
Returns the
Pipeline
to allow users to add own handlers. - pipeline() - Method in interface org.drasyl.pipeline.HandlerContext
-
Returns the corresponding
Pipeline
. - Pipeline - Interface in org.drasyl.pipeline
-
A list of
Handler
s which handles or intercepts inbound events and outbound operations of aDrasylNode
. - PluginEnvironment - Class in org.drasyl.plugin
-
Models environment information of a
DrasylPlugin
that are required by the plugin. - PluginEnvironment(DrasylConfig, Identity, Pipeline) - Constructor for class org.drasyl.plugin.PluginEnvironment
- PluginManager - Class in org.drasyl.plugin
-
The
PluginManager
notifies all enabled plugins about specific node events (like startup or shutdown). - PluginManager(DrasylConfig, Identity, Pipeline) - Constructor for class org.drasyl.plugin.PluginManager
- plugins(Set<DrasylPlugin>) - Method in class org.drasyl.DrasylConfig.Builder
- POOL - Static variable in class org.drasyl.identity.CompressedPrivateKey
- POOL - Static variable in class org.drasyl.identity.CompressedPublicKey
- PORT_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Unite
- PORT_MAPPER - Static variable in class org.drasyl.remote.handler.portmapper.PortMapper
- PortMapper - Class in org.drasyl.remote.handler.portmapper
-
This handler tries to create a port forwarding for the UDP server using different methods (PCP, NAT-PMP, UPnP-IGD, etc.).
- PortMapper() - Constructor for class org.drasyl.remote.handler.portmapper.PortMapper
- PortMapping - Interface in org.drasyl.remote.handler.portmapper
-
Represents a method for creating port forwarding (e.g., PCP, NAT-PMP, or UPnP-IGD).
- PortMapping(int) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- POW_DIFFICULTY - Static variable in class org.drasyl.identity.IdentityManager
- prepend(ByteBuf, ByteBuf...) - Static method in class org.drasyl.util.ByteBufUtil
-
Prepends the given
elements
at the start of thebyteBuf
and moves all readable bytes accordingly. - printInboundOrder(AbstractPipeline, int) - Static method in class org.drasyl.pipeline.VisualPipeline
-
Prints the current inbound
Handler
s in the sequence of execution to the console. - printOnlySimpleInboundHandler(AbstractPipeline, int) - Static method in class org.drasyl.pipeline.VisualPipeline
-
Prints the current outbound
SimpleInboundHandler
s in the sequence of execution to the console. - printOnlySimpleOutboundHandler(AbstractPipeline, int) - Static method in class org.drasyl.pipeline.VisualPipeline
-
Prints the current outbound
SimpleOutboundHandler
s in the sequence of execution to the console. - printOutboundOrder(AbstractPipeline, int) - Static method in class org.drasyl.pipeline.VisualPipeline
-
Prints the current outbound
Handler
s in the sequence of execution to the console. - PRIVATE_KEY_LENGTH - Static variable in class org.drasyl.identity.CompressedPrivateKey
- processInbound(Event) - Method in class org.drasyl.pipeline.AbstractPipeline
- processInbound(Event) - Method in interface org.drasyl.pipeline.Pipeline
-
Processes an inbound event by the pipeline.
- processInbound(Address, Object) - Method in class org.drasyl.pipeline.AbstractPipeline
- processInbound(Address, Object) - Method in interface org.drasyl.pipeline.Pipeline
-
Processes an inbound message by the pipeline.
- processOutbound(Address, Object) - Method in class org.drasyl.pipeline.AbstractPipeline
- processOutbound(Address, Object) - Method in interface org.drasyl.pipeline.Pipeline
-
Processes an outbound message by the pipeline.
- ProofOfWork - Class in org.drasyl.identity
-
This class models the proof of work for a given public key.
- PROOFOFWORK_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
- PROTO_TCP - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- PROTO_UDP - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- ProtobufSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Message
objects. - ProtobufSerializer() - Constructor for class org.drasyl.serialization.ProtobufSerializer
- Protocol - Class in org.drasyl.remote.protocol
- Protocol.Acknowledgement - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.Acknowledgement
- Protocol.Acknowledgement.Builder - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.Acknowledgement
- Protocol.AcknowledgementOrBuilder - Interface in org.drasyl.remote.protocol
- Protocol.Application - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.Application
- Protocol.Application.Builder - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.Application
- Protocol.ApplicationOrBuilder - Interface in org.drasyl.remote.protocol
- Protocol.Discovery - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.Discovery
- Protocol.Discovery.Builder - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.Discovery
- Protocol.DiscoveryOrBuilder - Interface in org.drasyl.remote.protocol
- Protocol.MessageType - Enum in org.drasyl.remote.protocol
-
Protobuf enum
org.drasyl.remote.protocol.MessageType
- Protocol.PrivateHeader - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.PrivateHeader
- Protocol.PrivateHeader.Builder - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.PrivateHeader
- Protocol.PrivateHeaderOrBuilder - Interface in org.drasyl.remote.protocol
- Protocol.PublicHeader - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.PublicHeader
- Protocol.PublicHeader.Builder - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.PublicHeader
- Protocol.PublicHeaderOrBuilder - Interface in org.drasyl.remote.protocol
- Protocol.Unite - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.Unite
- Protocol.Unite.Builder - Class in org.drasyl.remote.protocol
-
Protobuf type
org.drasyl.remote.protocol.Unite
- Protocol.UniteOrBuilder - Interface in org.drasyl.remote.protocol
- PUBLIC_KEY_LENGTH - Static variable in class org.drasyl.identity.CompressedPublicKey
- PUBLICKEY_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Unite
R
- randomBytes(int) - Static method in class org.drasyl.crypto.Crypto
-
Generates a secure random bytes with the given
entropy
. - randomBytes(int) - Static method in class org.drasyl.util.RandomUtil
-
Returns an array of length
count
containing pseudorandom bytes. - randomInt(int) - Static method in class org.drasyl.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed
int
value between 0 andmax
. - randomInt(int, int) - Static method in class org.drasyl.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed
int
value betweenmin
andmax
. - randomLong(long) - Static method in class org.drasyl.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed
long
value between 0 andmax
. - randomLong(long, long) - Static method in class org.drasyl.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed
long
value betweenmin
andmax
. - randomMessageId() - Static method in class org.drasyl.remote.protocol.MessageId
-
Static factory to retrieve a randomly generated
MessageId
. - 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.
- read(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.Handler
-
Gets called if a
Object
was received. - read(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
- read(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
- READ_MASK - Static variable in class org.drasyl.pipeline.HandlerMask
- readMessage(byte[]) - Static method in class org.drasyl.util.protocol.UpnpIgdUtil
- readMessage(InputStream) - Static method in class org.drasyl.util.protocol.NatPmpUtil
- readMessage(InputStream) - Static method in class org.drasyl.util.protocol.PcpPortUtil
- receive() - Static method in class org.drasyl.behaviour.Behaviors
- receive(Event) - Method in class org.drasyl.behaviour.Behavior
-
Process an incoming event and return the next behavior.
- RECIPIENT_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
- refCnt() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- ReferenceCountUtil - Class in org.drasyl.util
- REFRESH_INTERVAL_SAFETY_MARGIN - Static variable in class org.drasyl.localhost.LocalHostDiscovery
- registerAllExtensions(ExtensionRegistry) - Static method in class org.drasyl.remote.protocol.Protocol
- registerAllExtensions(ExtensionRegistryLite) - Static method in class org.drasyl.remote.protocol.Protocol
- release() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- release(int) - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- release(Object) - Static method in class org.drasyl.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release()
if the specified message implementsReferenceCounted
and is not already released. - releaseAll() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
-
This method does release all used
ByteBuf
s. - remoteBindHost(InetAddress) - Method in class org.drasyl.DrasylConfig.Builder
- remoteBindPort(int) - Method in class org.drasyl.DrasylConfig.Builder
- remoteEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
- remoteEndpoints(Set<Endpoint>) - Method in class org.drasyl.DrasylConfig.Builder
- remoteExposeEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
- remoteLocalHostDiscoveryEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
- remoteLocalHostDiscoveryLeaseTime(Duration) - Method in class org.drasyl.DrasylConfig.Builder
- remoteLocalHostDiscoveryPath(Path) - Method in class org.drasyl.DrasylConfig.Builder
- remoteMessageArmEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
- remoteMessageComposedMessageTransferTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
- remoteMessageHopLimit(byte) - Method in class org.drasyl.DrasylConfig.Builder
- remoteMessageMaxContentLength(int) - Method in class org.drasyl.DrasylConfig.Builder
- remoteMessageMtu(int) - Method in class org.drasyl.DrasylConfig.Builder
- remotePingCommunicationTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
- remotePingInterval(Duration) - Method in class org.drasyl.DrasylConfig.Builder
- remotePingMaxPeers(int) - Method in class org.drasyl.DrasylConfig.Builder
- remotePingTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
- remoteStaticRoutes(Map<CompressedPublicKey, InetSocketAddressWrapper>) - Method in class org.drasyl.DrasylConfig.Builder
- remoteSuperPeerEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
- remoteSuperPeerEndpoints(Set<Endpoint>) - Method in class org.drasyl.DrasylConfig.Builder
- remoteUniteMinInterval(Duration) - Method in class org.drasyl.DrasylConfig.Builder
- remove(String) - Method in class org.drasyl.pipeline.AbstractPipeline
- remove(String) - Method in interface org.drasyl.pipeline.Pipeline
-
Removes the
Handler
with the specified name from this pipeline. - removeChildrenAndPath(CompressedPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
- removePath(CompressedPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
- removeSerializer(Class<?>) - Method in class org.drasyl.pipeline.serialization.Serialization
-
Removes all serializers for objects of type
clazz
. - removeSerializer(Serializer) - Method in class org.drasyl.pipeline.serialization.Serialization
-
Removes given serializer from
- removeSuperPeerAndPath(CompressedPublicKey, Object) - Method in class org.drasyl.peer.PeersManager
- replace(String, String, Handler) - Method in class org.drasyl.pipeline.AbstractPipeline
- replace(String, String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
-
Replaces the
Handler
of the specified name with a new handler in this pipeline. - REQUEST_RESERVED1_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- REQUEST_RESERVED2_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- RESERVED_LENGTH - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- RESPONSE_RESERVED1_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- RESPONSE_RESERVED2_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- RESPONSE_RESERVED3_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- retain() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- retain(int) - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- RETRY_DELAY - Static variable in class org.drasyl.remote.handler.portmapper.PortMapper
S
- safeRelease(Object) - Static method in class org.drasyl.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release()
if the specified message implementsReferenceCounted
and is not already released. - same() - Static method in class org.drasyl.behaviour.Behaviors
-
A behavior that advises the system to reuse the previous behavior.
- sameNetwork(byte[], byte[], short) - Static method in class org.drasyl.util.NetworkUtil
-
Checks if two given addresses are in the same network.
- sameNetwork(InetAddress, InetAddress, short) - Static method in class org.drasyl.util.NetworkUtil
-
Checks if two given addresses are in the same network.
- sanitizeLogArg(Object) - Static method in class org.drasyl.util.LoggingUtil
-
Cleans
obj
from line breaks and returns them as \n or \r. - scheduleDirect(Runnable) - Method in class org.drasyl.util.scheduler.DrasylScheduler
- scheduleDirect(Runnable, long, TimeUnit) - Method in class org.drasyl.util.scheduler.DrasylScheduler
- scheduleEvent(Event) - Method in class org.drasyl.behaviour.Behaviors.EventScheduler
-
Schedules a self event.
- scheduleEvent(Event, Duration) - Method in class org.drasyl.behaviour.Behaviors.EventScheduler
-
Schedules a self event.
- schedulePeriodicallyDirect(Runnable, long, long, TimeUnit) - Method in class org.drasyl.util.scheduler.DrasylScheduler
- schedulePeriodicallyEvent(Event, Duration, Duration) - Method in class org.drasyl.behaviour.Behaviors.EventScheduler
-
Schedules a self event.
- second() - Method in class org.drasyl.util.Pair
- second() - Method in class org.drasyl.util.Triple
- SecretUtil - Class in org.drasyl.util
-
Utility class for security-related operations.
- send(String, Object) - Method in class org.drasyl.DrasylNode
-
Sends the content of
payload
to the identityrecipient
. - send(CompressedPublicKey, Object) - Method in class org.drasyl.DrasylNode
-
Sends the content of
payload
to the identityrecipient
. - SENDER_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
- Serialization - Class in org.drasyl.pipeline.serialization
-
Holds a
Map
with all availableSerializer
s and the classes each serializer should be used for. - Serialization(Map<String, Serializer>, Map<Class<?>, String>) - Constructor for class org.drasyl.pipeline.serialization.Serialization
- serializationsBindingsInbound(Map<Class<?>, String>) - Method in class org.drasyl.DrasylConfig.Builder
- serializationsBindingsOutbound(Map<Class<?>, String>) - Method in class org.drasyl.DrasylConfig.Builder
- serializationSerializers(Map<String, Serializer>) - Method in class org.drasyl.DrasylConfig.Builder
- SerializedApplicationMessage - Class in org.drasyl.pipeline.serialization
-
A message from or to the application whose content has been serialized to a byte array so that the message can be delivered to remote nodes.
- SerializedApplicationMessage(CompressedPublicKey, CompressedPublicKey, String, byte[]) - Constructor for class org.drasyl.pipeline.serialization.SerializedApplicationMessage
- Serializer - Interface in org.drasyl.serialization
-
A Serializer represents a bimap between an object and an array of bytes representing that object.
- SERIALIZER_BYTES - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_JACKSON_JSON - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_JAVA - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_PRIMITIVE_BOOLEAN - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_PRIMITIVE_BYTE - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_PRIMITIVE_CHAR - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_PRIMITIVE_FLOAT - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_PRIMITIVE_INT - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_PRIMITIVE_LONG - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_PRIMITIVE_SHORT - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_PROTO - Static variable in class org.drasyl.serialization.Serializers
- SERIALIZER_STRING - Static variable in class org.drasyl.serialization.Serializers
- Serializers - Class in org.drasyl.serialization
-
This class contains some constants with the identifiers of default serializers.
- Service(String, URI, InetAddress) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.Service
- set(T) - Method in class org.drasyl.util.Worm
-
Sets the value to
value
, - setAddress(String) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
hostname
- setAddressBytes(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
hostname
- setChildrenTime(long) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
-
uint64 childrenTime = 1;
- setChunkNo(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- setCorrespondingId(long) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
-
8 bytes fix
- setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- setHopCount(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
1 byte fix (by definition, only values between 1 and 127 are allowed)
- setId(long) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
8 bytes fix
- setNetworkId(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 4 bytes
- setPayload(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
-
bytes payload = 1;
- setPort(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
2 bytes fix
- setProofOfWork(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 4 bytes
- setPublicKey(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
-
33 bytes fix
- setRecipient(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
33 bytes fix
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- setSender(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
33 bytes fix
- setSignature(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
32 bytes fix
- setTotalChunks(int) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
-
up to 2 bytes (by definition, only values up to 65535 are allowed)
- setType(String) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
-
string type = 2;
- setType(Protocol.MessageType) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
-
.org.drasyl.remote.protocol.MessageType type = 1;
- setTypeBytes(ByteString) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
-
string type = 2;
- setTypeValue(int) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
-
.org.drasyl.remote.protocol.MessageType type = 1;
- setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement.Builder
- setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Application.Builder
- setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Discovery.Builder
- setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader.Builder
- setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader.Builder
- setUnknownFields(UnknownFieldSet) - Method in class org.drasyl.remote.protocol.Protocol.Unite.Builder
- SetUtil - Class in org.drasyl.util
-
Utility class for operations on
Set
s. - SHA256 - Static variable in class org.drasyl.crypto.Hashing
- sha256Hex(byte[]) - Static method in class org.drasyl.crypto.Hashing
-
Generates a SHA-256 hash of the given input.
- sha256Hex(String) - Static method in class org.drasyl.crypto.Hashing
-
Generates a SHA-256 hash of the given input.
- ShortSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
Integer
objects. - ShortSerializer() - Constructor for class org.drasyl.serialization.ShortSerializer
- shutdown() - Static method in class org.drasyl.behaviour.Behaviors
-
A behavior that advises the system to shutdown the
DrasylNode
. - shutdown() - Method in class org.drasyl.DrasylNode
-
Shut the drasyl node down.
- shutdown() - Method in class org.drasyl.util.scheduler.DrasylScheduler
- shutdown() - Static method in class org.drasyl.util.scheduler.DrasylSchedulerUtil
-
Shutdown the two schedulers.
- SHUTDOWN_TIMEOUT - Static variable in class org.drasyl.util.scheduler.DrasylSchedulerUtil
- SIGNATURE_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
- signMessage(PrivateKey, byte[]) - Static method in class org.drasyl.crypto.Crypto
-
Creates signature from the given message with the PrivateKey.
- SimpleDuplexEventAwareHandler<I,E,O,A extends Address> - Class in org.drasyl.pipeline.skeleton
-
HandlerAdapter
which allows to explicit only handle a specific type of messages and events. - SimpleDuplexEventAwareHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
- SimpleDuplexEventAwareHandler(Class<? extends I>, Class<? extends E>, Class<? extends O>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
- SimpleDuplexHandler<I,O,A extends Address> - Class in org.drasyl.pipeline.skeleton
-
HandlerAdapter
which allows to explicit only handle a specific type of messages and events. - SimpleDuplexHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexHandler
- SimpleDuplexHandler(Class<? extends I>, Class<? extends O>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleDuplexHandler
- SimpleInboundEventAwareHandler<I,E,A extends Address> - Class in org.drasyl.pipeline.skeleton
-
HandlerAdapter
which allows to explicit only handle a specific type of inbound messages and events. - SimpleInboundEventAwareHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
-
Create a new instance which will try to detect the types to match out of the type parameter of the class.
- SimpleInboundEventAwareHandler(Class<? extends I>, Class<? extends E>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleInboundEventAwareHandler
-
Create a new instance
- SimpleInboundHandler<I,A extends Address> - Class in org.drasyl.pipeline.skeleton
-
HandlerAdapter
which allows to explicit only handle a specific type of inbound messages. - SimpleInboundHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleInboundHandler
- SimpleInboundHandler(Class<? extends I>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleInboundHandler
-
Create a new instance
- SimpleOutboundHandler<O,A extends Address> - Class in org.drasyl.pipeline.skeleton
-
HandlerAdapter
which allows to explicit only handle a specific type of messages. - SimpleOutboundHandler() - Constructor for class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
-
Create a new instance which will try to detect the types to match out of the type parameter of the class.
- SimpleOutboundHandler(Class<? extends O>, Class<? extends A>) - Constructor for class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
-
Create a new instance
- Skip - Annotation Type in org.drasyl.pipeline
-
Indicates that the annotated handler method (
Handler.read(HandlerContext, Address, Object, CompletableFuture)
,Handler.write(HandlerContext, Address, Object, CompletableFuture)
,Handler.eventTriggered(HandlerContext, Event, CompletableFuture)
orHandler.exceptionCaught(HandlerContext, Exception)
) inHandler
will not be invoked by thePipeline
and so MUST only be used when theHandler
method does nothing except forward to the nextHandler
in the pipeline. - socketAddressFromString(String) - Static method in class org.drasyl.util.InetSocketAddressUtil
-
Converts
s
to anInetSocketAddressWrapper
. - SSDP_DISCOVERY_RESPONSE_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- SSDP_HEADER_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- SSDP_MAX_WAIT_TIME - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- SSDP_MULTICAST_ADDRESS - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- start() - Method in class org.drasyl.DrasylNode
-
Start the drasyl node.
- start() - Method in class org.drasyl.util.scheduler.DrasylScheduler
- start(HandlerContext, NodeUpEvent, Runnable) - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
- start(HandlerContext, NodeUpEvent, Runnable) - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
- start(HandlerContext, NodeUpEvent, Runnable) - Method in interface org.drasyl.remote.handler.portmapper.PortMapping
-
Tells the method to create a port forwarding and renew it independently.
- start(HandlerContext, NodeUpEvent, Runnable) - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
- Stateless - Annotation Type in org.drasyl.pipeline
-
Indicates that the annotated handler class is stateless and can safely be shared among multiple instances.
- STATIC_ROUTES_HANDLER - Static variable in class org.drasyl.remote.handler.StaticRoutesHandler
- StaticRoutesHandler - Class in org.drasyl.remote.handler
-
This handler uses preconfigured static routes (
DrasylConfig.getStaticRoutes(Config, String)
) to deliver messages. - StatusInfo(String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- stop(HandlerContext) - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
- stop(HandlerContext) - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
- stop(HandlerContext) - Method in interface org.drasyl.remote.handler.portmapper.PortMapping
-
Shall remove any existing port forwarding again.
- stop(HandlerContext) - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
- StringSerializer - Class in org.drasyl.serialization
-
This Serializer (de)serializes
String
objects. - StringSerializer() - Constructor for class org.drasyl.serialization.StringSerializer
- STYLE_BOLD - org.drasyl.util.AnsiColor
- STYLE_REVERSED - org.drasyl.util.AnsiColor
- STYLE_UNDERLINE - org.drasyl.util.AnsiColor
- SUCCESS - org.drasyl.util.protocol.NatPmpUtil.ResultCode
- SUCCESS - org.drasyl.util.protocol.PcpPortUtil.ResultCode
T
- tail - Variable in class org.drasyl.pipeline.AbstractPipeline
- third() - Method in class org.drasyl.util.Triple
- ThrowingBiConsumer<T,U,E extends Exception> - Interface in org.drasyl.util
-
BiConsumer
that can throw checkedException
s. - ThrowingBiFunction<T,U,R,E extends Exception> - Interface in org.drasyl.util
-
BiFunction
that can throw checkedException
s. - ThrowingConsumer<T,E extends Exception> - Interface in org.drasyl.util
- ThrowingFunction<T,R,E extends Exception> - Interface in org.drasyl.util
- ThrowingSupplier<T,E extends Exception> - Interface in org.drasyl.util
- TIMEOUT - Static variable in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
- TIMEOUT - Static variable in class org.drasyl.remote.handler.portmapper.PcpPortMapping
- TIMEOUT - Static variable in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
- toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.Application
- toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- toBuilder() - Method in class org.drasyl.remote.protocol.Protocol.Unite
- toByteArray(Object) - Method in class org.drasyl.serialization.DisabledSerializer
- toByteArray(Object) - Method in class org.drasyl.serialization.JacksonJsonSerializer
- toByteArray(Object) - Method in class org.drasyl.serialization.NullSerializer
- toByteArray(Object) - Method in interface org.drasyl.serialization.Serializer
-
Serializes the given object into an array of bytes
- toBytes() - Method in class org.drasyl.util.UnsignedInteger
- toBytes() - Method in class org.drasyl.util.UnsignedShort
- toFuture(Future<T>) - Static method in class org.drasyl.util.FutureUtil
-
Translates the Netty
Future
to aCompletableFuture
. - toString() - Method in class org.drasyl.DrasylConfig
- toString() - Method in class org.drasyl.event.MessageEvent
- toString() - Method in class org.drasyl.event.Node
- toString() - Method in class org.drasyl.event.NodeDownEvent
- toString() - Method in class org.drasyl.event.NodeNormalTerminationEvent
- toString() - Method in class org.drasyl.event.NodeOfflineEvent
- toString() - Method in class org.drasyl.event.NodeOnlineEvent
- toString() - Method in class org.drasyl.event.NodeUnrecoverableErrorEvent
- toString() - Method in class org.drasyl.event.NodeUpEvent
- toString() - Method in class org.drasyl.event.Peer
- toString() - Method in class org.drasyl.event.PeerDirectEvent
- toString() - Method in class org.drasyl.event.PeerRelayEvent
- toString() - Method in class org.drasyl.identity.CompressedKeyPair
- toString() - Method in class org.drasyl.identity.Identity
- toString() - Method in class org.drasyl.identity.ProofOfWork
- toString() - Method in class org.drasyl.peer.Endpoint
- toString() - Method in class org.drasyl.peer.PeersManager
- toString() - Method in class org.drasyl.pipeline.message.DefaultAddressedEnvelope
- toString() - Method in class org.drasyl.pipeline.serialization.SerializedApplicationMessage
- toString() - Method in class org.drasyl.remote.handler.InternetDiscoveryHandler.Ping
- toString() - Method in class org.drasyl.remote.handler.portmapper.NatPmpPortMapping
- toString() - Method in class org.drasyl.remote.handler.portmapper.PcpPortMapping
- toString() - Method in class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
- toString() - Method in class org.drasyl.remote.protocol.AddressedByteBuf
- toString() - Method in class org.drasyl.remote.protocol.AddressedIntermediateEnvelope
- toString() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- toString() - Method in class org.drasyl.remote.protocol.MessageId
- toString() - Method in class org.drasyl.util.Pair
- toString() - Method in class org.drasyl.util.Triple
- toString() - Method in class org.drasyl.util.UnsignedInteger
- toString() - Method in class org.drasyl.util.UnsignedShort
- toString() - Method in class org.drasyl.util.Worm
- toString(byte[]) - Static method in class org.drasyl.crypto.HexUtil
-
Converts a byte[] into a string representation
- TOTALCHUNKS_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PublicHeader
- touch() - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- touch(Object) - Method in class org.drasyl.remote.protocol.IntermediateEnvelope
- toUncompressedKey() - Method in class org.drasyl.identity.CompressedPrivateKey
-
Returns the
PrivateKey
object of this compressed private key. - toUncompressedKey() - Method in class org.drasyl.identity.CompressedPublicKey
-
Returns the
PublicKey
object of this compressed public key. - toUncompressedKeyPair() - Method in class org.drasyl.identity.CompressedKeyPair
- trace(String) - Method in class org.drasyl.util.logging.Logger
- trace(String, Object) - Method in class org.drasyl.util.logging.Logger
- trace(String, Object...) - Method in class org.drasyl.util.logging.Logger
- trace(String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- trace(String, Throwable) - Method in class org.drasyl.util.logging.Logger
- trace(String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- trace(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- trace(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- trace(Marker, String) - Method in class org.drasyl.util.logging.Logger
- trace(Marker, String, Object) - Method in class org.drasyl.util.logging.Logger
- trace(Marker, String, Object...) - Method in class org.drasyl.util.logging.Logger
- trace(Marker, String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- trace(Marker, String, Throwable) - Method in class org.drasyl.util.logging.Logger
- trace(Marker, String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- trace(Marker, String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- trace(Marker, String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- Triple<A,B,C> - Class in org.drasyl.util
-
A tuple of three elements.
- TYPE_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.Application
- TYPE_FIELD_NUMBER - Static variable in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- TypeParameterMatcher - Class in org.drasyl.util
-
Adapted from netty
TypeParameterMatcher
- TypeReference<T> - Class in org.drasyl.util
-
This class is used for obtaining full generics type information by sub-classing.
- TypeReference() - Constructor for class org.drasyl.util.TypeReference
U
- UDP_SERVER - Static variable in class org.drasyl.remote.handler.UdpServer
- UdpServer - Class in org.drasyl.remote.handler
-
Binds to a udp port, sends outgoing messages via udp, and sends received udp packets to the
DrasylPipeline
. - UdpServer(EventLoopGroup) - Constructor for class org.drasyl.remote.handler.UdpServer
- unhandled() - Static method in class org.drasyl.behaviour.Behaviors
-
A behavior that keeps the same behavior and signals that the event was not handled (event will be logged with DEBUG level).
- unite(int, CompressedPublicKey, ProofOfWork, CompressedPublicKey, CompressedPublicKey, InetSocketAddress) - Static method in class org.drasyl.remote.protocol.IntermediateEnvelope
- UNITE - org.drasyl.remote.protocol.Protocol.MessageType
-
UNITE = 3;
- UNITE_VALUE - Static variable in enum org.drasyl.remote.protocol.Protocol.MessageType
-
UNITE = 3;
- UNRECOGNIZED - org.drasyl.remote.protocol.Protocol.MessageType
- UnsignedInteger - Class in org.drasyl.util
-
This class represents an unsigned integer in a rang of [0, 2^32 - 1]
- UnsignedShort - Class in org.drasyl.util
-
This class represents an unsigned short in a rang of [0, 2^16 - 1]
- UNSUPP_OPCODE - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- UNSUPP_OPTION - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- UNSUPP_PROTOCOL - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- UNSUPP_VERSION - org.drasyl.util.protocol.PcpPortUtil.ResultCode
- UNSUPPORTED_OPCODE - org.drasyl.util.protocol.NatPmpUtil.ResultCode
- UNSUPPORTED_VERSION - org.drasyl.util.protocol.NatPmpUtil.ResultCode
- UPNP_ERROR_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_EXTERNAL_IP_ADDRESS_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_CONNECTION_STATUS_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_INTERNAL_CLIENT_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_INTERNAL_PORT_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_LEASE_DURATION_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_PORT_MAPPING_DESCRIPTION_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_SERVICE_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UpnpIgdPortMapping - Class in org.drasyl.remote.handler.portmapper
-
Port Forwarding on NAT-enabled routers via UPnP-IGD.
- UpnpIgdPortMapping() - Constructor for class org.drasyl.remote.handler.portmapper.UpnpIgdPortMapping
- UpnpIgdUtil - Class in org.drasyl.util.protocol
-
Utility class for Universal Plug and Play (UPnP) Internet Gateway Device-related stuff.
- UpnpIgdUtil() - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil
- UpnpIgdUtil.DiscoveryResponseMessage - Class in org.drasyl.util.protocol
- UpnpIgdUtil.ExternalIpAddress - Class in org.drasyl.util.protocol
- UpnpIgdUtil.MappingEntry - Class in org.drasyl.util.protocol
- UpnpIgdUtil.Message - Interface in org.drasyl.util.protocol
- UpnpIgdUtil.PortMapping - Class in org.drasyl.util.protocol
- UpnpIgdUtil.Service - Class in org.drasyl.util.protocol
- UpnpIgdUtil.StatusInfo - Class in org.drasyl.util.protocol
- UriUtil - Class in org.drasyl.util
-
Utility class for operations on
URI
s. - UrlUtil - Class in org.drasyl.util
-
Utility class for operations on
URL
s. - USER_EX_QUOTA - org.drasyl.util.protocol.PcpPortUtil.ResultCode
V
- valueOf(int) - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
-
Deprecated.
- valueOf(Descriptors.EnumValueDescriptor) - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.util.AnsiColor
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.drasyl.remote.protocol.Protocol.MessageType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.util.AnsiColor
-
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(PublicKey, byte[], byte[]) - Static method in class org.drasyl.crypto.Crypto
-
Verify the signature of the given message with the signature and public key.
- VisualPipeline - Class in org.drasyl.pipeline
-
Helper class to visualize the
Handler
order of a givenAbstractPipeline
.
W
- warn(String) - Method in class org.drasyl.util.logging.Logger
- warn(String, Object) - Method in class org.drasyl.util.logging.Logger
- warn(String, Object...) - Method in class org.drasyl.util.logging.Logger
- warn(String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- warn(String, Throwable) - Method in class org.drasyl.util.logging.Logger
- warn(String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- warn(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- warn(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- warn(Marker, String) - Method in class org.drasyl.util.logging.Logger
- warn(Marker, String, Object) - Method in class org.drasyl.util.logging.Logger
- warn(Marker, String, Object...) - Method in class org.drasyl.util.logging.Logger
- warn(Marker, String, Object, Object) - Method in class org.drasyl.util.logging.Logger
- warn(Marker, String, Throwable) - Method in class org.drasyl.util.logging.Logger
- warn(Marker, String, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- warn(Marker, String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Logger
- warn(Marker, String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Logger
- WATCH_SERVICE_POLL_INTERVAL - Static variable in class org.drasyl.localhost.LocalHostDiscovery
- webSocketPort(URI) - Static method in class org.drasyl.util.WebSocketUtil
- WebSocketUtil - Class in org.drasyl.util
-
Utility class for operations on websocket
URI
s (e.g. - when(Function<Flowable<Flowable<Completable>>, Completable>) - Method in class org.drasyl.util.scheduler.DrasylScheduler
- withScheduler(Function<Behaviors.EventScheduler, Behavior>) - Static method in class org.drasyl.behaviour.Behaviors
-
A behavior with support for scheduled self events in a node.
- withScheduler(Function<Behaviors.EventScheduler, Behavior>, Scheduler) - Static method in class org.drasyl.behaviour.Behaviors
-
A behavior with support for scheduled self events in a node.
- Worm<T> - Class in org.drasyl.util
-
This class wraps an object of type
T
and serves as a write once read many (worm) memory. - wrap(Scheduler, String) - Static method in class org.drasyl.util.scheduler.DrasylScheduler
-
Wraps the given
scheduler
and returns aDrasylScheduler
instance. - write(Address, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.HandlerContext
-
Request to write a message via this
HandlerContext
through thePipeline
. - write(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.Handler
-
Gets called if a
Object
was send from the application to a recipient. - write(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.HandlerAdapter
- write(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleDuplexEventAwareHandler
- write(HandlerContext, Address, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.skeleton.SimpleOutboundHandler
- WRITE_MASK - Static variable in class org.drasyl.pipeline.HandlerMask
- writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.Acknowledgement
- writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.Application
- writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.Discovery
- writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.PrivateHeader
- writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.PublicHeader
- writeTo(CodedOutputStream) - Method in class org.drasyl.remote.protocol.Protocol.Unite
- WS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
- WSS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
Z
- ZERO_IPV4 - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- ZERO_IPV6 - Static variable in class org.drasyl.util.protocol.PcpPortUtil
All Classes All Packages