Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort(Executor) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- AbstractArmHandler - Class in org.drasyl.node.handler.crypto
-
Skeleton handler that arms (encrypt) outbound and disarms (decrypt) inbound messages.
- AbstractArmHandler(Crypto, Duration, int, Identity, IdentityPublicKey) - Constructor for class org.drasyl.node.handler.crypto.AbstractArmHandler
- AbstractArmHandler(Crypto, Identity, IdentityPublicKey, Session) - Constructor for class org.drasyl.node.handler.crypto.AbstractArmHandler
- accept(T) - Method in interface org.drasyl.util.ThrowingConsumer
-
Performs this operation on the given argument.
- accept(T, U) - Method in interface org.drasyl.util.ThrowingBiConsumer
-
Performs this operation on the given arguments.
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.ByteToRemoteMessageCodec
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.crypto.UnarmedMessageDecoder
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.InvalidProofOfWorkFilter
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.OtherNetworkFilter
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.portmapper.PortMapper
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.remote.RateLimiter
- acceptInboundMessage(Object) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientHandler
- acceptInboundMessage(Object) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientMessageDecoder
- acceptInboundMessage(Object) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerHandler
- acceptMessage(InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
- acceptMessage(InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
- acceptMessage(InetSocketAddress, ByteBuf) - Method in interface org.drasyl.handler.remote.portmapper.PortMapping
-
Is called for incoming messages and returns true if the message should be consumed and removed from the pipeline.
- acceptMessage(InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
- acceptOutboundMessage(Object) - Method in class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
- acceptOutboundMessage(Object) - Method in class org.drasyl.handler.remote.ByteToRemoteMessageCodec
- acceptOutboundMessage(Object) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
- acceptOutboundMessage(Object) - Method in class org.drasyl.handler.stream.LargeByteBufToChunkedMessageEncoder
- acceptOutboundMessage(Object) - Method in class org.drasyl.node.handler.serialization.MessageSerializer
- acceptOutboundMessage(Object) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientMessageEncoder
- acceptOutboundMessage(Object) - Method in class org.drasyl.node.plugin.groups.client.GroupsServerMessageEncoder
- ACKNOWLEDGEMENT - Enum constant in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
- AcknowledgementMessage - Class in org.drasyl.handler.remote.protocol
-
Acknowledges a
DiscoveryMessage
. - AcknowledgementMessage - Class in org.drasyl.node.handler.crypto
- AcknowledgementMessage() - Constructor for class org.drasyl.handler.remote.protocol.AcknowledgementMessage
- AcknowledgementMessage() - Constructor for class org.drasyl.node.handler.crypto.AcknowledgementMessage
- add(int, MessageChunk) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- add(ChannelHandlerContext, Runnable) - Method in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
- add(CompletableFuture<?>) - Method in class org.drasyl.util.FutureCombiner
-
Adds a new
future
to be combined. - add(GoBackNArqData, ChannelPromise) - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
- add(GoBackNArqData, ChannelPromise) - Method in interface org.drasyl.handler.arq.gobackn.Window
-
Adds the given msg to the window, if there is enough capacity.
- add(PathEvent) - Method in class org.drasyl.handler.discovery.DuplicatePathEventFilter
- add(MessageChunk) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- addAdapter(String, ThrowingFunction<URI, DatabaseAdapter, DatabaseException>) - Static method in class org.drasyl.node.plugin.groups.manager.database.DatabaseAdapterManager
- addAll(int, Collection<? extends MessageChunk>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- addAll(Collection<? extends MessageChunk>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- addAll(CompletableFuture<?>...) - Method in class org.drasyl.util.FutureCombiner
-
Adds a new
futures
to be combined. - addGroup(GroupUri) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientConfig.Builder
- addGroup(Group) - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Adds a group to the database if it doesn't exist already.
- addGroup(Group) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- addGroupMember(Membership) - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Adds or updates the given
groupMember#member
to the givengroupMember#group
. - addGroupMember(Membership) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- AddPathAndChildrenEvent - Class in org.drasyl.handler.discovery
-
Signals that a direct routing path has been discovered to
PathEvent.getAddress()
and that this peer is registered at us as a children. - AddPathAndChildrenEvent() - Constructor for class org.drasyl.handler.discovery.AddPathAndChildrenEvent
- AddPathAndSuperPeerEvent - Class in org.drasyl.handler.discovery
-
Signals that a direct routing path has been discovered to
PathEvent.getAddress()
and that we are registered as a children as this peer. - AddPathAndSuperPeerEvent() - Constructor for class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
- AddPathEvent - Class in org.drasyl.handler.discovery
-
Signals that a direct routing path has been discovered to
PathEvent.getAddress()
. - AddPathEvent() - Constructor for class org.drasyl.handler.discovery.AddPathEvent
- addPortMapping(URI, String, Integer, InetAddress, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- address() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- ADDRESS_MISMATCH - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- addresses() - Method in class org.drasyl.handler.remote.LocalHostPeerInformation
- addSerializationsBindingsInbound(Class<?>, String) - Method in class org.drasyl.node.DrasylConfig.Builder
- addSerializationsBindingsOutbound(Class<?>, String) - Method in class org.drasyl.node.DrasylConfig.Builder
- addSerializer(Class<?>, Serializer) - Method in class org.drasyl.node.handler.serialization.Serialization
-
Adds a
serializer
as serializer for objects of typeclazz
. - addToChannelGroup(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- Agreement - Class in org.drasyl.node.handler.crypto
-
This object represents a session key agreement between two nodes.
- Agreement() - Constructor for class org.drasyl.node.handler.crypto.Agreement
- AgreementId - Class in org.drasyl.node.handler.crypto
-
This class represents an identifier for an
Agreement
between to nodes. - ansi() - Static method in class org.drasyl.util.Ansi
- Ansi - Class in org.drasyl.util
-
Utility to colorize and style Strings with ANSI escape sequences.
- Ansi.Color - Enum in org.drasyl.util
- apiBindHost(InetAddress) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig.Builder
- apiBindPort(int) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig.Builder
- apiEnabled(boolean) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig.Builder
- APPLICATION - Enum constant in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
- ApplicationMessage - Class in org.drasyl.handler.remote.protocol
- ApplicationMessage() - Constructor for class org.drasyl.handler.remote.protocol.ApplicationMessage
- ApplicationMessageToPayloadCodec - Class in org.drasyl.handler.remote
-
This codec converts
ApplicationMessage
s to the embedded payload and vice versa. - ApplicationMessageToPayloadCodec(int, IdentityPublicKey, ProofOfWork) - Constructor for class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
- apply(DrasylNode) - Method in class org.drasyl.node.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(ByteBuf, Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- arm(ByteBuf, Crypto, SessionPair) - Method in interface org.drasyl.handler.remote.protocol.FullReadMessage
-
Returns an armed version (
ArmedProtocolMessage
) of this message for sending it through untrustworthy channels. - arm(Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Returns an armed version (
ArmedProtocolMessage
) of this message. - arm(Agreement, ByteBuf) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- armAndRelease(Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Returns an armed version (
ArmedProtocolMessage
) of this message and then releases this message. - ARMED_HEADER_LENGTH - Static variable in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- ARMED_LENGTH - Static variable in class org.drasyl.handler.remote.protocol.PrivateHeader
- ArmedProtocolMessage - Class in org.drasyl.handler.remote.protocol
-
Describes a protocol message whose contents has been armed by using authenticated encryption with associated data.
- ArmedProtocolMessage() - Constructor for class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- ArmHeader - Class in org.drasyl.node.handler.crypto
- ArmHeader(AgreementId, Nonce, ByteBuf) - Constructor for class org.drasyl.node.handler.crypto.ArmHeader
- ArmHeaderCodec - Class in org.drasyl.node.handler.crypto
- ArmHeaderCodec() - Constructor for class org.drasyl.node.handler.crypto.ArmHeaderCodec
- ArmMessage - Class in org.drasyl.node.handler.crypto
- ArmMessage() - Constructor for class org.drasyl.node.handler.crypto.ArmMessage
- armStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
-
This stage arms outbound and disarms inbound messages.
- ArrayUtil - Class in org.drasyl.util
-
Utility class for operations on arrays.
- artifactId() - Method in class org.drasyl.util.Version
- available(int) - Static method in class org.drasyl.util.network.NetworkUtil
-
Checks to see if a specific port is available.
- availableProcessors() - Method in class org.drasyl.util.OSInfo
- availableTokens() - Method in class org.drasyl.util.TokenBucket
-
Returns the number of available tokens in the bucket.
B
- background(Ansi.Color) - Method in class org.drasyl.util.Ansi
- beginAggregation(MessageChunk, ByteBuf) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- beginRequest() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- Behavior - Class in org.drasyl.node.behaviour
-
The behavior of an node defines how it reacts to the events that it receives.
- Behavior.BehaviorBuilder - Class in org.drasyl.node.behaviour
-
Immutable builder for creating
Behavior
by chaining event handlers. - BehavioralDrasylNode - Class in org.drasyl.node.behaviour
-
Describes a
DrasylNode
as a finite state machine. - BehavioralDrasylNode() - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
- BehavioralDrasylNode(Identity, ServerBootstrap, ChannelFuture, ChannelGroup) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
- BehavioralDrasylNode(Identity, ServerBootstrap, ChannelFuture, ChannelGroup, Channel, Behavior) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
- BehavioralDrasylNode(DrasylConfig) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
- Behaviors - Class in org.drasyl.node.behaviour
-
Factories for
Behavior
. - Behaviors.EventScheduler - Class in org.drasyl.node.behaviour
- Beta - Annotation Type in org.drasyl.annotation
-
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
- BindFailedException(String, Throwable) - Constructor for exception org.drasyl.handler.remote.tcp.TcpServer.BindFailedException
- BindFailedException(String, Throwable) - Constructor for exception org.drasyl.handler.remote.UdpServer.BindFailedException
- black() - Method in class org.drasyl.util.Ansi
- BLACK - Enum constant in enum org.drasyl.util.Ansi.Color
- blue() - Method in class org.drasyl.util.Ansi
- BLUE - Enum constant in enum org.drasyl.util.Ansi.Color
- bold() - Method in class org.drasyl.util.Ansi
- BooleanSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
Boolean
objects. - BooleanSerializer() - Constructor for class org.drasyl.node.handler.serialization.BooleanSerializer
- bootstrap - Variable in class org.drasyl.node.DrasylNode
- build() - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Build a behavior from the current state of the builder.
- build() - Method in class org.drasyl.node.DrasylConfig.Builder
- build() - Method in class org.drasyl.node.plugin.groups.client.GroupsClientConfig.Builder
- build() - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig.Builder
- buildAgreement(Crypto, long) - Method in class org.drasyl.node.handler.crypto.PendingAgreement
- buildAuthTag() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
-
Builds the authentication tag from this public header.
- Builder() - Constructor for class org.drasyl.node.DrasylConfig.Builder
- Builder(GroupsClientConfig) - Constructor for class org.drasyl.node.plugin.groups.client.GroupsClientConfig.Builder
- Builder(GroupsManagerConfig) - Constructor for class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig.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.node.handler.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.
- buildSsdpDiscoveryMessage() - Static method in class org.drasyl.util.protocol.UpnpIgdUtil
- BUNDLED_ONLY - Static variable in class org.drasyl.crypto.loader.LibraryLoader
- ByteArraySerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes byte arrays (just returns the byte array unchanged/uncopied).
- ByteArraySerializer() - Constructor for class org.drasyl.node.handler.serialization.ByteArraySerializer
- ByteSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
Byte
objects. - ByteSerializer() - Constructor for class org.drasyl.node.handler.serialization.ByteSerializer
- bytesToHex(byte[]) - Static method in class org.drasyl.crypto.HexUtil
-
Converts an array of bytes into a string.
- BytesToHexStringDeserializer() - Constructor for class org.drasyl.node.identity.serialization.KeyMixin.BytesToHexStringDeserializer
- BytesToHexStringDeserializer(Class<byte[]>) - Constructor for class org.drasyl.node.identity.serialization.KeyMixin.BytesToHexStringDeserializer
- BytesToHexStringSerializer() - Constructor for class org.drasyl.node.identity.serialization.KeyMixin.BytesToHexStringSerializer
- BytesToHexStringSerializer(Class<byte[]>) - Constructor for class org.drasyl.node.identity.serialization.KeyMixin.BytesToHexStringSerializer
- ByteToGoBackNArqDataCodec - Class in org.drasyl.handler.arq.gobackn
-
Encodes
ByteBuf
s toAbstractGoBackNArqData
s and vice versa. - ByteToGoBackNArqDataCodec() - Constructor for class org.drasyl.handler.arq.gobackn.ByteToGoBackNArqDataCodec
- ByteToRemoteMessageCodec - Class in org.drasyl.handler.remote
-
This codec converts
ByteBuf
s toRemoteMessage
s an vice versa. - ByteToRemoteMessageCodec() - Constructor for class org.drasyl.handler.remote.ByteToRemoteMessageCodec
- ByteToStopAndWaitArqDataCodec - Class in org.drasyl.handler.arq.stopandwait
-
Encodes
ByteBuf
s toStopAndWaitArqData
s and vice versa. - ByteToStopAndWaitArqDataCodec() - Constructor for class org.drasyl.handler.arq.stopandwait.ByteToStopAndWaitArqDataCodec
C
- CANNOT_PROVIDE_EXTERNAL - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- CHANNEL_INACTIVITY_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.discovery.IntraVmDiscovery
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.logging.MessagesThroughputHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.monitoring.TelemetryHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.StaticRoutesHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClient
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpServer
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpMulticastServer
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientHandler
- channelIdle(ChannelHandlerContext, IdleStateEvent) - Method in class org.drasyl.node.handler.timeout.IdleChannelCloser
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.discovery.IntraVmDiscovery
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.logging.MessagesThroughputHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.monitoring.TelemetryHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.LocalHostDiscovery
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.PortMapper
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.StaticRoutesHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClient
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpServer
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpMulticastServer
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.logging.MessagesThroughputHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.internet.TraversingInternetDiscoveryChildrenHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.tcp.TcpClient
- channelRead0(ChannelHandlerContext, InetAddressedMessage<ByteBuf>) - Method in class org.drasyl.handler.remote.portmapper.PortMapper
- channelRead0(ChannelHandlerContext, InetAddressedMessage<FullReadMessage<?>>) - Method in class org.drasyl.handler.remote.RateLimiter
- channelRead0(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>) - Method in class org.drasyl.handler.remote.InvalidProofOfWorkFilter
- channelRead0(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>) - Method in class org.drasyl.handler.remote.OtherNetworkFilter
- channelRead0(ChannelHandlerContext, OverlayAddressedMessage<GroupsClientMessage>) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerHandler
- channelRead0(ChannelHandlerContext, OverlayAddressedMessage<GroupsServerMessage>) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientHandler
- channelRegistered(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
- channels - Variable in class org.drasyl.node.DrasylNode
- channelUnregistered(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
- CharacterSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
Character
objects. - CharacterSerializer() - Constructor for class org.drasyl.node.handler.serialization.CharacterSerializer
- CHILD_DEFAULT_THREADS - Static variable in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
- childrenPeers - Variable in class org.drasyl.handler.monitoring.TopologyHandler
- childrenPeers - Variable in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- childrenPeers() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- ChunkedMessageAggregator - Class in org.drasyl.handler.stream
-
Aggregates
MessageChunk
s to aReassembledMessage
. - ChunkedMessageAggregator(int) - Constructor for class org.drasyl.handler.stream.ChunkedMessageAggregator
-
Creates a new instance.
- ChunkedMessageInput - Class in org.drasyl.handler.stream
-
Wraps each chunk of the specified
io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
into a series of sortableMessageChunk
s, allowing the receiver to reassemble theByteBuf
in correct order. - ChunkedMessageInput(ChunkedInput<ByteBuf>) - Constructor for class org.drasyl.handler.stream.ChunkedMessageInput
- chunkingStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
-
This stages plits
ByteBuf
s that are too big for a single udp datagram. - chunkNo() - Method in class org.drasyl.handler.stream.MessageChunk
- cidr2Netmask(short, int) - Static method in class org.drasyl.util.network.NetworkUtil
-
Converts a given CIDR mask to valid IPv4 or IPv6 network mask.
- clear() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- clearWarnings() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- close() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
-
Calls
ApplicationMessage.release()
. - close() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- close() - Method in interface org.drasyl.handler.remote.protocol.PartialReadMessage
-
Calls
ReferenceCounted.release()
. - close() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- close() - Method in class org.drasyl.handler.stream.ChunkedMessageInput
- close() - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Closes the connection to the database.
- close() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- close() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
-
If you really want to close, you have to call
SingleConnectionWrapper.terminate()
. - closeAfterContinueResponse(Object) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- color(Ansi.Color) - Method in class org.drasyl.util.Ansi
- combine(CompletableFuture<Void>) - Method in class org.drasyl.util.FutureCombiner
-
Completes
future
if all of the added futures are completed. - commit() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- compare(Key, Key) - Static method in class org.drasyl.crypto.Crypto
-
Compares two keys
k1
andk2
to allow to form a total order on the keys. - compareTo(HopCount) - Method in class org.drasyl.handler.remote.protocol.HopCount
- computeIfAbsent(Supplier<T>) - Method in class org.drasyl.util.ConcurrentReference
-
Sets the write many read many memory to the return value of
supplier
ifConcurrentReference.value
isObjects.isNull(Object)
. - computeOnCondition(Predicate<T>, UnaryOperator<T>) - Method in class org.drasyl.util.ConcurrentReference
-
Sets the write many read many memory to the return value of
unaryFunction
ifConcurrentReference.value
fulfills thecondition
. - 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
. - ConcurrentReference<T> - Class in org.drasyl.util
-
This class wraps an object of type
T
and serves as a write many read many memory. - config() - Method in class org.drasyl.channel.DrasylChannel
- config() - Method in class org.drasyl.channel.DrasylServerChannel
- consume() - Method in class org.drasyl.util.TokenBucket
-
Consumes a token from the bucket.
- contains(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- containsAll(Collection<?>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- convertIdentityKeyToKeyAgreementKey(IdentityPublicKey) - Method in class org.drasyl.crypto.Crypto
-
Converts the given ed25519 long time
publicKey
into a curve25519 key for (on-demand) key agreement. - convertLongTimeKeyPairToKeyAgreementKeyPair(KeyPair<IdentityPublicKey, IdentitySecretKey>) - Method in class org.drasyl.crypto.Crypto
-
Converts the given ed25519 long time
keyPair
into a curve25519 key pair for (on-demand) key agreement. - convertPublicKeyEd25519ToCurve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Converts a public ed25519 key to a public curve25519 key.
- convertSecretKeyEd25519ToCurve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Converts a secret ed25519 key to a secret curve25519 key.
- cpuName() - Method in class org.drasyl.util.OSInfo
- createArrayOf(String, Object[]) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- createBlob() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- createClob() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- created() - Method in class org.drasyl.node.behaviour.BehavioralDrasylNode
-
Returns the initial
Behavior
of the node. - createInetAddress(String) - Static method in class org.drasyl.util.network.NetworkUtil
-
Creates a
InetAddress
by parsing the given string. - createNClob() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- createSQLXML() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- createStatement() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- createStatement(int, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- createStatement(int, int, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- createStruct(String, Object[]) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- createUri(String, String, int) - Static method in class org.drasyl.util.UriUtil
-
Creates a URI by parsing the given components.
- createUri(String, String, String, int, String, String) - Static method in class org.drasyl.util.UriUtil
-
Creates a URI by parsing the given components.
- createUrl(String) - Static method in class org.drasyl.util.UrlUtil
-
Creates a
URL
by parsing the given string. - crypto - Variable in class org.drasyl.node.handler.crypto.AbstractArmHandler
- Crypto - Class in org.drasyl.crypto
-
Util class that provides cryptography functions for drasyl.
- crypto_aead_xchacha20poly1305_ietf_decrypt(byte[], long[], byte[], byte[], long, byte[], long, byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_aead_xchacha20poly1305_ietf_encrypt(byte[], long[], byte[], long, byte[], long, byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_kx_client_session_keys(byte[], byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_kx_keypair(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_kx_server_session_keys(byte[], byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_detached(byte[], Pointer, byte[], long, byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_ed25519_pk_to_curve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_ed25519_sk_to_curve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_keypair(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_verify_detached(byte[], byte[], long, byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- cryptoAeadXChaCha20Poly1305IetfDecrypt(byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
This function decrypts the given ciphertext
c
. - cryptoAeadXChaCha20Poly1305IetfEncrypt(byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
This function encrypts the given message
m
. - CryptoException - Exception in org.drasyl.crypto
-
A CryptoException is thrown by
Crypto
when errors occur. - CryptoException(Exception) - Constructor for exception org.drasyl.crypto.CryptoException
- CryptoException(String) - Constructor for exception org.drasyl.crypto.CryptoException
- CryptoException(String, Exception) - Constructor for exception org.drasyl.crypto.CryptoException
- cryptoKxClientSessionKeys(byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
This function computes a pair of shared keys (rx and tx) using the client's public key clientPk, the client's secret key clientSk and the server's public key serverPk.
- cryptoKxServerSessionKeys(byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
This function computes a pair of shared keys (rx and tx) using the client's public key clientPk, the server's secret key serverSk and the server's public key serverPk.
- cryptoSignDetached(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Returns a signature for a message.
- cryptoSignKeypair(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Generate a signing keypair (ed25519).
- cryptoSignVerifyDetached(byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Verifies that
signature
is valid for themessage
. - CSPRNG - Static variable in class org.drasyl.crypto.Crypto
- currentTime - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- currentUser() - Method in class org.drasyl.util.OSInfo
- CURVE25519_PUBLICKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- CURVE25519_SECRETKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- cyan() - Method in class org.drasyl.util.Ansi
- CYAN - Enum constant in enum org.drasyl.util.Ansi.Color
D
- DatabaseAdapter - Interface in org.drasyl.node.plugin.groups.manager.database
-
This class is responsible for storing the groups plugin options.
- DatabaseAdapterManager - Class in org.drasyl.node.plugin.groups.manager.database
- DatabaseException - Exception in org.drasyl.node.plugin.groups.manager.database
-
This exception signals an error occurred during execution in
DatabaseAdapter
implementations. - DatabaseException(String) - Constructor for exception org.drasyl.node.plugin.groups.manager.database.DatabaseException
- DatabaseException(String, Throwable) - Constructor for exception org.drasyl.node.plugin.groups.manager.database.DatabaseException
- databaseUri(URI) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig.Builder
- debug(String) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the DEBUG level.
- debug(String) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the DEBUG level according to the specified format and argument.
- debug(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the DEBUG level according to the specified format and arguments.
- debug(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the DEBUG level according to the specified format and arguments.
- debug(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the DEBUG level with an accompanying message.
- debug(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the DEBUG level according to the specified format and argument supplier.
- debug(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the DEBUG level according to the specified format and argument suppliers.
- debug(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the DEBUG level according to the specified format and argument suppliers.
- debug(Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- debug(Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the DEBUG level.
- DEBUG - Enum constant in enum org.drasyl.util.logging.LogLevel
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.codec.JacksonCodec
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.codec.MaxLengthFrameDecoder
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.stream.MessageChunkDecoder
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.node.handler.crypto.ArmHeaderCodec
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.node.handler.serialization.MessageSerializer
- decode(ChannelHandlerContext, AddressedEnvelope<ApplicationMessage, ?>, List<Object>) - Method in class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
- decode(ChannelHandlerContext, InetAddressedMessage<ByteBuf>, List<Object>) - Method in class org.drasyl.handler.remote.ByteToRemoteMessageCodec
- decode(ChannelHandlerContext, InetAddressedMessage<ArmedProtocolMessage>, List<Object>) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
- decode(ChannelHandlerContext, InetAddressedMessage<UnarmedProtocolMessage>, List<Object>) - Method in class org.drasyl.handler.remote.crypto.UnarmedMessageDecoder
- decode(ChannelHandlerContext, OverlayAddressedMessage<ByteBuf>, List<Object>) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientMessageDecoder
- decode(ChannelHandlerContext, AbstractGoBackNArqData, List<Object>) - Method in class org.drasyl.handler.arq.gobackn.ByteToGoBackNArqDataCodec
- decode(ChannelHandlerContext, StopAndWaitArqData, List<Object>) - Method in class org.drasyl.handler.arq.stopandwait.ByteToStopAndWaitArqDataCodec
- decode(ChannelHandlerContext, MessageChunk, List<Object>) - Method in class org.drasyl.handler.stream.MessageChunksBuffer
- decode(ChannelHandlerContext, ReassembledMessage, List<Object>) - Method in class org.drasyl.handler.stream.ReassembledMessageDecoder
- decode(ChannelHandlerContext, ArmHeader, List<Object>) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- decode(ChannelHandlerContext, ArmHeader, List<Object>) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
- decrement() - Method in class org.drasyl.util.UnsignedInteger
- decrement() - Method in class org.drasyl.util.UnsignedShort
- decrypt(byte[], byte[], Nonce, SessionPair) - Method in class org.drasyl.crypto.Crypto
-
Decrypt the given
cipher
, by verify theauthTag
as an authentication tag, uses the givennonce
and decrypting with the rx part of thesessionPair
. - DeferredBehavior - Class in org.drasyl.node.behaviour
- DeferredBehavior(Function<DrasylNode, Behavior>) - Constructor for class org.drasyl.node.behaviour.DeferredBehavior
- delegate() - Method in class org.drasyl.util.logging.JdkLogger
- delegate() - Method in class org.drasyl.util.logging.Slf4JLogger
- deleteGroup(String) - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Deleted the group with the specified
name
. - deleteGroup(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- deleteIdentityFile(Path) - Static method in class org.drasyl.node.identity.IdentityManager
-
Deletes the identity file specified in the configuration.
- deletePortMapping(URI, String, int) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- deleteStaleMemberships() - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Deletes all stale memberships from all groups and returns the deleted members.
- deleteStaleMemberships() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- derivePublicKey() - Method in class org.drasyl.identity.IdentitySecretKey
-
Derives the
IdentityPublicKey
from this secret key. - deserialize(JsonParser, DeserializationContext) - Method in class org.drasyl.node.identity.serialization.KeyMixin.BytesToHexStringDeserializer
- 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.node.handler.serialization
-
This handler denies any (de)serialization and can be used to disable existing serializers.
- DisabledSerializer() - Constructor for class org.drasyl.node.handler.serialization.DisabledSerializer
- disarm(Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
-
Returns a disarmed version (
FullReadMessage
) of this message. - disarmAndRelease(Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
-
Returns a disarmed version (
FullReadMessage
) of this message and then releases this message. - DISCOVERY - Enum constant in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
- DiscoveryMessage - Class in org.drasyl.handler.remote.protocol
- DiscoveryMessage() - Constructor for class org.drasyl.handler.remote.protocol.DiscoveryMessage
- DiscoveryResponseMessage(String, String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- doBeginRead() - Method in class org.drasyl.channel.DrasylChannel
- doBeginRead() - Method in class org.drasyl.channel.DrasylServerChannel
- doBind(SocketAddress) - Method in class org.drasyl.channel.DrasylChannel
- doBind(SocketAddress) - Method in class org.drasyl.channel.DrasylServerChannel
- doClose() - Method in class org.drasyl.channel.DrasylChannel
- doClose() - Method in class org.drasyl.channel.DrasylServerChannel
- doDisconnect() - Method in class org.drasyl.channel.DrasylChannel
- doRegister() - Method in class org.drasyl.channel.DrasylChannel
- doRegister() - Method in class org.drasyl.channel.DrasylServerChannel
- DoubleSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
Double
objects. - DoubleSerializer() - Constructor for class org.drasyl.node.handler.serialization.DoubleSerializer
- doWrite(ChannelOutboundBuffer) - Method in class org.drasyl.channel.DrasylChannel
- DrasylAddress - Class in org.drasyl.identity
-
Models the address to a peer in the overlay.
- DrasylAddress() - Constructor for class org.drasyl.identity.DrasylAddress
- DrasylChannel - Class in org.drasyl.channel
-
A virtual
Channel
for peer communication. - DrasylChannel(Channel, DrasylChannel.State, DrasylAddress, DrasylAddress) - Constructor for class org.drasyl.channel.DrasylChannel
- DrasylChannel(DrasylServerChannel, IdentityPublicKey) - Constructor for class org.drasyl.channel.DrasylChannel
- DrasylConfig - Class in org.drasyl.node
-
This class represents the configuration for a
DrasylNode
. - DrasylConfig() - Constructor for class org.drasyl.node.DrasylConfig
- DrasylConfig.Builder - Class in org.drasyl.node
- DrasylConfigException - Exception in org.drasyl.node
-
An
Exception
which is thrown byDrasylConfig
. - DrasylConfigException(String, String) - Constructor for exception org.drasyl.node.DrasylConfigException
- DrasylConfigException(String, Throwable) - Constructor for exception org.drasyl.node.DrasylConfigException
- DrasylConfigException(Throwable) - Constructor for exception org.drasyl.node.DrasylConfigException
- DrasylException - Exception in org.drasyl.node
-
All checked exceptions in drasyl inherit from this exception class.
- DrasylException(String) - Constructor for exception org.drasyl.node.DrasylException
- DrasylException(String, Throwable) - Constructor for exception org.drasyl.node.DrasylException
- DrasylException(Throwable) - Constructor for exception org.drasyl.node.DrasylException
- DrasylNode - Class in org.drasyl.node
-
Represents a node in the drasyl Overlay Network.
- DrasylNode() - Constructor for class org.drasyl.node.DrasylNode
-
Creates a new drasyl Node.
- DrasylNode(Identity, ServerBootstrap, ChannelFuture, ChannelGroup) - Constructor for class org.drasyl.node.DrasylNode
- DrasylNode(DrasylConfig) - Constructor for class org.drasyl.node.DrasylNode
-
Creates a new drasyl Node with the given
config
. - DrasylNodeChannelInitializer - Class in org.drasyl.node.channel
-
Initialize child
DrasylChannel
s used byDrasylNode
. - DrasylNodeChannelInitializer(DrasylConfig, DrasylNode) - Constructor for class org.drasyl.node.channel.DrasylNodeChannelInitializer
- DrasylNodeServerChannelInitializer - Class in org.drasyl.node.channel
-
Initialize the
DrasylServerChannel
used byDrasylNode
. - DrasylNodeServerChannelInitializer(DrasylConfig, Identity, DrasylNode) - Constructor for class org.drasyl.node.channel.DrasylNodeServerChannelInitializer
- DrasylNodeSharedEventLoopGroupHolder - Class in org.drasyl.node
-
Holds parent and child
EventLoop
s that are shared across allDrasylNode
s. - DrasylPlugin - Interface in org.drasyl.node.handler.plugin
-
This interface is implemented by all drasyl plugins.
- DrasylServerChannel - Class in org.drasyl.channel
-
A virtual
ServerChannel
used for overlay network management. - DrasylServerChannel() - Constructor for class org.drasyl.channel.DrasylServerChannel
- DrasylSodium - Class in org.drasyl.crypto.sodium
-
This class loads and binds the JNA
Sodium
. - DrasylSodium() - Constructor for class org.drasyl.crypto.sodium.DrasylSodium
- DrasylSodium(File) - Constructor for class org.drasyl.crypto.sodium.DrasylSodium
- DrasylSodium(String) - Constructor for class org.drasyl.crypto.sodium.DrasylSodium
- DrasylSodiumWrapper - Class in org.drasyl.crypto.sodium
-
Simple wrapper class that make native class easier.
- DrasylSodiumWrapper(Sodium) - Constructor for class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- DuplicatePathEventFilter - Class in org.drasyl.handler.discovery
-
This class can be used to filter equal events for a given peer (identifies by
PathEvent.getAddress()
). - DuplicatePathEventFilter() - Constructor for class org.drasyl.handler.discovery.DuplicatePathEventFilter
- DurationUtil - Class in org.drasyl.util
-
Utility class for operations on
Duration
s.
E
- ED25519_BYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- ED25519_PUBLICKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- ED25519_SECRETKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.gobackn.ByteToGoBackNArqDataCodec
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.stopandwait.ByteToStopAndWaitArqDataCodec
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.stream.LargeByteBufToChunkedMessageEncoder
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
- encode(ChannelHandlerContext, Object, List<Object>) - Method in class org.drasyl.node.handler.serialization.MessageSerializer
- encode(ChannelHandlerContext, InetAddressedMessage<FullReadMessage<?>>, List<Object>) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
- encode(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>, List<Object>) - Method in class org.drasyl.handler.remote.ByteToRemoteMessageCodec
- encode(ChannelHandlerContext, OverlayAddressedMessage<ByteBuf>, List<Object>) - Method in class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
- encode(ChannelHandlerContext, OverlayAddressedMessage<GroupsClientMessage>, List<Object>) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientMessageEncoder
- encode(ChannelHandlerContext, OverlayAddressedMessage<GroupsServerMessage>, List<Object>) - Method in class org.drasyl.node.plugin.groups.client.GroupsServerMessageEncoder
- encode(ChannelHandlerContext, GoBackNArqMessage, List<Object>) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- encode(ChannelHandlerContext, StopAndWaitArqMessage, List<Object>) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
- encode(ChannelHandlerContext, MessageChunk, ByteBuf) - Method in class org.drasyl.handler.stream.MessageChunkEncoder
- encode(ChannelHandlerContext, ArmHeader, List<Object>) - Method in class org.drasyl.node.handler.crypto.ArmHeaderCodec
- encode(ChannelHandlerContext, T, ByteBuf) - Method in class org.drasyl.handler.codec.JacksonCodec
- encrypt(byte[], byte[], Nonce, SessionPair) - Method in class org.drasyl.crypto.Crypto
-
Encrypts the given
message
, by addingauthTag
as an authentication tag, using the given (hopefully fresh)nonce
and encrypting with the tx part of thesessionPair
. - endRequest() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- EPOCH_TIME_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- equals(Object) - Method in class org.drasyl.channel.InetAddressedMessage
- equals(Object) - Method in class org.drasyl.channel.OverlayAddressedMessage
- equals(Object) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqData
- equals(Object) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
- equals(Object) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
- equals(Object) - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- equals(Object) - Method in class org.drasyl.handler.remote.protocol.HopCount
- equals(Object) - Method in class org.drasyl.handler.remote.protocol.Nonce
- equals(Object) - Method in class org.drasyl.handler.stream.MessageChunk
- equals(Object) - Method in exception org.drasyl.node.DrasylException
- equals(Object) - Method in class org.drasyl.node.event.MessageEvent
- equals(Object) - Method in class org.drasyl.node.handler.crypto.AgreementId
- equals(Object) - Method in class org.drasyl.node.handler.crypto.ArmHeader
- equals(Object) - Method in class org.drasyl.node.handler.crypto.PendingAgreement
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinFailedEvent
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.event.GroupLeftEvent
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.event.GroupMemberLeftEvent
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.Group
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientConfig
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.message.GroupLeaveMessage
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.message.GroupWelcomeMessage
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- equals(Object) - Method in class org.drasyl.node.plugin.groups.manager.data.Group
- equals(Object) - Method in class org.drasyl.node.plugin.groups.manager.data.Member
- equals(Object) - Method in class org.drasyl.node.plugin.groups.manager.data.Membership
- equals(Object) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
- equals(Object) - Method in class org.drasyl.util.ConcurrentReference
- equals(Object) - Method in class org.drasyl.util.ImmutableByteArray
- equals(Object) - Method in class org.drasyl.util.MaskedString
- equals(Object) - Method in class org.drasyl.util.Pair
- equals(Object) - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- equals(Object) - Method in class org.drasyl.util.Triple
- equals(Object) - Method in class org.drasyl.util.UnsignedInteger
- equals(Object) - Method in class org.drasyl.util.UnsignedShort
- equals(Object) - Method in class org.drasyl.util.Worm
- error(String) - Method in class org.drasyl.util.logging.JdkLogger
- error(String) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the ERROR level.
- error(String) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the ERROR level according to the specified format and argument.
- error(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the ERROR level according to the specified format and arguments.
- error(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the ERROR level according to the specified format and arguments.
- error(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the ERROR level with an accompanying message.
- error(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the ERROR level according to the specified format and argument supplier.
- error(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the ERROR level according to the specified format and argument suppliers.
- error(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the ERROR level according to the specified format and argument suppliers.
- error(Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- error(Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the ERROR level.
- ERROR - Enum constant in enum org.drasyl.util.logging.LogLevel
- ERROR_GROUP_NOT_FOUND - Enum constant in enum org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage.Error
- ERROR_PROOF_TO_WEAK - Enum constant in enum org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage.Error
- ERROR_UNKNOWN - Enum constant in enum org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage.Error
- Event - Interface in org.drasyl.node.event
-
Describes an Event that provides the application with information about the local node, other peers, connections or incoming messages.
- eventLoopGroup() - Static method in class org.drasyl.node.behaviour.Behaviors
-
Returns a default, shared
EventLoopGroup
instance intended forBehavior
scheduling. - EXCESSIVE_REMOTE_PEERS - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- EXTERNAL_ADDRESS_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- EXTERNAL_ADDRESS_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- EXTERNAL_IP_ADDRESS_TIMEOUT - Static variable in class org.drasyl.util.network.NetworkUtil
- EXTERNAL_SUGGESTED_ADDRESS_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- ExternalAddressResponseMessage(NatPmpUtil.ResultCode, int, InetAddress) - Constructor for class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- ExternalIpAddress(InetAddress) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
F
- FILE_SUFFIX - Static variable in class org.drasyl.handler.remote.LocalHostDiscovery
- filterOutboundMessage(Object) - Method in class org.drasyl.channel.DrasylChannel
- find(Object, Class<?>, String) - Static method in class org.drasyl.util.TypeParameterMatcher
- findSerializerFor(String) - Method in class org.drasyl.node.handler.serialization.Serialization
-
Returns the configured
Serializer
for the givenclazzName
. - 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
. - firstStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- FloatSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
Float
objects. - FloatSerializer() - Constructor for class org.drasyl.node.handler.serialization.FloatSerializer
- flush(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- flush(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClient
- flush(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
- format(String) - Method in class org.drasyl.util.Ansi
- format(String, Object...) - Method in class org.drasyl.util.Ansi
- forNumber(byte) - Static method in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
- from(short) - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- from(short) - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- from(String) - Static method in enum org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage.Error
- fromApplication(ByteBuf) - Static method in class org.drasyl.node.handler.crypto.ArmMessage
- fromByteArray(byte[], Class<T>) - Method in class org.drasyl.node.handler.serialization.StringSerializer
- fromByteArray(byte[], Class<T>) - Method in class org.drasyl.node.handler.serialization.DisabledSerializer
- fromByteArray(byte[], Class<T>) - Method in class org.drasyl.node.handler.serialization.JacksonJsonSerializer
- fromByteArray(byte[], Class<T>) - Method in class org.drasyl.node.handler.serialization.NullSerializer
- fromByteArray(byte[], Class<T>) - Method in interface org.drasyl.node.handler.serialization.Serializer
-
Produces an object of type
T
from an array of bytes. - fromByteArray(byte[], String) - Method in interface org.drasyl.node.handler.serialization.Serializer
- fromString(String) - Static method in class org.drasyl.crypto.HexUtil
-
Converts a Hexadecimal String into the corresponding byte[]
- FullReadMessage<T extends FullReadMessage<?>> - Interface in org.drasyl.handler.remote.protocol
-
Describes a message whose content has been read completely.
- FutureCombiner - Class in org.drasyl.util
-
A future combiner monitors the outcome of a number of discrete futures, then notifies a final, aggregate future when all of the combined futures are finished.
- FutureUtil - Class in org.drasyl.util
-
Utility class for future-related operations.
G
- generateEphemeralKeyPair() - Method in class org.drasyl.crypto.Crypto
-
Generates a new curve25519 key pair for key exchange.
- generateIdentity() - Static method in class org.drasyl.identity.Identity
-
Generates a new random identity.
- generateIdentity(DrasylConfig) - Static method in class org.drasyl.node.DrasylNode
-
Generates an identity or uses the already generated identity from the given
config
. - generateLongTimeKeyPair() - Method in class org.drasyl.crypto.Crypto
-
Generates a new ed25519 key pair for signing and on-demand encryption.
- generateProofOfWork(DrasylAddress, byte) - Static method in class org.drasyl.identity.ProofOfWork
- generateSessionKeyPair(KeyPair<P, S>, PublicKey) - Method in class org.drasyl.crypto.Crypto
-
Generates session key pair from the
myKeyPair
andreceiverKeyPair
. - get() - Method in interface org.drasyl.util.ThrowingSupplier
-
Gets a result.
- get() - Method in class org.drasyl.util.Worm
-
If a value is present, returns the value, otherwise throws
NoSuchElementException
. - get(int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- get(Class<?>) - Static method in class org.drasyl.util.TypeParameterMatcher
- getAddress() - Method in interface org.drasyl.handler.discovery.PathEvent
- getAddress() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
-
Returns the public key of the peer.
- getAddress() - Method in class org.drasyl.identity.Identity
-
Returns the address for this identity.
- getAddress() - Method in class org.drasyl.node.event.Peer
-
Returns the peer's address.
- getAddress() - Method in interface org.drasyl.node.identity.serialization.IdentityMixin
- getAddresses() - Static method in class org.drasyl.util.network.NetworkUtil
-
Returns a list of the IP addresses of all network interfaces of the local computer.
- getAgreement(AgreementId) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- getAgreement(AgreementId) - Method in class org.drasyl.node.handler.crypto.LongTimeArmHandler
- getAgreement(AgreementId) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
- getAgreementId() - Method in class org.drasyl.node.handler.crypto.AcknowledgementMessage
- getAgreementId() - Method in class org.drasyl.node.handler.crypto.Agreement
- getAgreementId() - Method in class org.drasyl.node.handler.crypto.ArmHeader
- getAgreementId() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
- getApiBindHost() - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
- getApiBindPort() - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
- getArmed() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
- getArmed() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
- getArmedLength() - Method in class org.drasyl.handler.remote.protocol.PrivateHeader
- getArmedLength(ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.PrivateHeader
- getArray() - Method in class org.drasyl.util.ImmutableByteArray
- getAutoCommit() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getByte() - Method in class org.drasyl.handler.remote.protocol.HopCount
- getByte(Config, String) - Static method in class org.drasyl.node.DrasylConfig
-
Gets the byte at the given path.
- getBytes() - Method in interface org.drasyl.handler.remote.protocol.PartialReadMessage
-
Returns the remainder of unread bytes of this message.
- getBytes() - Method in interface org.drasyl.identity.Key
- getCatalog() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getChannelInactivityTimeout() - Method in class org.drasyl.node.DrasylConfig
- getChildGroup() - Static method in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
- getChildrenTime() - Method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
-
If the value is greater than
0
, it indicates that this node wants to join the receiver as a child. - getClientInfo() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getClientInfo(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getConfig() - Method in class org.drasyl.node.handler.plugin.PluginEnvironment
- getControlUrl() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- getCredentials() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- getCredentials() - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- getCredentials() - Method in class org.drasyl.node.plugin.groups.manager.data.Group
- getCurrentActiveAgreement() - Method in class org.drasyl.node.handler.crypto.Session
- getCurrentInactiveAgreement() - Method in class org.drasyl.node.handler.crypto.Session
- getDatabaseUri() - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
- getDefaultGateway() - Static method in class org.drasyl.util.network.NetworkUtil
- getDefaultInterface() - Static method in class org.drasyl.util.network.NetworkUtil
-
Returns the default network interface of this system.
- getDescription() - Method in enum org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage.Error
- getDescription() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- getDifficulty(ProofOfWork, IdentityPublicKey) - Static method in class org.drasyl.identity.ProofOfWork
- getEndpoint(Config, String) - Static method in class org.drasyl.node.DrasylConfig
- getEndpointSet(Config, String) - Static method in class org.drasyl.node.DrasylConfig
- getEpochTime() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getError() - Method in class org.drasyl.node.event.InboundExceptionEvent
-
Returns the exception why the message could not be processed.
- getError() - Method in class org.drasyl.node.event.NodeUnrecoverableErrorEvent
-
Returns the exception that crashed the node.
- getErrorCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- getErrorCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- getExternalAddress() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- getExternalIpAddress(URI, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- getExternalIPv4Address() - Static method in class org.drasyl.util.network.NetworkUtil
-
Determines the external IPv4 address.
- getExternalIPv6Address() - Static method in class org.drasyl.util.network.NetworkUtil
-
Determines the external IPv6 address.
- getExternalPort() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- getExternalSuggestedAddress() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getExternalSuggestedPort() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getFreeSpace() - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
- getFreeSpace() - Method in interface org.drasyl.handler.arq.gobackn.Window
- getGroup() - Method in interface org.drasyl.node.plugin.groups.client.event.GroupEvent
- getGroup() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
- getGroup() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinFailedEvent
- getGroup() - Method in class org.drasyl.node.plugin.groups.client.event.GroupLeftEvent
- getGroup() - Method in class org.drasyl.node.plugin.groups.client.event.GroupMemberLeftEvent
- getGroup() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- getGroup() - Method in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- getGroup() - Method in class org.drasyl.node.plugin.groups.manager.data.Membership
- getGroup(String) - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Returns the group with the specified
name
ornull
if it could not be found. - getGroup(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- getGroupMembers(String) - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Returns the members of the group
name
as set. - getGroupMembers(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- getGroups() - Method in class org.drasyl.node.plugin.groups.client.GroupsClientConfig
- getGroups() - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Lists all groups.
- getGroups() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- getGroups() - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
- getHoldability() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getHopCount() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
- getHopCount() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
- getHost() - Method in class org.drasyl.node.PeerEndpoint
-
Returns the hostname of this endpoint.
- getId() - Method in class org.drasyl.node.handler.crypto.AgreementId
- getIdentity() - Method in class org.drasyl.node.DrasylConfig
- getIdentity() - Method in class org.drasyl.node.event.Node
-
Returns the node's identity.
- getIdentity() - Method in class org.drasyl.node.handler.plugin.PluginEnvironment
- getIdentityKeyPair() - Method in class org.drasyl.identity.Identity
- getIdentityPath() - Method in class org.drasyl.node.DrasylConfig
- getIdentityProofOfWork() - Method in class org.drasyl.node.DrasylConfig
- getIdentityPublicKey() - Method in class org.drasyl.identity.Identity
- getIdentityPublicKey() - Method in class org.drasyl.node.DrasylConfig
- getIdentityPublicKey() - Method in class org.drasyl.node.event.Peer
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getIdentityPublicKey() - Method in interface org.drasyl.node.identity.serialization.IdentityMixin
- getIdentityPublicKey() - Method in class org.drasyl.node.PeerEndpoint
-
Returns the
IdentityPublicKey
of thisEndpoint
. - getIdentityPublicKey(Config, String) - Static method in class org.drasyl.node.DrasylConfig
-
Gets the
IdentityPublicKey
at the given path. - getIdentitySecretKey() - Method in class org.drasyl.identity.Identity
- getIdentitySecretKey() - Method in class org.drasyl.node.DrasylConfig
- getIdentitySecretKey() - Method in interface org.drasyl.node.identity.serialization.IdentityMixin
- getIdentitySecretKey(Config, String) - Static method in class org.drasyl.node.DrasylConfig
-
Gets the
IdentitySecretKey
at the given path. - getInetAddress() - Method in class org.drasyl.handler.discovery.AddPathAndChildrenEvent
- getInetAddress() - Method in class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
- getInetAddress() - Method in class org.drasyl.handler.discovery.AddPathEvent
- getInetAddress() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
-
Returns the ip address of the peer.
- getInetAddress(Config, String) - Static method in class org.drasyl.node.DrasylConfig
- getInetSocketAddress(Config, String) - Static method in class org.drasyl.node.DrasylConfig
- getInitializedAgreements() - Method in class org.drasyl.node.handler.crypto.Session
- getInstance() - Static method in class org.drasyl.util.FutureCombiner
- getInstance() - Static method in class org.drasyl.util.OSInfo
- getInternalClient() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- getInternalPort() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- getInternalPort() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getInternalPort() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- getIpv4MappedIPv6AddressBytes(InetAddress) - Static method in class org.drasyl.util.network.NetworkUtil
- getKeyAgreementKeyPair() - Method in class org.drasyl.identity.Identity
- getKeyAgreementPublicKey() - Method in class org.drasyl.identity.Identity
- getKeyAgreementPublicKey() - Method in class org.drasyl.node.DrasylConfig
- getKeyAgreementPublicKey() - Method in interface org.drasyl.node.identity.serialization.IdentityMixin
- getKeyAgreementPublicKey(Config, String) - Static method in class org.drasyl.node.DrasylConfig
-
Gets the
KeyAgreementPublicKey
at the given path. - getKeyAgreementSecretKey() - Method in class org.drasyl.identity.Identity
- getKeyAgreementSecretKey() - Method in class org.drasyl.node.DrasylConfig
- getKeyAgreementSecretKey() - Method in interface org.drasyl.node.identity.serialization.IdentityMixin
- getKeyAgreementSecretKey(Config, String) - Static method in class org.drasyl.node.DrasylConfig
-
Gets the
KeyAgreementSecretKey
at the given path. - getKeyPair() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
- getLastKeyExchangeAt() - Method in class org.drasyl.node.handler.crypto.Session
- getLastRenewAttemptAt() - Method in class org.drasyl.node.handler.crypto.Session
- getLeaseDuration() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- getLeaveRun() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
-
If this runnable is invoked the
GroupJoinedEvent.group
will be left. - getLifetime() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- getLifetime() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getLocalAddress() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- getLocalAddressForRemoteAddress(InetSocketAddress) - Static method in class org.drasyl.util.network.NetworkUtil
-
Establishes a connection to
remoteAddress
and returns the local address used for it.If an error occurs,null
is returned. - getLocalHostName() - Static method in class org.drasyl.util.network.NetworkUtil
-
Returns the local host name.
- getLocation() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- getLogger(Class<?>) - Static method in class org.drasyl.util.logging.LoggerFactory
-
Creates a new logger with name of specified
clazz
. - getLogger(String) - Static method in class org.drasyl.util.logging.LoggerFactory
-
Creates a new logger with specified
name
. - getLongTimeAgreement() - Method in class org.drasyl.node.handler.crypto.Session
- getLongTimeKeyAgreementKey() - Method in class org.drasyl.identity.IdentityPublicKey
- getManager() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- getMappingNonce() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getMember() - Method in class org.drasyl.node.plugin.groups.client.event.GroupMemberLeftEvent
- getMember() - Method in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- getMember() - Method in class org.drasyl.node.plugin.groups.manager.data.Membership
- getMembers() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
- getMembers() - Method in class org.drasyl.node.plugin.groups.client.message.GroupWelcomeMessage
- getMessageBufferSize() - Method in class org.drasyl.node.DrasylConfig
- getMetaData() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getMinDifficulty() - Method in class org.drasyl.node.plugin.groups.manager.data.Group
- getMsg() - Method in class org.drasyl.handler.arq.gobackn.Window.Frame
- getName() - Method in class org.drasyl.node.plugin.groups.client.Group
- getName() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- getName() - Method in class org.drasyl.node.plugin.groups.manager.data.Group
- getNetworkId() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
- getNetworkId() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
- getNetworkId() - Method in class org.drasyl.node.DrasylConfig
- getNetworkId() - Method in class org.drasyl.node.PeerEndpoint
-
Returns the network id of this endpoint.
- getNetworkPrefixLength(InetAddress) - Static method in class org.drasyl.util.network.NetworkUtil
-
Returns the network prefix length for given address.
- getNetworkTimeout() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- 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.node.event.NodeEvent
-
Returns the node to which this event refers.
- getNonce() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
- getNonce() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
- getNonce() - Method in class org.drasyl.identity.ProofOfWork
- getNonce() - Method in class org.drasyl.node.handler.crypto.ArmHeader
- getNumber() - Method in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
- getNumber() - Method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- getNumber() - Method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- getOrCompute(Supplier<T>) - Method in class org.drasyl.util.Worm
-
If no value has been set yet, it will be set to the return of
supplier
. - getOrSet(T) - Method in class org.drasyl.util.Worm
-
If no value has been set yet, it will be set to
value
. - getParentGroup() - Static method in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
- getPath() - Method in interface org.drasyl.handler.discovery.PathEvent
- getPath(Config, String) - Static method in class org.drasyl.node.DrasylConfig
-
Gets the
Path
at the given path. - getPayload() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
-
Returns the payload.
- getPayload() - Method in class org.drasyl.node.event.MessageEvent
-
Returns the message's payload.
- getPayload() - Method in class org.drasyl.node.handler.serialization.SerializedPayload
- getPeer() - Method in interface org.drasyl.node.event.PeerEvent
-
Returns the peer to which this event refers.
- getPipeline() - Method in class org.drasyl.node.handler.plugin.PluginEnvironment
- getPlugins() - Method in class org.drasyl.node.DrasylConfig
- getPlugins(Config, String) - Static method in class org.drasyl.node.DrasylConfig
- getPort() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
-
Returns the port of the peer.
- getPort() - Method in class org.drasyl.handler.remote.tcp.TcpServer.Port
- getPort() - Method in class org.drasyl.handler.remote.UdpServer.Port
- getPort() - Method in class org.drasyl.node.event.Node
-
Returns the node's server port.
- getPort() - Method in class org.drasyl.node.PeerEndpoint
-
Returns the port of this endpoint.
- getPromise() - Method in class org.drasyl.handler.arq.gobackn.Window.Frame
- getProofOfWork() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
- getProofOfWork() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
- getProofOfWork() - Method in class org.drasyl.identity.Identity
- getProofOfWork() - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- getProofOfWork(Config, String) - Static method in class org.drasyl.node.DrasylConfig
-
Gets the
ProofOfWork
at the given path. - getProtocol() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getPublicKey() - Method in class org.drasyl.identity.KeyPair
- getPublicKey() - Method in class org.drasyl.node.plugin.groups.manager.data.Member
- 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
. - getQueue() - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
- getQueue() - Method in interface org.drasyl.handler.arq.gobackn.Window
- getReason() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinFailedEvent
- getReason() - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage
- getRecipient() - Method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
-
Returns the
IdentityPublicKey
of the message recipient. - getRecipient() - Method in interface org.drasyl.handler.remote.protocol.FullReadMessage
-
Returns the
IdentityPublicKey
of the message recipient. - getRecipient() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
- getRecipient() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
- getRecipient() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- getRecipientsKeyAgreementKey() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
- getReJoin() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinFailedEvent
-
If this runnable is invoked the plugin tries to re-join the
GroupJoinFailedEvent.group
. - getReJoin() - Method in class org.drasyl.node.plugin.groups.client.event.GroupLeftEvent
-
If this runnable is invoked the plugin tries to re-join the
GroupLeftEvent.group
. - getRemoteBindHost() - Method in class org.drasyl.node.DrasylConfig
- getRemoteBindPort() - Method in class org.drasyl.node.DrasylConfig
- getRemoteEndpoints() - Method in class org.drasyl.node.DrasylConfig
- getRemoteLocalHostDiscoveryLeaseTime() - Method in class org.drasyl.node.DrasylConfig
- getRemoteLocalHostDiscoveryPath() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmApplicationAgreementExpireAfter() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmApplicationAgreementMaxCount() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmApplicationAgreementRetryInterval() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmProtocolSessionExpireAfter() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmProtocolSessionMaxCount() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageComposedMessageTransferTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageHopLimit() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageMaxContentLength() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageMtu() - Method in class org.drasyl.node.DrasylConfig
- getRemotePingCommunicationTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemotePingInterval() - Method in class org.drasyl.node.DrasylConfig
- getRemotePingMaxPeers() - Method in class org.drasyl.node.DrasylConfig
- getRemotePingTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemoteStaticRoutes() - Method in class org.drasyl.node.DrasylConfig
- getRemoteSuperPeerEndpoints() - Method in class org.drasyl.node.DrasylConfig
- getRemoteTcpFallbackClientAddress() - Method in class org.drasyl.node.DrasylConfig
- getRemoteTcpFallbackClientTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemoteTcpFallbackServerBindHost() - Method in class org.drasyl.node.DrasylConfig
- getRemoteTcpFallbackServerBindPort() - Method in class org.drasyl.node.DrasylConfig
- getRemoteUniteMinInterval() - Method in class org.drasyl.node.DrasylConfig
- getResultCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- getResultCode() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getRx() - Method in class org.drasyl.crypto.sodium.SessionPair
- getSchema() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getSecondsSinceStartOfEpoch() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- getSecondsSinceStartOfEpoch() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- getSecretKey() - Method in class org.drasyl.identity.KeyPair
- getSender() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
- getSender() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
- getSender() - Method in class org.drasyl.node.event.MessageEvent
-
Returns the message's sender.
- getSerializationBindings(Config, String, Collection<String>) - Static method in class org.drasyl.node.DrasylConfig
- getSerializationsBindingsInbound() - Method in class org.drasyl.node.DrasylConfig
- getSerializationsBindingsOutbound() - Method in class org.drasyl.node.DrasylConfig
- getSerializationSerializers() - Method in class org.drasyl.node.DrasylConfig
- getSerializationSerializers(Config, String) - Static method in class org.drasyl.node.DrasylConfig
- getServiceType() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- getServiceType() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- getSessionKey() - Method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
- getSessionPair() - Method in class org.drasyl.node.handler.crypto.Agreement
- getShort(Config, String) - Static method in class org.drasyl.node.DrasylConfig
-
Gets the short at the given path.
- getSocketAddress() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- getSodium() - Method in class org.drasyl.crypto.Crypto
-
Is only for internal usage.
- getSodium() - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- getSodiumPathInResources() - Static method in class org.drasyl.crypto.loader.LibraryLoader
- getSodiumPlatformDependentPath() - Static method in class org.drasyl.crypto.loader.LibraryLoader
- getSpecificPortMappingEntry(URI, String, Integer) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- getStaleAt() - Method in class org.drasyl.node.handler.crypto.Agreement
- getStaleAt() - Method in class org.drasyl.node.plugin.groups.manager.data.Membership
- getStaticRoutes(Config, String) - Static method in class org.drasyl.node.DrasylConfig
- getStatusInfo(URI, String) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- getTcpFallbackPort() - Method in class org.drasyl.node.event.Node
-
Returns the node's tcp fallback server port.
- getTime() - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
-
Returns the
DiscoveryMessage.getTime()
value of the correspondingDiscoveryMessage
. - getTime() - Method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
-
Returns the time this message has been sent.
- getTimeout() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- getTimeout() - Method in class org.drasyl.node.plugin.groups.manager.data.Group
- getTimeoutSeconds() - Method in class org.drasyl.node.plugin.groups.manager.data.Group
- getTransactionIsolation() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getTx() - Method in class org.drasyl.crypto.sodium.SessionPair
- getType() - Method in class org.drasyl.handler.remote.protocol.PrivateHeader
- getType() - Method in class org.drasyl.node.handler.crypto.ArmMessage
- getType() - Method in class org.drasyl.node.handler.serialization.SerializedPayload
- getType() - Method in class org.drasyl.util.TypeParameterMatcher
- getType() - Method in class org.drasyl.util.TypeReference
-
Gets the referenced type.
- getTypeMap() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getUpnpService(URI) - Method in class org.drasyl.util.protocol.UpnpIgdUtil
- getUri(IdentityPublicKey) - Method in class org.drasyl.node.plugin.groups.manager.data.Group
- getURI() - Method in class org.drasyl.node.PeerEndpoint
-
Returns an
URI
representing thisEndpoint
. - getURI(Config, String) - Static method in class org.drasyl.node.DrasylConfig
-
Gets the
URI
at the given path. - getValue() - Method in class org.drasyl.util.ConcurrentReference
- getValue() - Method in class org.drasyl.util.UnsignedInteger
- getValue() - Method in class org.drasyl.util.UnsignedShort
- getVersion() - Static method in class org.drasyl.node.DrasylNode
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Version.identify().get("drasyl-core").version()
instead. - getWarnings() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- GoBackNArqAck - Class in org.drasyl.handler.arq.gobackn
-
Ack message of the Go-Back-N ARQ protocol.
- GoBackNArqAck(UnsignedInteger) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqAck
- GoBackNArqCodec - Class in org.drasyl.handler.arq.gobackn
-
Encodes
GoBackNArqMessage
s toByteBuf
s and vice versa. - GoBackNArqCodec() - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- GoBackNArqData - Class in org.drasyl.handler.arq.gobackn
-
Data message of the Go-Back-N ARQ protocol.
- GoBackNArqData(ByteBuf) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqData
- GoBackNArqData(UnsignedInteger, ByteBuf) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqData
- GoBackNArqFirstData - Class in org.drasyl.handler.arq.gobackn
-
First data message of the Go-Back-N ARQ protocol.
- GoBackNArqFirstData(ByteBuf) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqFirstData
- GoBackNArqHandler - Class in org.drasyl.handler.arq.gobackn
-
Performs the Go-Back-N ARQ protocol.
- GoBackNArqHandler(int, Duration, boolean, Duration) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
-
Creates a new GoBackNArqHandler.
- GoBackNArqHandler(int, Duration, Duration) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
-
Creates a new GoBackNArqHandler.
- GoBackNArqHandler(int, Duration, UnsignedInteger, UnsignedInteger, UnsignedInteger, boolean, Duration) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
-
Creates a new GoBackNArqHandler.
- GoBackNArqLastData - Class in org.drasyl.handler.arq.gobackn
-
Last data message of the Go-Back-N ARQ protocol.
- GoBackNArqLastData(UnsignedInteger, ByteBuf) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqLastData
- GoBackNArqMessage - Interface in org.drasyl.handler.arq.gobackn
-
Message of the Go-Back-N ARQ protocol.
- GoBackNArqRst - Class in org.drasyl.handler.arq.gobackn
-
Rst message of the Go-Back-N ARQ protocol.
- GoBackNArqRst() - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqRst
- green() - Method in class org.drasyl.util.Ansi
- GREEN - Enum constant in enum org.drasyl.util.Ansi.Color
- group - Variable in class org.drasyl.node.plugin.groups.client.event.GroupMemberLeftEvent
- group - Variable in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- Group - Class in org.drasyl.node.plugin.groups.client
-
A simple POJO that models a group.
- Group - Class in org.drasyl.node.plugin.groups.manager.data
-
Class is used to model the state of a group.
- GROUP_DEFAULT_MIN_DIFFICULTY - Static variable in class org.drasyl.node.plugin.groups.manager.data.Group
- GROUP_DEFAULT_TIMEOUT - Static variable in class org.drasyl.node.plugin.groups.manager.data.Group
- GROUP_MIN_TIMEOUT - Static variable in class org.drasyl.node.plugin.groups.manager.data.Group
- GroupEvent - Interface in org.drasyl.node.plugin.groups.client.event
-
An event that is related to a
Group
. - GroupJoinedEvent - Class in org.drasyl.node.plugin.groups.client.event
-
An event that signals that this node has successfully joined a group.
- GroupJoinFailedEvent - Class in org.drasyl.node.plugin.groups.client.event
-
An event that signals, that a joining a specific group has failed.
- GroupJoinFailedMessage - Class in org.drasyl.node.plugin.groups.client.message
-
This message is sent by the groups server to the client when the join to a group was not successful.
- GroupJoinFailedMessage(Group, GroupJoinFailedMessage.Error) - Constructor for class org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage
- GroupJoinFailedMessage.Error - Enum in org.drasyl.node.plugin.groups.client.message
-
Specifies the reason of the
GroupJoinFailedMessage
. - GroupJoinMessage - Class in org.drasyl.node.plugin.groups.client.message
-
This message is send by the groups client to the server to join a group.
- GroupJoinMessage(Group, String, ProofOfWork, boolean) - Constructor for class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- GroupLeaveMessage - Class in org.drasyl.node.plugin.groups.client.message
-
This message is send by the groups client to the server to leave a group.
- GroupLeaveMessage(Group) - Constructor for class org.drasyl.node.plugin.groups.client.message.GroupLeaveMessage
- GroupLeftEvent - Class in org.drasyl.node.plugin.groups.client.event
-
An event that signals that this node has left a group.
- GroupMemberJoinedEvent - Class in org.drasyl.node.plugin.groups.client.event
-
An event that signals that a new member joined a group.
- GroupMemberLeftEvent - Class in org.drasyl.node.plugin.groups.client.event
-
An event that signals that a member has left a group.
- groups(Map<String, Group>) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig.Builder
- groups(Set<GroupUri>) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientConfig.Builder
- GROUPS_CLIENT_HANDLER - Static variable in class org.drasyl.node.plugin.groups.client.GroupsClientPlugin
- GROUPS_MANAGER_HANDLER - Static variable in class org.drasyl.node.plugin.groups.manager.GroupsManagerPlugin
- GroupsClientConfig - Class in org.drasyl.node.plugin.groups.client
-
This class represents the configuration for the
GroupsClientPlugin
. - GroupsClientConfig(Config) - Constructor for class org.drasyl.node.plugin.groups.client.GroupsClientConfig
- GroupsClientConfig(GroupsClientConfig.Builder) - Constructor for class org.drasyl.node.plugin.groups.client.GroupsClientConfig
- GroupsClientConfig.Builder - Class in org.drasyl.node.plugin.groups.client
-
Implements the builder-pattern for this configuration.
- GroupsClientHandler - Class in org.drasyl.node.plugin.groups.client
- GroupsClientHandler(Set<GroupUri>, Identity) - Constructor for class org.drasyl.node.plugin.groups.client.GroupsClientHandler
- GroupsClientMessage - Interface in org.drasyl.node.plugin.groups.client.message
-
This message is send by the groups client to the server.
- GroupsClientMessageDecoder - Class in org.drasyl.node.plugin.groups.client
- GroupsClientMessageDecoder() - Constructor for class org.drasyl.node.plugin.groups.client.GroupsClientMessageDecoder
- GroupsClientMessageEncoder - Class in org.drasyl.node.plugin.groups.client
- GroupsClientMessageEncoder() - Constructor for class org.drasyl.node.plugin.groups.client.GroupsClientMessageEncoder
- GroupsClientPlugin - Class in org.drasyl.node.plugin.groups.client
-
The Groups Membership Client Plugin allows drasyl nodes to connect to membership managers at startup to join groups.
- GroupsClientPlugin(Config) - Constructor for class org.drasyl.node.plugin.groups.client.GroupsClientPlugin
-
This constructor is used by
DrasylConfig
to initialize this plugin. - GroupsClientPlugin(GroupsClientConfig) - Constructor for class org.drasyl.node.plugin.groups.client.GroupsClientPlugin
- GroupsManagerApi - Class in org.drasyl.node.plugin.groups.manager
-
This class starts a HTTP server with a REST API to manage groups and memberships.
- GroupsManagerApi(GroupsManagerConfig, DatabaseAdapter) - Constructor for class org.drasyl.node.plugin.groups.manager.GroupsManagerApi
- GroupsManagerConfig - Class in org.drasyl.node.plugin.groups.manager
-
This class represents the configuration for the
GroupsManagerPlugin
. - GroupsManagerConfig(Config) - Constructor for class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
- GroupsManagerConfig.Builder - Class in org.drasyl.node.plugin.groups.manager
-
Implements the builder-pattern for this configuration.
- GroupsManagerHandler - Class in org.drasyl.node.plugin.groups.manager
- GroupsManagerHandler(DatabaseAdapter) - Constructor for class org.drasyl.node.plugin.groups.manager.GroupsManagerHandler
- GroupsManagerPlugin - Class in org.drasyl.node.plugin.groups.manager
-
Starting point for the groups master plugin.
- GroupsManagerPlugin(Config) - Constructor for class org.drasyl.node.plugin.groups.manager.GroupsManagerPlugin
- GroupsManagerPlugin(GroupsManagerConfig) - Constructor for class org.drasyl.node.plugin.groups.manager.GroupsManagerPlugin
- GroupsPluginMessage - Interface in org.drasyl.node.plugin.groups.client.message
-
Default interface for all messages of the groups plugin.
- GroupsServerMessage - Interface in org.drasyl.node.plugin.groups.client.message
-
This message is send by the groups server to the client.
- GroupsServerMessageEncoder - Class in org.drasyl.node.plugin.groups.client
- GroupsServerMessageEncoder() - Constructor for class org.drasyl.node.plugin.groups.client.GroupsServerMessageEncoder
- GroupUri - Class in org.drasyl.node.plugin.groups.client
-
This class models the connection/join setting of a group.
- GroupWelcomeMessage - Class in org.drasyl.node.plugin.groups.client.message
-
This message is sent by the groups server to the client when the join to a group was successful.
- GroupWelcomeMessage(Group, Set<IdentityPublicKey>) - Constructor for class org.drasyl.node.plugin.groups.client.message.GroupWelcomeMessage
H
- handleMessage(ChannelHandlerContext, InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
- handleMessage(ChannelHandlerContext, InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
- handleMessage(ChannelHandlerContext, InetSocketAddress, ByteBuf) - Method in interface org.drasyl.handler.remote.portmapper.PortMapping
-
Is called for incoming messages and thus enables this method to react to relevant messages.
- handleMessage(ChannelHandlerContext, InetSocketAddress, ByteBuf) - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerHandler
- hashCode() - Method in class org.drasyl.channel.InetAddressedMessage
- hashCode() - Method in class org.drasyl.channel.OverlayAddressedMessage
- hashCode() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqData
- hashCode() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
- hashCode() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
- hashCode() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- hashCode() - Method in class org.drasyl.handler.remote.protocol.HopCount
- hashCode() - Method in class org.drasyl.handler.remote.protocol.Nonce
- hashCode() - Method in class org.drasyl.handler.stream.MessageChunk
- hashCode() - Method in exception org.drasyl.node.DrasylException
- hashCode() - Method in class org.drasyl.node.event.MessageEvent
- hashCode() - Method in class org.drasyl.node.handler.crypto.AgreementId
- hashCode() - Method in class org.drasyl.node.handler.crypto.ArmHeader
- hashCode() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinFailedEvent
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.event.GroupLeftEvent
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.event.GroupMemberLeftEvent
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.Group
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.GroupsClientConfig
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.message.GroupLeaveMessage
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.message.GroupWelcomeMessage
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- hashCode() - Method in class org.drasyl.node.plugin.groups.manager.data.Group
- hashCode() - Method in class org.drasyl.node.plugin.groups.manager.data.Member
- hashCode() - Method in class org.drasyl.node.plugin.groups.manager.data.Membership
- hashCode() - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
- hashCode() - Method in class org.drasyl.util.ConcurrentReference
- hashCode() - Method in class org.drasyl.util.ImmutableByteArray
- hashCode() - Method in class org.drasyl.util.MaskedString
- hashCode() - Method in class org.drasyl.util.Pair
- hashCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- hashCode() - Method in class org.drasyl.util.Triple
- hashCode() - Method in class org.drasyl.util.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. - HexUtil - Class in org.drasyl.crypto
-
Util class that provides hexadecimal functions for drasyl.
- HopCount - Class in org.drasyl.handler.remote.protocol
-
This is an immutable object.
- hostname() - Method in class org.drasyl.util.OSInfo
- HTTP_HEADER_FIELD_SEPARATOR_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- HTTP_HEADER_SEPARATOR_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
I
- ID_LENGTH - Static variable in class org.drasyl.node.handler.crypto.AgreementId
- identify() - Static method in class org.drasyl.util.Version
-
Retrieves version information of all drasyl artifacts.
- identity - Variable in class org.drasyl.node.DrasylNode
- identity - Variable in class org.drasyl.node.handler.crypto.AbstractArmHandler
- identity() - Method in class org.drasyl.node.DrasylNode
-
Returns the
Identity
of this node. - identity(Identity) - Method in class org.drasyl.node.DrasylConfig.Builder
- Identity - Class in org.drasyl.identity
-
Represents the private identity of a peer (includes the proof of work, the public and private key).
- Identity() - Constructor for class org.drasyl.identity.Identity
- IDENTITY_KEY_AGREEMENT_PUBLIC_KEY - Static variable in class org.drasyl.node.DrasylConfig
- IDENTITY_KEY_AGREEMENT_SECRET_KEY - Static variable in class org.drasyl.node.DrasylConfig
- IDENTITY_PATH - Static variable in class org.drasyl.node.DrasylConfig
- IDENTITY_PROOF_OF_WORK - Static variable in class org.drasyl.node.DrasylConfig
- IDENTITY_PUBLIC_KEY - Static variable in class org.drasyl.node.DrasylConfig
- IDENTITY_SECRET_KEY - Static variable in class org.drasyl.node.DrasylConfig
- IdentityManager - Class in org.drasyl.node.identity
- IdentityMixin - Interface in org.drasyl.node.identity.serialization
-
Provides hints for correct
Identity
JSON (de)serialization. - identityPath(Path) - Method in class org.drasyl.node.DrasylConfig.Builder
- identityProofOfWork(ProofOfWork) - Method in class org.drasyl.node.DrasylConfig.Builder
- identityPublicKey(IdentityPublicKey) - Method in class org.drasyl.node.DrasylConfig.Builder
- IdentityPublicKey - Class in org.drasyl.identity
-
This class models an ed25519 public key that is used as node's unique overlay address.
- IdentityPublicKey() - Constructor for class org.drasyl.identity.IdentityPublicKey
- IdentityPublicKeyMixin - Interface in org.drasyl.node.identity.serialization
-
Provides hints for correct
IdentityPublicKey
JSON (de)serialization. - identitySecretKey(IdentitySecretKey) - Method in class org.drasyl.node.DrasylConfig.Builder
- IdentitySecretKey - Class in org.drasyl.identity
-
This class models a ed25519 private key.
- IdentitySecretKey() - Constructor for class org.drasyl.identity.IdentitySecretKey
- IdentitySecretKeyMixin - Interface in org.drasyl.node.identity.serialization
-
Provides hints for correct
IdentitySecretKey
JSON (de)serialization. - IdleChannelCloser - Class in org.drasyl.node.handler.timeout
-
Closes inactive channels (to free up memory).
- IdleChannelCloser(int) - Constructor for class org.drasyl.node.handler.timeout.IdleChannelCloser
- ignore() - Static method in class org.drasyl.node.behaviour.Behaviors
-
A behavior that ignores every incoming message.
- ignoreContentAfterContinueResponse(Object) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- ImmutableByteArray - Class in org.drasyl.util
-
Immutable byte array implementation, that do not allow any modifications to the original input.
- inboundArmMessage(ChannelHandlerContext, Object) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- inboundArmMessage(ChannelHandlerContext, Object) - Method in class org.drasyl.node.handler.crypto.LongTimeArmHandler
- inboundArmMessage(ChannelHandlerContext, Object) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
- InboundExceptionEvent - Class in org.drasyl.node.event
-
This event signals that the node was unable to process an inbound message.
- InboundExceptionEvent() - Constructor for class org.drasyl.node.event.InboundExceptionEvent
- incNonce() - Method in class org.drasyl.identity.ProofOfWork
- increment() - Method in class org.drasyl.handler.remote.protocol.HopCount
- increment() - Method in class org.drasyl.util.UnsignedInteger
- increment() - Method in class org.drasyl.util.UnsignedShort
- incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
- incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
-
Returns this message with incremented hop count.
- incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
-
Returns a copy of this message with incremented
RemoteMessage.getHopCount()
. - incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
- incrementHopCount() - Method in interface org.drasyl.handler.remote.protocol.FullReadMessage
-
Returns this message with incremented hop count.
- incrementHopCount() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
-
Returns a copy of this message with incremented
RemoteMessage.getHopCount()
. - incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Returns a copy of this message with incremented
RemoteMessage.getHopCount()
. - incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- indexOf(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- InetAddressedMessage<M> - Class in org.drasyl.channel
-
A message that wraps another message with an
InetSocketAddress
. - InetAddressedMessage(M, InetSocketAddress) - Constructor for class org.drasyl.channel.InetAddressedMessage
- InetAddressedMessage(M, InetSocketAddress, InetSocketAddress) - Constructor for class org.drasyl.channel.InetAddressedMessage
- InetSocketAddressUtil - Class in org.drasyl.util
-
Utility class for operations on
URL
s. - info(String) - Method in class org.drasyl.util.logging.JdkLogger
- info(String) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the INFO level.
- info(String) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the INFO level according to the specified format and argument.
- info(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the INFO level according to the specified format and arguments.
- info(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the INFO level according to the specified format and arguments.
- info(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the INFO level with an accompanying message.
- info(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the INFO level according to the specified format and argument supplier.
- info(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the INFO level according to the specified format and argument suppliers.
- info(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the INFO level according to the specified format and argument suppliers.
- info(Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- info(Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the INFO level.
- INFO - Enum constant in enum org.drasyl.util.logging.LogLevel
- initAdapter(URI) - Static method in class org.drasyl.node.plugin.groups.manager.database.DatabaseAdapterManager
- initChannel(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- initChannel(DrasylServerChannel) - Method in class org.drasyl.node.channel.DrasylNodeServerChannelInitializer
- InputStreamHelper - Class in org.drasyl.util
-
Class that provides utils for
InputStream
s. - INSTANCE - Static variable in class org.drasyl.crypto.Crypto
- INSTANCE - Static variable in class org.drasyl.util.logging.JdkLoggerFactory
- IntegerSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
Integer
objects. - IntegerSerializer() - Constructor for class org.drasyl.node.handler.serialization.IntegerSerializer
- intern() - Method in class org.drasyl.identity.IdentityPublicKey
- intern() - Method in class org.drasyl.identity.IdentitySecretKey
- intern() - Method in class org.drasyl.identity.KeyAgreementPublicKey
- intern() - Method in class org.drasyl.identity.KeyAgreementSecretKey
- intern(T) - Method in class org.drasyl.util.InternPool
-
Returns a canonical representation for the object.
- InternetDiscoveryChildrenHandler - Class in org.drasyl.handler.remote.internet
-
Joins one ore multiple super peer(s) as a children.
- InternetDiscoveryChildrenHandler(int, IdentityPublicKey, ProofOfWork, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- InternetDiscoveryChildrenHandler(int, IdentityPublicKey, ProofOfWork, LongSupplier, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- InternetDiscoverySuperPeerHandler - Class in org.drasyl.handler.remote.internet
-
Operates as a super peer allowing other nodes to join as children.
- InternetDiscoverySuperPeerHandler(int, IdentityPublicKey, ProofOfWork, long, long, long, HopCount) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- InternPool<T> - Class in org.drasyl.util
-
Represents a pool of unique objects of type
T
. - InternPool() - Constructor for class org.drasyl.util.InternPool
- INTERVAL - Static variable in class org.drasyl.handler.logging.MessagesThroughputHandler
- INTRA_VM_DISCOVERY_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- IntraVmDiscovery - Class in org.drasyl.handler.discovery
-
Uses shared memory to discover other drasyl nodes running on same JVM.
- IntraVmDiscovery(int) - Constructor for class org.drasyl.handler.discovery.IntraVmDiscovery
- intraVmDiscoveryEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- intValue() - Method in class org.drasyl.identity.ProofOfWork
-
Returns the value of this
ProofOfWork
as anint
. - intValue() - Method in interface org.drasyl.node.identity.serialization.ProofOfWorkMixin
- InvalidMessageFormatException - Exception in org.drasyl.handler.remote.protocol
-
This exception is thrown when reading a
RemoteMessage
fails due to an invalid format. - InvalidMessageFormatException() - Constructor for exception org.drasyl.handler.remote.protocol.InvalidMessageFormatException
- InvalidMessageFormatException(String) - Constructor for exception org.drasyl.handler.remote.protocol.InvalidMessageFormatException
- InvalidMessageFormatException(String, Throwable) - Constructor for exception org.drasyl.handler.remote.protocol.InvalidMessageFormatException
- InvalidMessageFormatException(Throwable) - Constructor for exception org.drasyl.handler.remote.protocol.InvalidMessageFormatException
- InvalidProofOfWorkException(RemoteMessage) - Constructor for exception org.drasyl.handler.remote.InvalidProofOfWorkFilter.InvalidProofOfWorkException
- InvalidProofOfWorkFilter - Class in org.drasyl.handler.remote
-
This handler filters out all messages received with invalid proof of work.
- InvalidProofOfWorkFilter() - Constructor for class org.drasyl.handler.remote.InvalidProofOfWorkFilter
- InvalidProofOfWorkFilter.InvalidProofOfWorkException - Exception in org.drasyl.handler.remote
-
Signals that a message was received with an invalid
ProofOfWork
and was dropped. - isActive() - Method in class org.drasyl.channel.DrasylChannel
- isActive() - Method in class org.drasyl.channel.DrasylServerChannel
- isAggregated(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- isApiEnabled() - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
- isClosed() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- isCompatible(EventLoop) - Method in class org.drasyl.channel.DrasylChannel
- isCompatible(EventLoop) - Method in class org.drasyl.channel.DrasylServerChannel
- isConnected() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- isContentLengthInvalid(MessageChunk, int) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- isContentMessage(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- isDebugEnabled() - Method in class org.drasyl.util.logging.JdkLogger
- isDebugEnabled() - Method in interface org.drasyl.util.logging.Logger
-
Is the logger instance enabled for the DEBUG level?
- isDebugEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
- isEmpty() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- isEmpty() - Method in class org.drasyl.util.Worm
-
If a value is not present, returns
true
, otherwisefalse
. - isEnabled(LogLevel) - Method in class org.drasyl.util.logging.JdkLogger
- isEnabled(LogLevel) - Method in interface org.drasyl.util.logging.Logger
-
Is the logger instance enabled for the specified
level
? - isEndOfInput() - Method in class org.drasyl.handler.stream.ChunkedMessageInput
- isErrorEnabled() - Method in class org.drasyl.util.logging.JdkLogger
- isErrorEnabled() - Method in interface org.drasyl.util.logging.Logger
-
Is the logger instance enabled for the ERROR level?
- isErrorEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
- isIdentityFilePresent(Path) - Static method in class org.drasyl.node.identity.IdentityManager
-
Returns
true
if the identity filepath
exists. - isInfoEnabled() - Method in class org.drasyl.util.logging.JdkLogger
- isInfoEnabled() - Method in interface org.drasyl.util.logging.Logger
-
Is the logger instance enabled for the INFO level?
- isInfoEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
- isIntraVmDiscoveryEnabled() - Method in class org.drasyl.node.DrasylConfig
- isLastContentMessage(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- isOpen() - Method in class org.drasyl.channel.DrasylChannel
- isOpen() - Method in class org.drasyl.channel.DrasylServerChannel
- isPresent() - Method in class org.drasyl.util.Worm
-
If a value is present, returns
true
, otherwisefalse
. - isReadOnly() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- isRemoteEnabled() - Method in class org.drasyl.node.DrasylConfig
- isRemoteExposeEnabled() - Method in class org.drasyl.node.DrasylConfig
- isRemoteLocalHostDiscoveryEnabled() - Method in class org.drasyl.node.DrasylConfig
- isRemoteLocalHostDiscoveryWatchEnabled() - Method in class org.drasyl.node.DrasylConfig
- isRemoteLocalNetworkDiscoveryEnabled() - Method in class org.drasyl.node.DrasylConfig
- isRemoteMessageArmApplicationEnabled() - Method in class org.drasyl.node.DrasylConfig
- isRemoteMessageArmProtocolEnabled() - Method in class org.drasyl.node.DrasylConfig
- isRemoteSuperPeerEnabled() - Method in class org.drasyl.node.DrasylConfig
- isRemoteTcpFallbackEnabled() - Method in class org.drasyl.node.DrasylConfig
- isRenew() - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- isRenewable() - Method in class org.drasyl.node.handler.crypto.Agreement
- isStale() - Method in class org.drasyl.node.handler.crypto.Agreement
- isStartMessage(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- isTraceEnabled() - Method in class org.drasyl.util.logging.JdkLogger
- isTraceEnabled() - Method in interface org.drasyl.util.logging.Logger
-
Is the logger instance enabled for the TRACE level?
- isTraceEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
- isUnexpectedMessage(Object) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- isValid() - Method in class org.drasyl.identity.Identity
-
Validates the identity by checking whether the proof of work matches the public key.
- isValid() - Method in interface org.drasyl.node.identity.serialization.IdentityMixin
- isValid(int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- isValid(DrasylAddress, byte) - Method in class org.drasyl.identity.ProofOfWork
-
Checks if the current proof of work is valid for given public key and difficulty.
- isValidNonce(ImmutableByteArray) - Static method in class org.drasyl.handler.remote.protocol.Nonce
-
Checks if
bytes
is a valid value. - isValidNonSpecialIPAddress(InetAddress) - Static method in class org.drasyl.util.network.NetworkUtil
-
Check if the given address is a normal IP address that is neither a loopback, link local nor multicast address.
- isValidPort(int) - Static method in class org.drasyl.util.network.NetworkUtil
-
Checks if a port is valid or not.
- isWarnEnabled() - Method in class org.drasyl.util.logging.JdkLogger
- isWarnEnabled() - Method in interface org.drasyl.util.logging.Logger
-
Is the logger instance enabled for the WARN level?
- isWarnEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
- isWebSocketNonSecureURI(URI) - Static method in class org.drasyl.util.WebSocketUtil
- isWebSocketSecureURI(URI) - Static method in class org.drasyl.util.WebSocketUtil
- isWebSocketURI(URI) - Static method in class org.drasyl.util.WebSocketUtil
- isWrapperFor(Class<?>) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- italic() - Method in class org.drasyl.util.Ansi
- iterator() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
J
- JACKSON_MAPPER - Static variable in class org.drasyl.node.JSONUtil
- JACKSON_READER - Static variable in class org.drasyl.node.JSONUtil
- JACKSON_WRITER - Static variable in class org.drasyl.node.JSONUtil
- JacksonCodec<T> - Class in org.drasyl.handler.codec
- JacksonCodec(ObjectMapper, Class<T>) - Constructor for class org.drasyl.handler.codec.JacksonCodec
- JacksonCodec(Class<T>) - Constructor for class org.drasyl.handler.codec.JacksonCodec
- JacksonJsonSerializer - Class in org.drasyl.node.handler.serialization
-
A serializer based on the Jackson Library for converting java objects to and from JSON.
- JacksonJsonSerializer() - Constructor for class org.drasyl.node.handler.serialization.JacksonJsonSerializer
- JavaSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
Serializable
objects. - JavaSerializer() - Constructor for class org.drasyl.node.handler.serialization.JavaSerializer
- javaVersion() - Static method in class org.drasyl.util.PlatformDependent
-
Returns the Java version.
- JDBCDatabaseAdapter - Class in org.drasyl.node.plugin.groups.manager.database.jdbc
-
DatabaseAdapter
implementation that supports SQL databases. - JDBCDatabaseAdapter(URI) - Constructor for class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- JdkLogger - Class in org.drasyl.util.logging
-
java.util.logging logger.
- JdkLogger(Logger) - Constructor for class org.drasyl.util.logging.JdkLogger
- JdkLoggerFactory - Class in org.drasyl.util.logging
-
Logger factory which creates a java.util.logging logger.
- JSONUtil - Class in org.drasyl.node
-
Holder for the JSON serializer and JSON deserializer.
K
- Key - Interface in org.drasyl.identity
- KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.IdentityPublicKey
- KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.IdentitySecretKey
- KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.KeyAgreementPublicKey
- KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.KeyAgreementSecretKey
- KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.IdentityPublicKey
- KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.IdentitySecretKey
- KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.KeyAgreementPublicKey
- KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.KeyAgreementSecretKey
- keyAgreementPublicKey(KeyAgreementPublicKey) - Method in class org.drasyl.node.DrasylConfig.Builder
- KeyAgreementPublicKey - Class in org.drasyl.identity
-
This class models a curve25519 public key that is used for x25519 key exchange.
- KeyAgreementPublicKey() - Constructor for class org.drasyl.identity.KeyAgreementPublicKey
- KeyAgreementPublicKeyMixin - Interface in org.drasyl.node.identity.serialization
-
Provides hints for correct
KeyAgreementPublicKey
JSON (de)serialization. - keyAgreementSecretKey(KeyAgreementSecretKey) - Method in class org.drasyl.node.DrasylConfig.Builder
- KeyAgreementSecretKey - Class in org.drasyl.identity
-
This class models a curve25519 private key that is used for x25519 key exchange.
- KeyAgreementSecretKey() - Constructor for class org.drasyl.identity.KeyAgreementSecretKey
- KeyAgreementSecretKeyMixin - Interface in org.drasyl.node.identity.serialization
-
Provides hints for correct
KeyAgreementSecretKey
JSON (de)serialization. - KeyExchangeMessage - Class in org.drasyl.node.handler.crypto
- KeyExchangeMessage() - Constructor for class org.drasyl.node.handler.crypto.KeyExchangeMessage
- KeyMixin - Interface in org.drasyl.node.identity.serialization
-
Provides hints for correct
Key
JSON (de)serialization. - KeyMixin.BytesToHexStringDeserializer - Class in org.drasyl.node.identity.serialization
-
Deserializes a given hexadecimal string to byte array.
- KeyMixin.BytesToHexStringSerializer - Class in org.drasyl.node.identity.serialization
-
Serializes a given byte array as hexadecimal string.
- KeyPair<P extends PublicKey,
S extends SecretKey> - Class in org.drasyl.identity -
This class is a simple holder for a key pair (a
IdentityPublicKey
and aIdentitySecretKey
). - KeyPair() - Constructor for class org.drasyl.identity.KeyPair
- KeyPairMixin - Interface in org.drasyl.node.identity.serialization
-
Provides hints for correct
KeyPair
JSON (de)serialization.
L
- LargeByteBufToChunkedMessageEncoder - Class in org.drasyl.handler.stream
-
Encodes
ByteBuf
s exceedingLargeByteBufToChunkedMessageEncoder.maxChunkLength
toChunkedMessageInput
s. - LargeByteBufToChunkedMessageEncoder(int, int) - Constructor for class org.drasyl.handler.stream.LargeByteBufToChunkedMessageEncoder
- lastIndexOf(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- LastMessageChunk - Class in org.drasyl.handler.stream
-
Represents the very last chunk of a message that is too large to be transmitted as a whole.
- LastMessageChunk(byte, byte, ByteBuf) - Constructor for class org.drasyl.handler.stream.LastMessageChunk
- lastStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
-
This stage emits
Event
s toDrasylNodeChannelInitializer.node
. - length() - Method in class org.drasyl.handler.stream.ChunkedMessageInput
- LENGTH - Static variable in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
- LENGTH - Static variable in class org.drasyl.handler.remote.protocol.DiscoveryMessage
- LENGTH - Static variable in class org.drasyl.handler.remote.protocol.PrivateHeader
- LENGTH - Static variable in class org.drasyl.handler.remote.protocol.PublicHeader
- LENGTH - Static variable in class org.drasyl.handler.remote.protocol.UniteMessage
- LENGTH - Static variable in class org.drasyl.node.handler.crypto.AcknowledgementMessage
- LENGTH - Static variable in class org.drasyl.node.handler.crypto.ArmMessage
- LENGTH - Static variable in class org.drasyl.node.handler.crypto.KeyExchangeMessage
- LibraryLoader - Class in org.drasyl.crypto.loader
-
Helper class to load the libsodium library from the preferred location.
- LibraryLoader(Class) - Constructor for class org.drasyl.crypto.loader.LibraryLoader
- LIFETIME_LENGTH - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- LIFETIME_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- listIterator() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- listIterator(int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- loadLibrary(String, String) - Method in class org.drasyl.crypto.loader.LibraryLoader
- loadLibraryFromFileSystem(String, Class) - Static method in class org.drasyl.crypto.loader.NativeLoader
-
Loads library from current file system
- loadLibraryFromJar(String, Class) - Static method in class org.drasyl.crypto.loader.NativeLoader
-
Loads library from current JAR archive
- loadSystemLibrary(String) - Method in class org.drasyl.crypto.loader.LibraryLoader
- LOCAL_ADDRESS_FOR_REMOTE_TIMEOUT - Static variable in class org.drasyl.util.network.NetworkUtil
- localAddress0() - Method in class org.drasyl.channel.DrasylChannel
- localAddress0() - Method in class org.drasyl.channel.DrasylServerChannel
- localAddress0() - Method in class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
- LocalHostDiscovery - Class in org.drasyl.handler.remote
-
Uses the file system to discover other drasyl nodes running on the local computer.
- LocalHostDiscovery(int, boolean, InetAddress, Duration, Path) - Constructor for class org.drasyl.handler.remote.LocalHostDiscovery
- LocalHostPeerInformation - Class in org.drasyl.handler.remote
- LocalHostPeerInformation(Set<InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.LocalHostPeerInformation
- LocalNetworkDiscovery - Class in org.drasyl.handler.remote
-
This handler, along with the
UdpMulticastServer
, is used to discover other nodes on the local network. - LocalNetworkDiscovery(int, Duration, Duration, IdentityPublicKey, ProofOfWork) - Constructor for class org.drasyl.handler.remote.LocalNetworkDiscovery
- LocalNetworkDiscovery(Map<DrasylAddress, LocalNetworkDiscovery.Peer>, IdentityPublicKey, ProofOfWork, Duration, Duration, int, Future<?>) - Constructor for class org.drasyl.handler.remote.LocalNetworkDiscovery
- log(LogLevel, String) - Method in class org.drasyl.util.logging.JdkLogger
- log(LogLevel, String) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the specified
level
level. - log(LogLevel, String, Object) - Method in class org.drasyl.util.logging.JdkLogger
- log(LogLevel, String, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the specified
level
level according to the specified format and argument. - log(LogLevel, String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
- log(LogLevel, String, Object...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the specified
level
level according to the specified format and arguments. - log(LogLevel, String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- log(LogLevel, String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the specified
level
level according to the specified format and arguments. - log(LogLevel, String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- log(LogLevel, String, Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the specified
level
level with an accompanying message. - log(LogLevel, String, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- log(LogLevel, String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the specified
level
level according to the specified format and argument supplier. - log(LogLevel, String, Supplier<Object>...) - Method in class org.drasyl.util.logging.JdkLogger
- log(LogLevel, String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the specified
level
level according to the specified format and argument suppliers. - log(LogLevel, String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- log(LogLevel, String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the specified
level
level according to the specified format and argument suppliers. - log(LogLevel, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- log(LogLevel, Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the specified
level
level. - Logger - Interface in org.drasyl.util.logging
- LoggerFactory - Class in org.drasyl.util.logging
-
Provides loggers.
- LoggerFactory() - Constructor for class org.drasyl.util.logging.LoggerFactory
- LoggingUtil - Class in org.drasyl.util
-
Utility class for logging-related operations.
- LogLevel - Enum in org.drasyl.util.logging
-
Defines the set of logging levels.
- LONG_TIME - Enum constant in enum org.drasyl.node.handler.crypto.PFSArmHandler.State
- LongSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
Long
objects. - LongSerializer() - Constructor for class org.drasyl.node.handler.serialization.LongSerializer
- LongTimeArmHandler - Class in org.drasyl.node.handler.crypto
-
Arms (encrypt) outbound and disarms (decrypt) inbound messages.
- LongTimeArmHandler(Duration, int, Identity, IdentityPublicKey) - Constructor for class org.drasyl.node.handler.crypto.LongTimeArmHandler
- LongTimeArmHandler(Crypto, Duration, int, Identity, IdentityPublicKey) - Constructor for class org.drasyl.node.handler.crypto.LongTimeArmHandler
- LongTimeArmHandler(Crypto, Identity, IdentityPublicKey, Session) - Constructor for class org.drasyl.node.handler.crypto.LongTimeArmHandler
- LongTimeEncryptionEvent - Class in org.drasyl.node.event
-
This event signals, that currently all messages from and to the
#peer
are only encrypted with a long time key. - LongTimeEncryptionEvent() - Constructor for class org.drasyl.node.event.LongTimeEncryptionEvent
M
- MAGENTA - Enum constant in enum org.drasyl.util.Ansi.Color
- MAGIC_NUMBER - Static variable in interface org.drasyl.handler.remote.protocol.RemoteMessage
- MAGIC_NUMBER - Static variable in class org.drasyl.node.plugin.groups.client.GroupsClientMessageEncoder
- MAGIC_NUMBER - Static variable in class org.drasyl.node.plugin.groups.client.GroupsServerMessageEncoder
- MAGIC_NUMBER_ACK - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- MAGIC_NUMBER_ACK - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
- MAGIC_NUMBER_CONTENT - Static variable in class org.drasyl.handler.stream.MessageChunkEncoder
- MAGIC_NUMBER_DATA - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- MAGIC_NUMBER_DATA - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
- MAGIC_NUMBER_FIRST_DATA - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- MAGIC_NUMBER_LAST - Static variable in class org.drasyl.handler.stream.MessageChunkEncoder
- MAGIC_NUMBER_LAST_DATA - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- MAGIC_NUMBER_RST - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- MagicNumberMissmatchException - Exception in org.drasyl.handler.remote.protocol
-
This exception is thrown when reading a
RemoteMessage
fails due to a mismatched magic number (expected magic number:RemoteMessage.MAGIC_NUMBER
). - MagicNumberMissmatchException() - Constructor for exception org.drasyl.handler.remote.protocol.MagicNumberMissmatchException
- main(String[]) - Static method in class org.drasyl.util.Version
- MALFORMED_OPTION - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- MALFORMED_REQUEST - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- MAP_OPCODE - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- MAPPING_LIFETIME - Static variable in class org.drasyl.handler.remote.portmapper.PortMapper
- MAPPING_NONCE_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- MAPPING_TCP_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- MAPPING_TCP_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- MAPPING_UDP_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- MAPPING_UDP_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- MappingEntry(int, int, InetAddress, String, int) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- MappingResponseMessage(PcpPortUtil.ResultCode, long, long, byte[], int, int, int, InetAddress) - Constructor for class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- MappingUdpResponseMessage(NatPmpUtil.ResultCode, int, int, int, long) - Constructor for class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- MaskedString - Class in org.drasyl.util
-
Represents a confidential string (like a password or a secret token) whose content is masked in
MaskedString.toString()
. - maskSecret(Object) - Static method in class org.drasyl.util.SecretUtil
-
This method replaces each character in the return of
secret
'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
- matchedFromByteArray(byte[], Class<byte[]>) - Method in class org.drasyl.node.handler.serialization.ByteArraySerializer
- matchedFromByteArray(byte[], Class<Message>) - Method in class org.drasyl.node.handler.serialization.ProtobufSerializer
- matchedFromByteArray(byte[], Class<Serializable>) - Method in class org.drasyl.node.handler.serialization.JavaSerializer
- matchedFromByteArray(byte[], Class<Boolean>) - Method in class org.drasyl.node.handler.serialization.BooleanSerializer
- matchedFromByteArray(byte[], Class<Byte>) - Method in class org.drasyl.node.handler.serialization.ByteSerializer
- matchedFromByteArray(byte[], Class<Character>) - Method in class org.drasyl.node.handler.serialization.CharacterSerializer
- matchedFromByteArray(byte[], Class<Double>) - Method in class org.drasyl.node.handler.serialization.DoubleSerializer
- matchedFromByteArray(byte[], Class<Float>) - Method in class org.drasyl.node.handler.serialization.FloatSerializer
- matchedFromByteArray(byte[], Class<Integer>) - Method in class org.drasyl.node.handler.serialization.IntegerSerializer
- matchedFromByteArray(byte[], Class<Long>) - Method in class org.drasyl.node.handler.serialization.LongSerializer
- matchedFromByteArray(byte[], Class<Short>) - Method in class org.drasyl.node.handler.serialization.ShortSerializer
- matchedFromByteArray(byte[], Class<String>) - Method in class org.drasyl.node.handler.serialization.StringSerializer
- matchedToByArray(byte[]) - Method in class org.drasyl.node.handler.serialization.ByteArraySerializer
- matchedToByArray(Message) - Method in class org.drasyl.node.handler.serialization.ProtobufSerializer
- matchedToByArray(Serializable) - Method in class org.drasyl.node.handler.serialization.JavaSerializer
- matchedToByArray(Boolean) - Method in class org.drasyl.node.handler.serialization.BooleanSerializer
- matchedToByArray(Byte) - Method in class org.drasyl.node.handler.serialization.ByteSerializer
- matchedToByArray(Character) - Method in class org.drasyl.node.handler.serialization.CharacterSerializer
- matchedToByArray(Double) - Method in class org.drasyl.node.handler.serialization.DoubleSerializer
- matchedToByArray(Float) - Method in class org.drasyl.node.handler.serialization.FloatSerializer
- matchedToByArray(Integer) - Method in class org.drasyl.node.handler.serialization.IntegerSerializer
- matchedToByArray(Long) - Method in class org.drasyl.node.handler.serialization.LongSerializer
- matchedToByArray(Short) - Method in class org.drasyl.node.handler.serialization.ShortSerializer
- matchedToByArray(String) - Method in class org.drasyl.node.handler.serialization.StringSerializer
- max(Duration, Duration) - Static method in class org.drasyl.util.DurationUtil
-
Returns the greater of two
Duration
values. - MAX_HOP_COUNT - Static variable in class org.drasyl.handler.remote.protocol.HopCount
- MAX_PORT_NUMBER - Static variable in class org.drasyl.util.network.NetworkUtil
-
The maximum server port number.
- MAX_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
- MAX_VALUE - Static variable in class org.drasyl.util.UnsignedShort
- MaxLengthFrameDecoder - Class in org.drasyl.handler.codec
-
A decoder that splits received
ByteBuf
s into frames not larger thenMaxLengthFrameDecoder.maxFrameLength
. - MaxLengthFrameDecoder(int) - Constructor for class org.drasyl.handler.codec.MaxLengthFrameDecoder
-
Creates a new instance.
- maxTimeOffsetMillis - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- member - Variable in class org.drasyl.node.plugin.groups.client.event.GroupMemberLeftEvent
- member - Variable in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- Member - Class in org.drasyl.node.plugin.groups.manager.data
-
Class is used to model the state of a member.
- MemberJoinedMessage - Class in org.drasyl.node.plugin.groups.client.message
-
This message is sent by the groups server to the client when a new member has joined a group.
- MemberJoinedMessage(IdentityPublicKey, Group) - Constructor for class org.drasyl.node.plugin.groups.client.message.MemberJoinedMessage
- MemberLeftMessage - Class in org.drasyl.node.plugin.groups.client.message
-
This message is sent by the groups server to the client when a member has left a group.
- MemberLeftMessage(IdentityPublicKey, Group) - Constructor for class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- Membership - Class in org.drasyl.node.plugin.groups.manager.data
-
Class is used to model the state of a group member.
- 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
. - MESSAGE_BUFFER_SIZE - Static variable in class org.drasyl.node.DrasylConfig
- messageAdapter(Class<M>, BiFunction<DrasylAddress, M, Object>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Add a new case to the event handling matching events of type
MessageEvent
withMessageEvent.getPayload()
matchingmessageType
. - messageAdapter(Class<M>, Function<M, Object>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Add a new case to the event handling matching events of type
MessageEvent
withMessageEvent.getPayload()
matchingmessageType
. - messageBufferSize(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- MessageChunk - Class in org.drasyl.handler.stream
-
Represents a chunk of a message that is too large to be transmitted as a whole.
- MessageChunk(byte, byte, ByteBuf) - Constructor for class org.drasyl.handler.stream.MessageChunk
- MessageChunkDecoder - Class in org.drasyl.handler.stream
-
Decodes
ByteBuf
s with correct magic number toMessageChunk
s. - MessageChunkDecoder() - Constructor for class org.drasyl.handler.stream.MessageChunkDecoder
- MessageChunkEncoder - Class in org.drasyl.handler.stream
-
Encodes
MessageChunk
s toByteBuf
s. - MessageChunkEncoder() - Constructor for class org.drasyl.handler.stream.MessageChunkEncoder
- MessageChunksBuffer - Class in org.drasyl.handler.stream
-
Buffers until all
MessageChunk
s belonging to the same message have been collected, then passes them in the correct order. - MessageChunksBuffer(int, int) - Constructor for class org.drasyl.handler.stream.MessageChunksBuffer
-
Creates a new instance.
- MessageChunksBufferInputList - Class in org.drasyl.handler.stream
-
Special
List
implementation which is used within ourMessageChunksBuffer
. - MessageChunksBufferInputList(int) - Constructor for class org.drasyl.handler.stream.MessageChunksBufferInputList
- MessageEvent - Class in org.drasyl.node.event
-
This event signals that the node has received a message addressed to it.
- MessageEvent() - Constructor for class org.drasyl.node.event.MessageEvent
- MessageSerializer - Class in org.drasyl.node.handler.serialization
-
This handler serializes messages to
ByteBuf
and vice versa. - MessageSerializer(DrasylConfig) - Constructor for class org.drasyl.node.handler.serialization.MessageSerializer
- MessagesThroughputHandler - Class in org.drasyl.handler.logging
-
Helper class to visualize the number of inbound and outbound messages per second.
- MessagesThroughputHandler() - Constructor for class org.drasyl.handler.logging.MessagesThroughputHandler
-
Creates a new handler which visualizes the number of inbound and outbound messages per second.
- MessagesThroughputHandler(BiPredicate<SocketAddress, Object>, BiPredicate<SocketAddress, Object>) - Constructor for class org.drasyl.handler.logging.MessagesThroughputHandler
-
Creates a new handler which visualizes the number of inbound and outbound messages per second, consumes outbound message matching
consumeOutbound
, and inbound messages matchingconsumeInbound
. - MessagesThroughputHandler(BiPredicate<SocketAddress, Object>, BiPredicate<SocketAddress, Object>, EventLoopGroup) - Constructor for class org.drasyl.handler.logging.MessagesThroughputHandler
-
Creates a new handler which visualizes the number of inbound and outbound messages per second, consumes outbound message matching
consumeOutbound
, and inbound messages matchingconsumeInbound
. - metadata() - Method in class org.drasyl.channel.DrasylChannel
- min(Duration, Duration) - Static method in class org.drasyl.util.DurationUtil
-
Returns the smaller of two
Duration
values. - MIN_DERIVED_PORT - Static variable in class org.drasyl.node.channel.DrasylNodeServerChannelInitializer
- MIN_HOP_COUNT - Static variable in class org.drasyl.handler.remote.protocol.HopCount
- MIN_LENGTH - Static variable in class org.drasyl.node.handler.crypto.ArmHeader
- MIN_LENGTH - Static variable in class org.drasyl.node.handler.serialization.SerializedPayload
- MIN_MESSAGE_LENGTH - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- MIN_MESSAGE_LENGTH - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
- MIN_MESSAGE_LENGTH - Static variable in class org.drasyl.handler.stream.MessageChunkEncoder
- MIN_PORT_NUMBER - Static variable in class org.drasyl.util.network.NetworkUtil
-
The minimum server port number.
- MIN_TIMEOUT - Static variable in class org.drasyl.node.plugin.groups.client.GroupUri
- MIN_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
- MIN_VALUE - Static variable in class org.drasyl.util.UnsignedShort
- msgId() - Method in class org.drasyl.handler.stream.MessageChunk
- MULTICAST_ADDRESS - Static variable in class org.drasyl.handler.remote.UdpMulticastServer
- MULTICAST_INTERFACE - Static variable in class org.drasyl.handler.remote.UdpMulticastServer
- MURMUR3_128 - Static variable in class org.drasyl.crypto.Hashing
- MURMUR3_32 - Static variable in class org.drasyl.crypto.Hashing
- murmur3x32(byte[]...) - Static method in class org.drasyl.crypto.Hashing
-
Generates a MurMur3x32 hash of the input.
- murmur3x32Hex(byte[]) - Static method in class org.drasyl.crypto.Hashing
-
Generates a hexadecimal representation of the MurMur3x32 hash of the input.
- murmur3x32Hex(String) - Static method in class org.drasyl.crypto.Hashing
-
Generates a hexadecimal representation of the MurMur3x32 hash of the input.
- murmur3x64Hex(byte[]) - Static method in class org.drasyl.crypto.Hashing
-
Generates a hexadecimal representation of the MurMur3x64 hash of the input.
- murmur3x64Hex(String) - Static method in class org.drasyl.crypto.Hashing
-
Generates a hexadecimal representation of the MurMur3x64 hash of the input.
- MUST_BE_NON_NEGATIVE - Static variable in class org.drasyl.util.Preconditions
- MUST_BE_POSITIVE - Static variable in class org.drasyl.util.Preconditions
- MUST_BE_POWER_OF_TWO - Static variable in class org.drasyl.util.Preconditions
- myNetworkId - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- myNetworkId - Variable in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- myProofOfWork - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- myProofOfWork - Variable in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- myPublicKey - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- myPublicKey - Variable in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
N
- name() - Method in class org.drasyl.util.logging.JdkLogger
- name() - Method in interface org.drasyl.util.logging.Logger
-
Return the name of this
Logger
instance. - NAT_PMP_PORT - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- NAT_PMP_VERSION - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- NATIVE_FOLDER_PATH_PREFIX - Static variable in class org.drasyl.crypto.loader.NativeLoader
- NativeLoader - Class in org.drasyl.crypto.loader
-
This class helps to load native libraries, used with JNA.
- nativeSQL(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- NatPmpPortMapping - Class in org.drasyl.handler.remote.portmapper
-
Port Forwarding on NAT-enabled routers via NAT-PMP.
- NatPmpPortMapping() - Constructor for class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
- NatPmpPortMapping(AtomicBoolean, AtomicBoolean, int, InetSocketAddress, InetAddress, Future<?>, Future<?>, Runnable, Supplier<InetAddress>) - Constructor for class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
- NatPmpUtil - Class in org.drasyl.util.protocol
-
Utility class for NAT Port Mapping Protocol (NAT-PMP)-related stuff.
- NatPmpUtil.ExternalAddressResponseMessage - Class in org.drasyl.util.protocol
- NatPmpUtil.MappingUdpResponseMessage - Class in org.drasyl.util.protocol
- NatPmpUtil.Message - Interface in org.drasyl.util.protocol
- NatPmpUtil.ResultCode - Enum in org.drasyl.util.protocol
- NETWORK_FAILURE - Enum constant in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- NETWORK_FAILURE - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- NETWORK_ID - Static variable in class org.drasyl.node.DrasylConfig
- networkId(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- NetworkUtil - Class in org.drasyl.util.network
-
Utility class for network-related operations.
- newBehaviorBuilder() - Method in class org.drasyl.node.behaviour.BehavioralDrasylNode
-
Creates a new
Behavior.BehaviorBuilder
to build a newBehavior
for inbound message/event handling. - newBuilder() - Static method in class org.drasyl.node.DrasylConfig
-
Creates a new builder to build a custom
DrasylConfig
. - newBuilder() - Static method in class org.drasyl.node.plugin.groups.client.GroupsClientConfig
-
Returns a specific builder for a
GroupsClientConfig
. - newBuilder() - Static method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
-
Returns a specific builder for a
GroupsManagerConfig
. - newBuilder(DrasylConfig) - Static method in class org.drasyl.node.DrasylConfig
- newBuilder(GroupsClientConfig) - Static method in class org.drasyl.node.plugin.groups.client.GroupsClientConfig
-
Returns a specific builder for a
GroupsClientConfig
. - newBuilder(GroupsManagerConfig) - Static method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
-
Returns a specific builder for a
GroupsManagerConfig
. - newContinueResponse(MessageChunk, int, ChannelPipeline) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- newLogger(String) - Method in class org.drasyl.util.logging.JdkLoggerFactory
- newLogger(String) - Method in class org.drasyl.util.logging.LoggerFactory
- newLogger(String) - Method in class org.drasyl.util.logging.Slf4JLoggerFactory
- newUnsafe() - Method in class org.drasyl.channel.DrasylChannel
- NO_RESOURCES - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- Node - Class in org.drasyl.node.event
-
Used by
Event
to describe an event related to the local Node (e.g. - Node() - Constructor for class org.drasyl.node.event.Node
- NodeDownEvent - Class in org.drasyl.node.event
-
This event signals that the node is shut down.
- NodeDownEvent() - Constructor for class org.drasyl.node.event.NodeDownEvent
- NodeEvent - Interface in org.drasyl.node.event
-
Events that refer to a
Node
. - NodeNormalTerminationEvent - Class in org.drasyl.node.event
-
This events signals that the node has terminated normally.
- NodeNormalTerminationEvent() - Constructor for class org.drasyl.node.event.NodeNormalTerminationEvent
- NodeOfflineEvent - Class in org.drasyl.node.event
-
This event signals that the node is currently not connected to a super peer.
- NodeOfflineEvent() - Constructor for class org.drasyl.node.event.NodeOfflineEvent
- NodeOnlineEvent - Class in org.drasyl.node.event
-
This event signals that the node is currently connected to a super peer.
- NodeOnlineEvent() - Constructor for class org.drasyl.node.event.NodeOnlineEvent
- NodeUnrecoverableErrorEvent - Class in org.drasyl.node.event
-
This events signals that the node encountered an unrecoverable error.
- NodeUnrecoverableErrorEvent() - Constructor for class org.drasyl.node.event.NodeUnrecoverableErrorEvent
- NodeUpEvent - Class in org.drasyl.node.event
-
This event signals that the node has been started.
- NodeUpEvent() - Constructor for class org.drasyl.node.event.NodeUpEvent
- Nonce - Class in org.drasyl.handler.remote.protocol
-
A
RemoteMessage
is uniquely identified by itsNonce.NONCE_LENGTH
bytes long nonce. - NONCE_LENGTH - Static variable in class org.drasyl.handler.remote.protocol.Nonce
- NonNull - Annotation Type in org.drasyl.annotation
-
A common annotation to declare that annotated elements cannot be
null
. - noop() - Static method in class org.drasyl.node.handler.serialization.Serialization
-
This method does nothing.
- NOT_AUTHORIZED - Enum constant in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- NOT_AUTHORIZED - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- nthElement(Set<E>, int) - Static method in class org.drasyl.util.SetUtil
-
Returns the
n
-th element from setset
. - Null - Enum in org.drasyl.node
-
As
null
values cannot be processed by aChannel
, we need a special type representation this kind of messages. - NULL - Enum constant in enum org.drasyl.node.Null
- NULL_SERIALIZER - Static variable in class org.drasyl.node.handler.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.node.handler.serialization
-
This Serializer (de)serializes
null
only. - NullSerializer() - Constructor for class org.drasyl.node.handler.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
- of() - Static method in class org.drasyl.handler.remote.protocol.HopCount
-
Creates a new minimal hop count value.
- of() - Static method in class org.drasyl.node.DrasylConfig
- of() - Static method in class org.drasyl.util.ConcurrentReference
-
Creates a new empty write many read many memory.
- of() - Static method in class org.drasyl.util.Worm
-
Creates a new
Worm
object with not set value. - of(byte) - Static method in class org.drasyl.handler.remote.protocol.HopCount
-
Creates a new hop count value with given value.
- of(byte[]) - Static method in class org.drasyl.handler.remote.protocol.Nonce
- of(byte[]) - Static method in class org.drasyl.identity.IdentityPublicKey
-
Converts a byte[] into a
IdentityPublicKey
. - of(byte[]) - Static method in class org.drasyl.identity.IdentitySecretKey
-
Converts a byte[] into a
IdentitySecretKey
. - of(byte[]) - Static method in class org.drasyl.identity.KeyAgreementPublicKey
-
Converts a byte[] into a
KeyAgreementPublicKey
. - of(byte[]) - Static method in class org.drasyl.identity.KeyAgreementSecretKey
-
Converts a byte[] into a
KeyAgreementSecretKey
. - of(byte[]) - Static method in class org.drasyl.node.handler.crypto.AgreementId
- of(byte[]) - Static method in class org.drasyl.util.ImmutableByteArray
-
Copy the given
array
and stores it as immutable object. - of(byte[]) - Static method in class org.drasyl.util.UnsignedInteger
-
Creates a new
UnsignedInteger
. - of(byte[]) - Static method in class org.drasyl.util.UnsignedShort
-
Creates a new
UnsignedShort
. - of(byte[], byte[]) - Static method in class org.drasyl.crypto.sodium.SessionPair
- of(int) - Static method in class org.drasyl.handler.remote.protocol.HopCount
-
Creates a new hop count value with given value.
- of(int) - Static method in class org.drasyl.identity.ProofOfWork
- of(int) - Static method in interface org.drasyl.node.identity.serialization.ProofOfWorkMixin
- of(int) - Static method in class org.drasyl.util.UnsignedShort
-
Creates a new
UnsignedShort
. - of(int, String) - Static method in class org.drasyl.identity.Identity
- of(int, String, String) - Static method in class org.drasyl.identity.Identity
- of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, long) - Static method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
- of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, long) - Static method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
-
Creates a new
DiscoveryMessage
message. - of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, long, long) - Static method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
-
Creates a new
DiscoveryMessage
message. - of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, DrasylAddress, InetSocketAddress) - Static method in class org.drasyl.handler.remote.protocol.UniteMessage
- of(int, IdentityPublicKey, IdentityPublicKey, ProofOfWork, ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- of(int, IdentityPublicKey, ProofOfWork) - Static method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
-
Creates a new multicast
DiscoveryMessage
message (sent byLocalNetworkDiscovery
}. - of(int, IdentitySecretKey) - Static method in class org.drasyl.identity.Identity
- of(int, KeyPair<IdentityPublicKey, IdentitySecretKey>, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey>) - Static method in class org.drasyl.identity.Identity
- of(int, KeyPair<IdentityPublicKey, IdentitySecretKey>, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey>) - Static method in interface org.drasyl.node.identity.serialization.IdentityMixin
- of(long) - Static method in class org.drasyl.util.UnsignedInteger
-
Creates a new
UnsignedInteger
. - of(short) - Static method in class org.drasyl.handler.remote.protocol.HopCount
-
Creates a new hop count value with given value.
- of(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(Config) - Static method in class org.drasyl.node.DrasylConfig
- of(ByteBuf) - Static method in interface org.drasyl.handler.remote.protocol.PartialReadMessage
-
Creates a
PartialReadMessage
frombytes
. - of(ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.PrivateHeader
- of(ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.PublicHeader
- of(ByteBuf) - Static method in class org.drasyl.node.handler.crypto.AcknowledgementMessage
- of(ByteBuf) - Static method in class org.drasyl.node.handler.crypto.ArmMessage
- of(ByteBuf) - Static method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
- of(ByteBuf) - Static method in class org.drasyl.node.handler.serialization.SerializedPayload
- of(File) - Static method in class org.drasyl.handler.remote.LocalHostPeerInformation
- of(String) - Static method in class org.drasyl.handler.remote.protocol.Nonce
- of(String) - Static method in class org.drasyl.identity.IdentityPublicKey
-
Converts a
String
into aIdentityPublicKey
. - of(String) - Static method in class org.drasyl.identity.IdentitySecretKey
-
Converts a
String
into aIdentitySecretKey
. - of(String) - Static method in class org.drasyl.identity.KeyAgreementPublicKey
-
Converts a
String
into aKeyAgreementPublicKey
. - of(String) - Static method in class org.drasyl.identity.KeyAgreementSecretKey
-
Converts a
String
into aKeyAgreementSecretKey
. - of(String) - Static method in interface org.drasyl.node.identity.serialization.IdentityPublicKeyMixin
- of(String) - Static method in interface org.drasyl.node.identity.serialization.IdentitySecretKeyMixin
- of(String) - Static method in interface org.drasyl.node.identity.serialization.KeyAgreementPublicKeyMixin
- of(String) - Static method in interface org.drasyl.node.identity.serialization.KeyAgreementSecretKeyMixin
- of(String) - Static method in class org.drasyl.node.PeerEndpoint
-
Converts a
String
into anEndpoint
. - of(String) - Static method in class org.drasyl.node.plugin.groups.client.Group
- of(String) - Static method in class org.drasyl.node.plugin.groups.client.GroupUri
-
Generates a
GroupUri
object from the given groups URI. - of(String) - Static method in class org.drasyl.util.MaskedString
- of(String, byte[]) - Static method in class org.drasyl.node.handler.serialization.SerializedPayload
- of(String, int, IdentityPublicKey) - Static method in class org.drasyl.node.PeerEndpoint
-
Converts the given
host
,port
, andpublicKey
into anEndpoint
. - of(String, int, IdentityPublicKey, Integer) - Static method in class org.drasyl.node.PeerEndpoint
-
Converts the given
host
,port
,publicKey
, andnetworkId
into anEndpoint
. - of(String, String) - Static method in class org.drasyl.node.plugin.groups.manager.data.Group
-
Creates a Group object with default minDifficulty and timeout.
- of(String, String, byte, Duration) - Static method in class org.drasyl.node.plugin.groups.manager.data.Group
-
Creates a Group object with given parameters.
- of(Throwable) - Static method in class org.drasyl.node.event.InboundExceptionEvent
- of(URI) - Static method in class org.drasyl.node.PeerEndpoint
-
Converts an
URI
into anEndpoint
. - of(URI) - Static method in class org.drasyl.node.plugin.groups.client.GroupUri
-
Generates a
GroupUri
object from the given groups URI. - of(Path) - Static method in class org.drasyl.handler.remote.LocalHostPeerInformation
- of(Set<InetSocketAddress>) - Static method in class org.drasyl.handler.remote.LocalHostPeerInformation
- of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork) - Static method in class org.drasyl.handler.remote.protocol.PublicHeader
- of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, long) - Static method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
-
Creates new acknowledgement message.
- of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, long, long) - Static method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
-
Creates new application message.
- of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.ApplicationMessage
-
Creates new application message.
- of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Creates an unarmed message.
- of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, DrasylAddress, InetAddress, UnsignedShort) - Static method in class org.drasyl.handler.remote.protocol.UniteMessage
-
Creates new unit message.
- of(Nonce, HopCount, int, DrasylAddress, DrasylAddress, ProofOfWork, ByteBuf) - Static method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
-
Creates an armed message.
- of(PrivateHeader.MessageType, UnsignedShort) - Static method in class org.drasyl.handler.remote.protocol.PrivateHeader
- of(PublicHeader, ByteBuf) - Static method in interface org.drasyl.handler.remote.protocol.PartialReadMessage
- of(RemoteMessage) - Static method in class org.drasyl.handler.remote.protocol.PublicHeader
- of(DrasylAddress) - Static method in class org.drasyl.node.event.Peer
- of(DrasylAddress, Object) - Static method in class org.drasyl.handler.discovery.RemoveChildrenAndPathEvent
- of(DrasylAddress, Object) - Static method in class org.drasyl.handler.discovery.RemovePathEvent
- of(DrasylAddress, Object) - Static method in class org.drasyl.handler.discovery.RemoveSuperPeerAndPathEvent
- of(DrasylAddress, Object) - Static method in class org.drasyl.node.event.MessageEvent
-
Creates a new
MessageEvent
- of(DrasylAddress, InetSocketAddress, Object) - Static method in class org.drasyl.handler.discovery.AddPathAndChildrenEvent
- of(DrasylAddress, InetSocketAddress, Object) - Static method in class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
- of(DrasylAddress, InetSocketAddress, Object) - Static method in class org.drasyl.handler.discovery.AddPathEvent
- of(Identity) - Static method in class org.drasyl.node.event.Node
- of(Identity, int) - Static method in class org.drasyl.node.event.Node
- of(Identity, int, int) - Static method in class org.drasyl.node.event.Node
- of(IdentityPublicKey) - Static method in class org.drasyl.node.plugin.groups.manager.data.Member
- of(IdentityPublicKey, String, String, Duration) - Static method in class org.drasyl.node.plugin.groups.client.GroupUri
- of(IdentityPublicKey, Group) - Static method in class org.drasyl.node.plugin.groups.client.event.GroupMemberJoinedEvent
- of(IdentityPublicKey, Group) - Static method in class org.drasyl.node.plugin.groups.client.event.GroupMemberLeftEvent
- of(KeyAgreementPublicKey) - Static method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
- of(KeyAgreementPublicKey, KeyAgreementPublicKey) - Static method in class org.drasyl.node.handler.crypto.AgreementId
- of(ProofOfWork, String, String) - Static method in class org.drasyl.identity.Identity
- of(ProofOfWork, IdentityPublicKey, IdentitySecretKey) - Static method in class org.drasyl.identity.Identity
- of(ProofOfWork, IdentitySecretKey) - Static method in class org.drasyl.identity.Identity
- of(ProofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey>) - Static method in class org.drasyl.identity.Identity
- of(ProofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey>, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey>) - Static method in class org.drasyl.identity.Identity
- of(DrasylConfig, Identity, ChannelPipeline) - Static method in class org.drasyl.node.handler.plugin.PluginEnvironment
- of(Node) - Static method in class org.drasyl.node.event.NodeDownEvent
- of(Node) - Static method in class org.drasyl.node.event.NodeNormalTerminationEvent
- of(Node) - Static method in class org.drasyl.node.event.NodeOfflineEvent
- of(Node) - Static method in class org.drasyl.node.event.NodeOnlineEvent
- of(Node) - Static method in class org.drasyl.node.event.NodeUpEvent
- of(Node, Throwable) - Static method in class org.drasyl.node.event.NodeUnrecoverableErrorEvent
- of(Peer) - Static method in class org.drasyl.node.event.LongTimeEncryptionEvent
- of(Peer) - Static method in class org.drasyl.node.event.PeerDirectEvent
- of(Peer) - Static method in class org.drasyl.node.event.PeerRelayEvent
- of(Peer) - Static method in class org.drasyl.node.event.PerfectForwardSecrecyEncryptionEvent
- of(AgreementId) - Static method in class org.drasyl.node.handler.crypto.AcknowledgementMessage
- of(AgreementId, SessionPair, long) - Static method in class org.drasyl.node.handler.crypto.Agreement
- of(AgreementId, Nonce, ByteBuf) - Static method in class org.drasyl.node.handler.crypto.ArmHeader
- of(Group, Runnable) - Static method in class org.drasyl.node.plugin.groups.client.event.GroupLeftEvent
- of(Group, Set<IdentityPublicKey>, Runnable) - Static method in class org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
- of(Group, GroupJoinFailedMessage.Error, Runnable) - Static method in class org.drasyl.node.plugin.groups.client.event.GroupJoinFailedEvent
- of(Member, Group, long) - Static method in class org.drasyl.node.plugin.groups.manager.data.Membership
- of(ImmutableByteArray) - Static method in class org.drasyl.handler.remote.protocol.Nonce
- of(ImmutableByteArray) - Static method in class org.drasyl.identity.IdentityPublicKey
- of(ImmutableByteArray) - Static method in class org.drasyl.identity.IdentitySecretKey
- of(ImmutableByteArray) - Static method in class org.drasyl.identity.KeyAgreementPublicKey
- of(ImmutableByteArray) - Static method in class org.drasyl.identity.KeyAgreementSecretKey
- of(ImmutableByteArray) - Static method in class org.drasyl.node.handler.crypto.AgreementId
- of(P, S) - Static method in class org.drasyl.identity.KeyPair
- of(P, S) - Static method in interface org.drasyl.node.identity.serialization.KeyPairMixin
- of(T) - Static method in class org.drasyl.util.ConcurrentReference
-
Creates a new write many read many memory with the initial value of
initialValue
. - of(T) - Static method in class org.drasyl.util.Worm
-
Creates a new
Worm
object with value set tovalue
. - onAfterShutdown(PluginEnvironment) - Method in interface org.drasyl.node.handler.plugin.DrasylPlugin
-
This method gets called after the drasyl node was shut down.
- onAfterStart(PluginEnvironment) - Method in interface org.drasyl.node.handler.plugin.DrasylPlugin
-
This method gets called after the drasyl node was started.
- onAfterStart(PluginEnvironment) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerPlugin
- onAnyEvent(Function<Event, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Adds a new case to the event handling matching any event.
- onAnyMessage(BiFunction<DrasylAddress, M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Add a new case to the event handling matching any
MessageEvent
. - onBeforeShutdown(PluginEnvironment) - Method in interface org.drasyl.node.handler.plugin.DrasylPlugin
-
This method get called before the drasyl node is shut down.
- onBeforeShutdown(PluginEnvironment) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientPlugin
- onBeforeShutdown(PluginEnvironment) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerPlugin
- onBeforeStart(PluginEnvironment) - Method in interface org.drasyl.node.handler.plugin.DrasylPlugin
-
This method gets called before the drasyl node is started.
- onBeforeStart(PluginEnvironment) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientPlugin
- onBeforeStart(PluginEnvironment) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerPlugin
- onBlack() - Method in class org.drasyl.util.Ansi
- onBlue() - Method in class org.drasyl.util.Ansi
- onCyan() - Method in class org.drasyl.util.Ansi
- onEvent(Class<M>, Function<M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Adds a new case to the event handling.
- onEvent(Class<M>, Predicate<M>, Function<M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Adds a new predicated case to the event handling.
- onEvent(Event) - Method in class org.drasyl.node.behaviour.BehavioralDrasylNode
- onEvent(Event) - Method in class org.drasyl.node.DrasylNode
-
Sends
event
to the application and tells it information about the local node, other peers, connections or incoming messages. - onEventEquals(M, Supplier<Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Add a new case to the event handling matching equal events.
- onGreen() - Method in class org.drasyl.util.Ansi
- onMagenta() - Method in class org.drasyl.util.Ansi
- onMessage(Class<M>, BiFunction<DrasylAddress, M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Add a new case to the event handling matching events of type
MessageEvent
withMessageEvent.getPayload()
matchingmessageType
. - onMessage(Class<M>, BiPredicate<DrasylAddress, M>, BiFunction<DrasylAddress, M, Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Add a new predicated case to the event handling matching events of type
MessageEvent
withMessageEvent.getPayload()
matchingmessageType
. - onMessageEquals(DrasylAddress, M, Supplier<Behavior>) - Method in class org.drasyl.node.behaviour.Behavior.BehaviorBuilder
-
Add a new case to the event handling matching events of type
MessageEvent
with equalMessageEvent.getPayload()
. - onNonAgreement(ChannelHandlerContext) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- onNonAgreement(ChannelHandlerContext) - Method in class org.drasyl.node.handler.crypto.LongTimeArmHandler
- onNonAgreement(ChannelHandlerContext) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
- onRed() - Method in class org.drasyl.util.Ansi
- onWhite() - Method in class org.drasyl.util.Ansi
- onYellow() - Method in class org.drasyl.util.Ansi
- org.drasyl.annotation - package org.drasyl.annotation
-
Annotations that provide meta information about drasyl's API.
- org.drasyl.channel - package org.drasyl.channel
-
netty
Channel
for the drasyl overlay network. - org.drasyl.channel.embedded - package org.drasyl.channel.embedded
-
A virtual
Channel
that helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context. - org.drasyl.crypto - package org.drasyl.crypto
-
Classes for crypto-related operations.
- org.drasyl.crypto.loader - package org.drasyl.crypto.loader
-
Helper to load resources from (nested) JARs or file system
- org.drasyl.crypto.sodium - package org.drasyl.crypto.sodium
-
Libsodium wrappers for the crypto operations of drasyl
- org.drasyl.handler.arq.gobackn - package org.drasyl.handler.arq.gobackn
-
Codecs, Handlers, and Messages for the Stop-and-wait-ARQ protocols.
- org.drasyl.handler.arq.stopandwait - package org.drasyl.handler.arq.stopandwait
-
Codecs, Handlers, and Messages for the Go-Back-N protocol.
- org.drasyl.handler.codec - package org.drasyl.handler.codec
-
For message decoding and encoding (like serialization).
- org.drasyl.handler.discovery - package org.drasyl.handler.discovery
-
Different methods to discover peers.
- org.drasyl.handler.logging - package org.drasyl.handler.logging
-
Logs channel events/messages for debugging purpose.
- org.drasyl.handler.monitoring - package org.drasyl.handler.monitoring
-
Logs channel events/messages for monitoring purpose.
- org.drasyl.handler.remote - package org.drasyl.handler.remote
-
Handlers used to communicate with remote nodes.
- org.drasyl.handler.remote.crypto - package org.drasyl.handler.remote.crypto
-
Contains classes necessary for encrypted protocol communication.
- org.drasyl.handler.remote.internet - package org.drasyl.handler.remote.internet
-
Discovery/Routing of peers on the internet.
- org.drasyl.handler.remote.portmapper - package org.drasyl.handler.remote.portmapper
-
Contains
PortMapper
that attempts to create port forwarding via PCP, NAT-PMP, UPnP-IDG. - org.drasyl.handler.remote.protocol - package org.drasyl.handler.remote.protocol
-
The protocol used for communication with remote peers.
- org.drasyl.handler.remote.tcp - package org.drasyl.handler.remote.tcp
-
Contains the pipeline handlers for TCP fallback connections.
- org.drasyl.handler.stream - package org.drasyl.handler.stream
-
Codecs, Channel Handlers, and Messages for sending large data streams asynchronously neither spending a lot of memory nor getting
OutOfMemoryError
- org.drasyl.handler.traffic - package org.drasyl.handler.traffic
-
Handler for traffic shaping.
- org.drasyl.identity - package org.drasyl.identity
-
Contains classes to manage the
Identity
of the drasyl node. - org.drasyl.node - package org.drasyl.node
-
Contains
DrasylNode
. - org.drasyl.node.behaviour - package org.drasyl.node.behaviour
-
Describes
DrasylNode
s as finite state machines. - org.drasyl.node.channel - package org.drasyl.node.channel
- org.drasyl.node.event - package org.drasyl.node.event
-
Contains events that inform about various states of the
DrasylNode
(started, stopped, etc.) or overlay network events (messages, peer discovery, etc.) - org.drasyl.node.handler - package org.drasyl.node.handler
-
ChannelHandler
s used by theDrasylNode
. - org.drasyl.node.handler.crypto - package org.drasyl.node.handler.crypto
-
Contains classes necessary for encrypted peer/application communication.
- org.drasyl.node.handler.plugin - package org.drasyl.node.handler.plugin
-
Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with user-defined settings.
- org.drasyl.node.handler.serialization - package org.drasyl.node.handler.serialization
-
Serialization of java objects to byte arrays and vice versa.
- org.drasyl.node.handler.timeout - package org.drasyl.node.handler.timeout
-
Adds support for read and write timeout and idle connection notification.
- org.drasyl.node.identity - package org.drasyl.node.identity
-
Handles the
Identity
creation of theDrasylNode
. - org.drasyl.node.identity.serialization - package org.drasyl.node.identity.serialization
-
Provides hints for correct JSON (de)serialization.
- org.drasyl.node.plugin.groups.client - package org.drasyl.node.plugin.groups.client
-
The groups client plugin.
- org.drasyl.node.plugin.groups.client.event - package org.drasyl.node.plugin.groups.client.event
-
Event
s that are emitted when this plugin is enabled. - org.drasyl.node.plugin.groups.client.message - package org.drasyl.node.plugin.groups.client.message
-
Messages that are used to communicate with other nodes using the groups plugin.
- org.drasyl.node.plugin.groups.manager - package org.drasyl.node.plugin.groups.manager
-
The groups manager plugin.
- org.drasyl.node.plugin.groups.manager.data - package org.drasyl.node.plugin.groups.manager.data
-
Classes used to model the internal state of the manager (e.g.
- org.drasyl.node.plugin.groups.manager.database - package org.drasyl.node.plugin.groups.manager.database
-
Contains a backend (e.g.
- org.drasyl.node.plugin.groups.manager.database.jdbc - package org.drasyl.node.plugin.groups.manager.database.jdbc
-
Adapter to connect the groups manager with a JDBC-compliant database.
- org.drasyl.util - package org.drasyl.util
-
Utility classes used across multiple packages.
- org.drasyl.util.logging - package org.drasyl.util.logging
-
Logging API (for internal use only).
- org.drasyl.util.network - package org.drasyl.util.network
-
Network-related utility classes.
- org.drasyl.util.protocol - package org.drasyl.util.protocol
-
Contains several utilities that help in dealing with specific protocols (e.g.
- osArch() - Method in class org.drasyl.util.OSInfo
- OSInfo - Class in org.drasyl.util
-
Utility class that can be used to detect properties specific to the current runtime environment/operating system, such as os name.
- osName() - Method in class org.drasyl.util.OSInfo
- osVersion() - Method in class org.drasyl.util.OSInfo
- OtherNetworkException(RemoteMessage) - Constructor for exception org.drasyl.handler.remote.OtherNetworkFilter.OtherNetworkException
- OtherNetworkFilter - Class in org.drasyl.handler.remote
-
This handler filters out all messages received from other networks.
- OtherNetworkFilter(int) - Constructor for class org.drasyl.handler.remote.OtherNetworkFilter
- OtherNetworkFilter.OtherNetworkException - Exception in org.drasyl.handler.remote
-
Signals that a message was received from another network and was dropped.
- OUT_OF_RESOURCES - Enum constant in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- OutboundMessagesThrottlingHandler - Class in org.drasyl.handler.traffic
-
Traffic shaping handler that limits the number of outgoing messages per second.
- OutboundMessagesThrottlingHandler(long) - Constructor for class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler
- OutboundMessagesThrottlingHandler.QueueConsumer - Class in org.drasyl.handler.traffic
- OutboundMessagesThrottlingHandler.RateLimitedQueue - Class in org.drasyl.handler.traffic
- OverlayAddressedMessage<M> - Class in org.drasyl.channel
-
A message that wraps another message with a
DrasylAddress
. - OverlayAddressedMessage(M, DrasylAddress) - Constructor for class org.drasyl.channel.OverlayAddressedMessage
- OverlayAddressedMessage(M, DrasylAddress, DrasylAddress) - Constructor for class org.drasyl.channel.OverlayAddressedMessage
P
- Pair<A,
B> - Class in org.drasyl.util -
A tuple of two elements.
- PARENT_DEFAULT_THREADS - Static variable in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
- parseFile(File) - Static method in class org.drasyl.node.DrasylConfig
-
Parses a file into a Config instance as with
- parseHexBinary(String) - Static method in class org.drasyl.crypto.HexUtil
-
Converts the string argument into an array of bytes.
- parseString(String) - Static method in class org.drasyl.node.DrasylConfig
-
Parses a file into a Config instance as with
- PartialReadMessage - Interface in org.drasyl.handler.remote.protocol
-
Describes a message whose content has been read partially.
- PathEvent - Interface in org.drasyl.handler.discovery
-
Classes implementing this interface signals that a direct routing path availability and/or the relation (children/super peer) to a peer has changed.
- pathEventFilter - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- PathUtil - Class in org.drasyl.util
-
Utility class for operations on
Path
es. - PCP_PORT - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- PCP_VERSION - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- PcpPortMapping - Class in org.drasyl.handler.remote.portmapper
-
Port Forwarding on NAT-enabled routers via PCP.
- PcpPortMapping() - Constructor for class org.drasyl.handler.remote.portmapper.PcpPortMapping
- PcpPortUtil - Class in org.drasyl.util.protocol
-
Utility class for Port Control Protocol (PCP)-related stuff.
- PcpPortUtil.MappingResponseMessage - Class in org.drasyl.util.protocol
- PcpPortUtil.Message - Interface in org.drasyl.util.protocol
- PcpPortUtil.ResultCode - Enum in org.drasyl.util.protocol
- Peer - Class in org.drasyl.node.event
-
Used by
Event
to describe an event related to a Peer (e.g. - Peer() - Constructor for class org.drasyl.node.event.Peer
- PeerDirectEvent - Class in org.drasyl.node.event
-
This event signals that the node has established a direct connection to a peer.
- PeerDirectEvent() - Constructor for class org.drasyl.node.event.PeerDirectEvent
- PeerEndpoint - Class in org.drasyl.node
-
Represents an endpoint of a drasyl node.
- PeerEndpoint() - Constructor for class org.drasyl.node.PeerEndpoint
- PeerEvent - Interface in org.drasyl.node.event
-
Events that refer to a
Peer
. - peerIdentity - Variable in class org.drasyl.node.handler.crypto.AbstractArmHandler
- PeerRelayEvent - Class in org.drasyl.node.event
-
This event signals that communication with this peer is only possible by relaying messages via a super peer.
- PeerRelayEvent() - Constructor for class org.drasyl.node.event.PeerRelayEvent
- peers - Variable in class org.drasyl.handler.monitoring.TopologyHandler
- peers() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- PeersManagerHandler - Class in org.drasyl.node.handler
-
This handler track received
PathEvent
s and will contain an internal state of all peers, super peers, children, and available paths. - PeersManagerHandler(Identity) - Constructor for class org.drasyl.node.handler.PeersManagerHandler
- PendingAgreement - Class in org.drasyl.node.handler.crypto
- PendingAgreement(KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey>) - Constructor for class org.drasyl.node.handler.crypto.PendingAgreement
- PerfectForwardSecrecyEncryptionEvent - Class in org.drasyl.node.event
-
This event signals, that currently all messages from and to the
#peer
are encrypted with an ephemeral session key. - PerfectForwardSecrecyEncryptionEvent() - Constructor for class org.drasyl.node.event.PerfectForwardSecrecyEncryptionEvent
- PFS - Enum constant in enum org.drasyl.node.handler.crypto.PFSArmHandler.State
- PFSArmHandler - Class in org.drasyl.node.handler.crypto
-
Arms (encrypt) outbound and disarms (decrypt) inbound messages.
- PFSArmHandler(Crypto, Duration, Duration, int, Identity, IdentityPublicKey) - Constructor for class org.drasyl.node.handler.crypto.PFSArmHandler
- PFSArmHandler(Crypto, Identity, IdentityPublicKey, Session, LongSupplier, Duration, PFSArmHandler.State) - Constructor for class org.drasyl.node.handler.crypto.PFSArmHandler
- PFSArmHandler.State - Enum in org.drasyl.node.handler.crypto
- pingTimeoutMillis - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- pipeline() - Method in class org.drasyl.node.DrasylNode
-
Returns the
ChannelPipeline
to allow users to add own handlers. - PK_CURVE_25519_KEY_LENGTH - Static variable in class org.drasyl.crypto.Crypto
- PK_LONG_TIME_KEY_LENGTH - Static variable in class org.drasyl.crypto.Crypto
- PlatformDependent - Class in org.drasyl.util
-
Utility class that can be used to detect properties specific to the current runtime environment, such as Java version and the availability of the
sun.misc.Unsafe
object. - PluginEnvironment - Class in org.drasyl.node.handler.plugin
-
Models environment information of a
DrasylPlugin
that are required by the plugin. - PluginEnvironment() - Constructor for class org.drasyl.node.handler.plugin.PluginEnvironment
- plugins(Set<DrasylPlugin>) - Method in class org.drasyl.node.DrasylConfig.Builder
- PLUGINS - Static variable in class org.drasyl.node.DrasylConfig
- PluginsHandler - Class in org.drasyl.node.handler.plugin
- PluginsHandler(DrasylConfig, Identity) - Constructor for class org.drasyl.node.handler.plugin.PluginsHandler
- Port(int) - Constructor for class org.drasyl.handler.remote.tcp.TcpServer.Port
- Port(int) - Constructor for class org.drasyl.handler.remote.UdpServer.Port
- PortMapper - Class in org.drasyl.handler.remote.portmapper
-
This handler tries to create a port forwarding for the UDP server using different methods (PCP, NAT-PMP, UPnP-IGD, etc.).
- PortMapper() - Constructor for class org.drasyl.handler.remote.portmapper.PortMapper
- PortMapping - Interface in org.drasyl.handler.remote.portmapper
-
Represents a method for creating port forwarding (e.g., PCP, NAT-PMP, or UPnP-IGD).
- PortMapping(int) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- POW_DIFFICULTY - Static variable in class org.drasyl.identity.Identity
- Preconditions - Class in org.drasyl.util
-
Static convenience methods that help a method or constructor check whether it was invoked correctly (that is, whether its preconditions were met).
- PREFER_BUNDLED - Static variable in class org.drasyl.crypto.loader.LibraryLoader
- PREFER_SYSTEM - Static variable in class org.drasyl.crypto.loader.LibraryLoader
- prepareCall(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- prepareCall(String, int, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- prepareCall(String, int, int, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- prepareStatement(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- prepareStatement(String, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- prepareStatement(String, int[]) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- prepareStatement(String, int, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- prepareStatement(String, int, int, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- prepareStatement(String, String[]) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- PrivateHeader - Class in org.drasyl.handler.remote.protocol
-
This class models the private header of a drasyl protocol message.
- PrivateHeader() - Constructor for class org.drasyl.handler.remote.protocol.PrivateHeader
- PrivateHeader.MessageType - Enum in org.drasyl.handler.remote.protocol
- progress() - Method in class org.drasyl.handler.stream.ChunkedMessageInput
- ProofOfWork - Class in org.drasyl.identity
-
This class models the proof of work for a given public key.
- ProofOfWork() - Constructor for class org.drasyl.identity.ProofOfWork
- ProofOfWorkMixin - Interface in org.drasyl.node.identity.serialization
- 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.node.handler.serialization
-
This Serializer (de)serializes
Message
objects. - ProtobufSerializer() - Constructor for class org.drasyl.node.handler.serialization.ProtobufSerializer
- PROTOCOL_OVERHEAD - Static variable in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- ProtocolArmHandler - Class in org.drasyl.handler.remote.crypto
- ProtocolArmHandler(Identity, int) - Constructor for class org.drasyl.handler.remote.crypto.ProtocolArmHandler
- ProtocolArmHandler(Identity, Crypto, int, Duration) - Constructor for class org.drasyl.handler.remote.crypto.ProtocolArmHandler
- PublicHeader - Class in org.drasyl.handler.remote.protocol
-
This class models the public header of a drasyl protocol message.
- PublicHeader() - Constructor for class org.drasyl.handler.remote.protocol.PublicHeader
- PublicKey - Interface in org.drasyl.identity
- purple() - Method in class org.drasyl.util.Ansi
Q
- QUERY_TIMEOUT - Static variable in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- queue - Variable in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
R
- randomByte() - Static method in class org.drasyl.util.RandomUtil
-
Returns a single pseudorandom byte.
- randomBytes(int) - Static method in class org.drasyl.crypto.Crypto
-
Generates a secure random bytes with the given
entropy
. - randomBytes(int) - Static method in class org.drasyl.util.RandomUtil
-
Returns an array of length
count
containing pseudorandom bytes. - randomInt(int) - Static method in class org.drasyl.util.RandomUtil
-
Returns a pseudorandom, uniformly distributed
int
value between 0 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
. - randomNonce() - Static method in class org.drasyl.handler.remote.protocol.Nonce
-
Static factory to retrieve a randomly generated
Nonce
. - randomNumber(int) - Static method in class org.drasyl.crypto.Crypto
-
Generates a random number with the static
SecureRandom
of this class. - randomString(int) - Static method in class org.drasyl.crypto.Crypto
-
Generates a secure random HEX String with the given
entropy
of bytes. - randomString(int) - Static method in class org.drasyl.util.RandomUtil
-
Returns a string of the given
length
containing pseudorandom alphanumeric characters. - RandomUtil - Class in org.drasyl.util
-
Utility class for receiving pseudorandom values.
- RateLimitedQueue(long) - Constructor for class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
- RateLimiter - Class in org.drasyl.handler.remote
-
This handler rate limits
AcknowledgementMessage
,DiscoveryMessage
, andUniteMessage
messages addressed to us. - RateLimiter() - Constructor for class org.drasyl.handler.remote.RateLimiter
- read() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Read the remainder of this message and returns the resulted
FullReadMessage
. - readAllBytes(InputStream) - Static method in class org.drasyl.util.InputStreamHelper
-
Reads all remaining bytes from the input stream.
- readChunk(ByteBufAllocator) - Method in class org.drasyl.handler.stream.ChunkedMessageInput
- readChunk(ChannelHandlerContext) - Method in class org.drasyl.handler.stream.ChunkedMessageInput
- readEvent() - Method in class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
-
Return received user events from this
Channel
- readIdentityFile(Path) - Static method in class org.drasyl.node.identity.IdentityManager
-
Reads the identity from
code
. - readMessage(byte[]) - Static method in class org.drasyl.util.protocol.UpnpIgdUtil
- readMessage(InputStream) - Static method in class org.drasyl.util.protocol.NatPmpUtil
- readMessage(InputStream) - Static method in class org.drasyl.util.protocol.PcpPortUtil
- readNBytes(InputStream, int) - Static method in class org.drasyl.util.InputStreamHelper
-
Reads up to a specified number of bytes from the input stream.
- ReassembledMessage - Class in org.drasyl.handler.stream
-
Represents a message that has been reassembled from
MessageChunk
s. - ReassembledMessage(ByteBuf) - Constructor for class org.drasyl.handler.stream.ReassembledMessage
- ReassembledMessageDecoder - Class in org.drasyl.handler.stream
-
Decodes
ReassembledMessage
s toByteBuf
s. - ReassembledMessageDecoder() - Constructor for class org.drasyl.handler.stream.ReassembledMessageDecoder
- receive() - Static method in class org.drasyl.node.behaviour.Behaviors
-
Creates a new
Behavior.BehaviorBuilder
to build a newBehavior
for inbound message/event handling. - receive(Event) - Method in class org.drasyl.node.behaviour.Behavior
-
Process an incoming event and return the next behavior.
- red() - Method in class org.drasyl.util.Ansi
- RED - Enum constant in enum org.drasyl.util.Ansi.Color
- refCnt() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- refCnt() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- refCnt() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- ReferenceCountUtil - Class in org.drasyl.util
- REFRESH_INTERVAL_SAFETY_MARGIN - Static variable in class org.drasyl.handler.remote.LocalHostDiscovery
- register() - Method in class org.drasyl.crypto.sodium.Sodium
- relayMessage(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>, InetSocketAddress) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- relayMessage(ChannelHandlerContext, InetAddressedMessage<RemoteMessage>, InetSocketAddress) - Method in class org.drasyl.handler.remote.internet.TraversingInternetDiscoverySuperPeerHandler
- release() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- release() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- release() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- release(int) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- release(int) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- release(int) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- release(Object) - Static method in class org.drasyl.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release()
if the specified message implementsReferenceCounted
and is not already released. - releaseSavepoint(Savepoint) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- REMOTE_BIND_HOST - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_BIND_PORT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_ENDPOINTS - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_EXPOSE_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_HOST_DISCOVERY_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_HOST_DISCOVERY_LEASE_TIME - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_HOST_DISCOVERY_PATH - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_HOST_DISCOVERY_WATCH_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_NETWORK_DISCOVERY_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_APPLICATION_AGREEMENT_EXPIRE_AFTER - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_APPLICATION_AGREEMENT_MAX_COUNT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_APPLICATION_AGREEMENT_RETRY_INTERVAL - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_APPLICATION_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_PROTOCOL_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_PROTOCOL_SESSION_EXPIRE_AFTER - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_PROTOCOL_SESSION_MAX_COUNT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_COMPOSED_MESSAGE_TRANSFER_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_HOP_LIMIT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_MAX_CONTENT_LENGTH - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_MTU - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_PING_COMMUNICATION_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_PING_INTERVAL - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_PING_MAX_PEERS - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_PING_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_STATIC_ROUTES - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_SUPER_PEER_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_SUPER_PEER_ENDPOINTS - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_CLIENT_ADDRESS - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_CLIENT_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_SERVER_BIND_HOST - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_SERVER_BIND_PORT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_UNITE_MIN_INTERVAL - Static variable in class org.drasyl.node.DrasylConfig
- remoteAddress0() - Method in class org.drasyl.channel.DrasylChannel
- remoteBindHost(InetAddress) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteBindPort(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteEndpoints(Set<PeerEndpoint>) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteExposeEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalHostDiscoveryEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalHostDiscoveryLeaseTime(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalHostDiscoveryPath(Path) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalHostDiscoveryWatchEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalNetworkDiscoveryEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- RemoteMessage - Interface in org.drasyl.handler.remote.protocol
-
Describes a message that is sent to remote peers via UDP/TCP.
- remoteMessageArmApplicationAgreementExpireAfter(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArmApplicationAgreementMaxCount(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArmApplicationAgreementRetryInterval(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArmApplicationEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArmProtocolEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArmProtocolSessionExpireAfter(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArmProtocolSessionMaxCount(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageComposedMessageTransferTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageHopLimit(byte) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageMaxContentLength(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageMtu(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remotePingCommunicationTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remotePingInterval(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remotePingMaxPeers(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remotePingTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteStaticRoutes(Map<IdentityPublicKey, InetSocketAddress>) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteSuperPeerEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteSuperPeerEndpoints(Set<PeerEndpoint>) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackClientAddress(InetSocketAddress) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackClientTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackServerBindHost(InetAddress) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackServerBindPort(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteUniteMinInterval(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remove() - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
- remove() - Method in interface org.drasyl.handler.arq.gobackn.Window
-
Removes the oldest message from the window.
- remove(int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- remove(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- removeAll(Collection<?>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- removeAndFailAll(Throwable) - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
- removeAndFailAll(Throwable) - Method in interface org.drasyl.handler.arq.gobackn.Window
-
Clears the window and let's fail all write promises.
- RemoveChildrenAndPathEvent - Class in org.drasyl.handler.discovery
-
Signals that
PathEvent.getAddress()
is no longer registered at us as a children because the direct routing path to that peer is no longer available. - RemoveChildrenAndPathEvent() - Constructor for class org.drasyl.handler.discovery.RemoveChildrenAndPathEvent
- removeGroupMember(IdentityPublicKey, String) - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Removes the
member
from the givengroup
. - removeGroupMember(IdentityPublicKey, String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- RemovePathEvent - Class in org.drasyl.handler.discovery
-
Signals that a direct routing path to
PathEvent.getAddress()
is no longer available. - RemovePathEvent() - Constructor for class org.drasyl.handler.discovery.RemovePathEvent
- removeSerializer(Class<?>) - Method in class org.drasyl.node.handler.serialization.Serialization
-
Removes all serializers for objects of type
clazz
. - removeSerializer(Serializer) - Method in class org.drasyl.node.handler.serialization.Serialization
-
Removes given serializer from
- removeStaleAgreement(ChannelHandlerContext, Agreement) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- removeStaleAgreement(ChannelHandlerContext, Agreement) - Method in class org.drasyl.node.handler.crypto.LongTimeArmHandler
- removeStaleAgreement(ChannelHandlerContext, Agreement) - Method in class org.drasyl.node.handler.crypto.PFSArmHandler
- RemoveSuperPeerAndPathEvent - Class in org.drasyl.handler.discovery
-
Signals that we are no longer registered at as a children at
PathEvent.getAddress()
as the direct routing path to that peer is no longer available. - RemoveSuperPeerAndPathEvent() - Constructor for class org.drasyl.handler.discovery.RemoveSuperPeerAndPathEvent
- RENEW_DIVISOR - Static variable in class org.drasyl.node.handler.crypto.Agreement
- replace(ByteBuf) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
- replace(ByteBuf) - Method in class org.drasyl.handler.stream.LastMessageChunk
- replace(ByteBuf) - Method in class org.drasyl.handler.stream.MessageChunk
- replace(N) - Method in class org.drasyl.channel.InetAddressedMessage
-
Returns a copy of this message with
newContent
as the newDefaultAddressedEnvelope.content()
. - replace(N) - Method in class org.drasyl.channel.OverlayAddressedMessage
-
Returns a copy of this message with
newContent
as the newDefaultAddressedEnvelope.content()
. - REQUEST_RESERVED1_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- REQUEST_RESERVED2_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- requireNonNegative(byte) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative.
- requireNonNegative(byte, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative and throws a customized
IllegalArgumentException
if it is not. - requireNonNegative(int) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative.
- requireNonNegative(int, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative and throws a customized
IllegalArgumentException
if it is not. - requireNonNegative(long) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative.
- requireNonNegative(long, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative and throws a customized
IllegalArgumentException
if it is not. - requireNonNegative(short) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative.
- requireNonNegative(short, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative and throws a customized
IllegalArgumentException
if it is not. - requirePositive(byte) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive.
- requirePositive(byte, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive and throws a customized
IllegalArgumentException
if it is not. - requirePositive(int) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive.
- requirePositive(int, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive and throws a customized
IllegalArgumentException
if it is not. - requirePositive(long) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive.
- requirePositive(long, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive and throws a customized
IllegalArgumentException
if it is not. - requirePositive(short) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive.
- requirePositive(short, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive and throws a customized
IllegalArgumentException
if it is not. - RESERVED_LENGTH - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- reset() - Method in class org.drasyl.util.Ansi
- RESET - Static variable in class org.drasyl.util.Ansi
- resolve(String) - Method in class org.drasyl.node.DrasylNode
-
Creates a future containing a
Channel
for communication withaddress
. - resolve(InetSocketAddress) - Method in class org.drasyl.channel.OverlayAddressedMessage
-
Returns a copy of this message with
newRecipient
as the newDefaultAddressedEnvelope.recipient()
. - resolve(DrasylAddress) - Method in class org.drasyl.node.DrasylNode
-
Creates a future containing a
Channel
for communication withaddress
. - RESPONSE_RESERVED1_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- RESPONSE_RESERVED2_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- RESPONSE_RESERVED3_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- retain() - Method in class org.drasyl.channel.InetAddressedMessage
- retain() - Method in class org.drasyl.channel.OverlayAddressedMessage
- retain() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- retain() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- retain() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- retain(int) - Method in class org.drasyl.channel.InetAddressedMessage
- retain(int) - Method in class org.drasyl.channel.OverlayAddressedMessage
- retain(int) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- retain(int) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- retain(int) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- retainAll(Collection<?>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- RETRY_DELAY - Static variable in class org.drasyl.handler.remote.portmapper.PortMapper
- rollback() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- rollback(Savepoint) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- route(InetSocketAddress) - Method in class org.drasyl.channel.InetAddressedMessage
-
Returns a copy of this message with
newRecipient
as the newDefaultAddressedEnvelope.recipient()
. - run() - Method in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.QueueConsumer
- run() - Method in interface org.drasyl.util.ThrowingRunnable
-
When an object implementing interface
Runnable
is used to create a thread, starting the thread causes the object'srun
method to be called in that separately executing thread.
S
- safeDecrement() - Method in class org.drasyl.util.UnsignedInteger
- safeIncrement() - Method in class org.drasyl.util.UnsignedInteger
-
Does increment the unsigned integer but does a modulo operation to handle overflows.
- safeRelease(Object) - Static method in class org.drasyl.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release()
if the specified message implementsReferenceCounted
and is not already released. - same() - Static method in class org.drasyl.node.behaviour.Behaviors
-
A behavior that advises the system to reuse the previous behavior.
- sameNetwork(byte[], byte[], short) - Static method in class org.drasyl.util.network.NetworkUtil
-
Checks if two given addresses are in the same network.
- sameNetwork(InetAddress, InetAddress, short) - Static method in class org.drasyl.util.network.NetworkUtil
-
Checks if two given addresses are in the same network.
- sanitizeLogArg(Object) - Static method in class org.drasyl.util.LoggingUtil
-
Cleans
obj
from line breaks and returns them as \n or \r. - scheduleEvent(Event) - Method in class org.drasyl.node.behaviour.Behaviors.EventScheduler
-
Schedules a self event.
- scheduleEvent(Event, Duration) - Method in class org.drasyl.node.behaviour.Behaviors.EventScheduler
-
Schedules a self event.
- schedulePeriodicallyEvent(Event, Duration, Duration) - Method in class org.drasyl.node.behaviour.Behaviors.EventScheduler
-
Schedules a self event.
- SCHEME - Static variable in class org.drasyl.node.plugin.groups.client.GroupUri
- SCHEME - Static variable in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- second() - Method in class org.drasyl.util.Pair
- second() - Method in class org.drasyl.util.Triple
- SecretKey - Interface in org.drasyl.identity
- SecretUtil - Class in org.drasyl.util
-
Utility class for security-related operations.
- send(String, Object) - Method in class org.drasyl.node.DrasylNode
-
Sends the content of
payload
to the identityrecipient
. - send(DrasylAddress, Object) - Method in class org.drasyl.node.DrasylNode
-
Sends the content of
payload
to the identityrecipient
. - sequenceNo - Variable in class org.drasyl.handler.arq.gobackn.GoBackNArqData
- sequenceNo() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqData
- sequenceNo() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
- sequenceNo() - Method in interface org.drasyl.handler.arq.gobackn.GoBackNArqMessage
- sequenceNo() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqRst
- sequenceNo() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
- sequenceNo() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
- sequenceNo() - Method in interface org.drasyl.handler.arq.stopandwait.StopAndWaitArqMessage
- Serialization - Class in org.drasyl.node.handler.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.node.handler.serialization.Serialization
- SERIALIZATION_BINDINGS_INBOUND - Static variable in class org.drasyl.node.DrasylConfig
- SERIALIZATION_BINDINGS_OUTBOUND - Static variable in class org.drasyl.node.DrasylConfig
- SERIALIZATION_SERIALIZERS - Static variable in class org.drasyl.node.DrasylConfig
- serializationsBindingsInbound(Map<Class<?>, String>) - Method in class org.drasyl.node.DrasylConfig.Builder
- serializationsBindingsInboundBuilder() - Method in class org.drasyl.node.DrasylConfig.Builder
- serializationsBindingsOutboundBuilder() - Method in class org.drasyl.node.DrasylConfig.Builder
- serializationSerializers(Map<String, Serializer>) - Method in class org.drasyl.node.DrasylConfig.Builder
- serializationStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
-
This stage serializes
Objects
toByteBuf
and vice versa. - serialize(byte[], JsonGenerator, SerializerProvider) - Method in class org.drasyl.node.identity.serialization.KeyMixin.BytesToHexStringSerializer
- SerializedPayload - Class in org.drasyl.node.handler.serialization
-
This class models the serialized payload of a drasyl application message.
- SerializedPayload() - Constructor for class org.drasyl.node.handler.serialization.SerializedPayload
- Serializer - Interface in org.drasyl.node.handler.serialization
-
A Serializer represents a bimap between an object and an array of bytes representing that object.
- SERIALIZER_BYTES - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_JACKSON_JSON - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_JAVA - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_BOOLEAN - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_BYTE - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_CHAR - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_FLOAT - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_INT - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_LONG - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_SHORT - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PROTO - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_STRING - Static variable in class org.drasyl.node.handler.serialization.Serializers
- Serializers - Class in org.drasyl.node.handler.serialization
-
This class contains some constants with the identifiers of default serializers.
- Service(String, URI, InetAddress) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.Service
- session - Variable in class org.drasyl.node.handler.crypto.AbstractArmHandler
- Session - Class in org.drasyl.node.handler.crypto
-
This class holds the current (long time/session | active/inactive/stale)
Agreements
between two nodes. - Session(Agreement, int, Duration) - Constructor for class org.drasyl.node.handler.crypto.Session
- Session(Agreement, ConcurrentReference<PendingAgreement>, int, Duration) - Constructor for class org.drasyl.node.handler.crypto.Session
- SESSIONKEYBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- SessionPair - Class in org.drasyl.crypto.sodium
- SessionPair() - Constructor for class org.drasyl.crypto.sodium.SessionPair
- set(int, MessageChunk) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- set(T) - Method in class org.drasyl.util.Worm
-
Sets the value to
value
. - setAutoCommit(boolean) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setCatalog(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setClientInfo(String, String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setClientInfo(Properties) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setExpectedInboundSequenceNo(boolean) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
-
Sets the sequence of the next inbound
StopAndWaitArqData
message. - setHoldability(int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setLastKeyExchangeAt(long) - Method in class org.drasyl.node.handler.crypto.Session
- setLastRenewAttemptAt(long) - Method in class org.drasyl.node.handler.crypto.Session
- setNetworkTimeout(Executor, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setReadOnly(boolean) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setRecipientsKeyAgreementKey(KeyAgreementPublicKey) - Method in class org.drasyl.node.handler.crypto.PendingAgreement
- setRetryTimeout(int) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
-
Defines how long to wait for a
StopAndWaitArqAck
message before resending it. - setSavepoint() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setSavepoint(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setSchema(String) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setShardingKey(ShardingKey) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setShardingKey(ShardingKey, ShardingKey) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setShardingKeyIfValid(ShardingKey, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setShardingKeyIfValid(ShardingKey, ShardingKey, int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setTransactionIsolation(int) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- setTypeMap(Map<String, Class<?>>) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- SetUtil - Class in org.drasyl.util
-
Utility class for operations on
Set
s. - sha256(byte[]...) - Static method in class org.drasyl.crypto.Hashing
-
Generates a SHA-256 hash of the given input.
- SHA256 - Static variable in class org.drasyl.crypto.Hashing
- 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.node.handler.serialization
-
This Serializer (de)serializes
Integer
objects. - ShortSerializer() - Constructor for class org.drasyl.node.handler.serialization.ShortSerializer
- shutdown() - Static method in class org.drasyl.node.behaviour.Behaviors
-
A behavior that advises the system to shutdown the
DrasylNode
. - shutdown() - Method in class org.drasyl.node.DrasylNode
-
Shut the drasyl node down.
- shutdown() - Static method in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
-
Shutdown the two schedulers.
- sign(byte[], IdentitySecretKey) - Method in class org.drasyl.crypto.Crypto
-
Creates a signature for the given
message
with the givensecretKey
in detached mode (signature is not appended to message, rather it is standalone). - SimpleWindow - Class in org.drasyl.handler.arq.gobackn
- SimpleWindow(int) - Constructor for class org.drasyl.handler.arq.gobackn.SimpleWindow
-
Creates a new simple window.
- SingleConnectionWrapper - Class in org.drasyl.node.plugin.groups.manager.database.jdbc
-
A simple wrapper for the given connection, that does not automatically close in a try-with-resources block.
- SingleConnectionWrapper(Connection) - Constructor for class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- size() - Method in class org.drasyl.handler.arq.gobackn.SimpleWindow
- size() - Method in interface org.drasyl.handler.arq.gobackn.Window
- size() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- size() - Method in class org.drasyl.util.ImmutableByteArray
- SK_CURVE_25519_KEY_LENGTH - Static variable in class org.drasyl.crypto.Crypto
- SK_LONG_TIME_KEY_LENGTH - Static variable in class org.drasyl.crypto.Crypto
- Slf4JLogger - Class in org.drasyl.util.logging
-
SLF4J logger.
- Slf4JLoggerFactory - Class in org.drasyl.util.logging
-
Logger factory which creates a SLF4J logger.
- Slf4JLoggerFactory() - Constructor for class org.drasyl.util.logging.Slf4JLoggerFactory
- socketAddressFromString(String) - Static method in class org.drasyl.util.InetSocketAddressUtil
-
Convert a
String
to aInetSocketAddress
. - socketAddressToString(InetSocketAddress) - Static method in class org.drasyl.util.InetSocketAddressUtil
-
Convert a
InetSocketAddress
to aString
. - Sodium - Class in org.drasyl.crypto.sodium
-
This class presents a restricted view to the native sodium library.
- Sodium() - Constructor for class org.drasyl.crypto.sodium.Sodium
- sodium_init() - Method in class org.drasyl.crypto.sodium.Sodium
- SSDP_DISCOVERY_RESPONSE_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- SSDP_HEADER_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- SSDP_MAX_WAIT_TIME - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- SSDP_MULTICAST_ADDRESS - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- start() - Method in class org.drasyl.node.DrasylNode
-
Start the drasyl node.
- start(ChannelHandlerContext, int, Runnable) - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
- start(ChannelHandlerContext, int, Runnable) - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
- start(ChannelHandlerContext, int, Runnable) - Method in interface org.drasyl.handler.remote.portmapper.PortMapping
-
Tells the method to create a port forwarding and renew it independently.
- start(ChannelHandlerContext, int, Runnable) - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
- StaticRoutesHandler - Class in org.drasyl.handler.remote
-
This handler uses preconfigured static routes to deliver messages.
- StaticRoutesHandler(Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.StaticRoutesHandler
- StatusInfo(String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- stop(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
- stop(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
- stop(ChannelHandlerContext) - Method in interface org.drasyl.handler.remote.portmapper.PortMapping
-
Shall remove any existing port forwarding again.
- stop(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
- STOP_AND_WAIT_ACK_0 - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
- STOP_AND_WAIT_ACK_1 - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
- StopAndWaitArqAck - Class in org.drasyl.handler.arq.stopandwait
-
ACK message of the Stop-and-wait ARQ protocol.
- StopAndWaitArqCodec - Class in org.drasyl.handler.arq.stopandwait
-
Encodes
StopAndWaitArqMessage
s toByteBuf
s and vice versa. - StopAndWaitArqCodec() - Constructor for class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
- StopAndWaitArqData - Class in org.drasyl.handler.arq.stopandwait
-
DATA message of the Stop-and-wait ARQ protocol.
- StopAndWaitArqData(boolean, ByteBuf) - Constructor for class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
- StopAndWaitArqHandler - Class in org.drasyl.handler.arq.stopandwait
-
Performs the Stop-and-wait ARQ protocol.
- StopAndWaitArqHandler(int) - Constructor for class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- StopAndWaitArqHandler(int, boolean) - Constructor for class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- StopAndWaitArqMessage - Interface in org.drasyl.handler.arq.stopandwait
-
Message of the Stop-and-wait ARQ protocol.
- StringSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
String
objects. - StringSerializer() - Constructor for class org.drasyl.node.handler.serialization.StringSerializer
- subList(int, int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- SUCCESS - Enum constant in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- SUCCESS - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- successful(int) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Evaluates the return value of a native sodium function call.
- superPeers - Variable in class org.drasyl.handler.monitoring.TopologyHandler
- superPeers - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- superPeers() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- swap() - Method in class org.drasyl.util.Ansi
- synchronizeFutures(Promise<T>, CompletableFuture<T>) - Static method in class org.drasyl.util.FutureUtil
-
Synchronizes
promise
andfuture
in both directions. - SYSTEM_ONLY - Static variable in class org.drasyl.crypto.loader.LibraryLoader
T
- TcpClient - Class in org.drasyl.handler.remote.tcp
-
This handler monitors how long the node has not received a response from any super peer.
- TcpClient(Set<SocketAddress>, Duration, InetSocketAddress) - Constructor for class org.drasyl.handler.remote.tcp.TcpClient
- TcpServer - Class in org.drasyl.handler.remote.tcp
-
Starts a TCP-based server, allowing clients in very restrictive networks that do not allow UDP-based traffic to connect to this super peer via TCP.
- TcpServer(InetAddress, int, Duration) - Constructor for class org.drasyl.handler.remote.tcp.TcpServer
- TcpServer.BindFailedException - Exception in org.drasyl.handler.remote.tcp
-
Signals that the
TcpServer
was unable to bind to port. - TcpServer.Port - Class in org.drasyl.handler.remote.tcp
-
Signals that the
TcpServer
is bind toTcpServer.Port.getPort()
. - TelemetryHandler - Class in org.drasyl.handler.monitoring
-
Send telemetry data (Neighbour list and, if desired, also the peers' ip addresses) to a given http endpoint.
- TelemetryHandler(int, URI, boolean) - Constructor for class org.drasyl.handler.monitoring.TelemetryHandler
- terminate() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
-
Closes this connection.
- 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 - ThrowingRunnable<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.handler.remote.portmapper.NatPmpPortMapping
- TIMEOUT - Static variable in class org.drasyl.handler.remote.portmapper.PcpPortMapping
- TIMEOUT - Static variable in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
- toArray() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- toArray(T[]) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- toByteArray() - Method in class org.drasyl.handler.remote.protocol.Nonce
- toByteArray() - Method in class org.drasyl.identity.DrasylAddress
- toByteArray() - Method in class org.drasyl.identity.IdentityPublicKey
- toByteArray() - Method in class org.drasyl.identity.IdentitySecretKey
- toByteArray() - Method in interface org.drasyl.identity.Key
- toByteArray() - Method in class org.drasyl.identity.KeyAgreementPublicKey
- toByteArray() - Method in class org.drasyl.identity.KeyAgreementSecretKey
- toByteArray() - Method in interface org.drasyl.node.identity.serialization.KeyMixin
- toByteArray(Object) - Method in class org.drasyl.node.handler.serialization.StringSerializer
- toByteArray(Object) - Method in class org.drasyl.node.handler.serialization.DisabledSerializer
- toByteArray(Object) - Method in class org.drasyl.node.handler.serialization.JacksonJsonSerializer
- toByteArray(Object) - Method in class org.drasyl.node.handler.serialization.NullSerializer
- toByteArray(Object) - Method in interface org.drasyl.node.handler.serialization.Serializer
-
Serializes the given object into an array of bytes
- toByteBuf() - Method in class org.drasyl.node.handler.crypto.ArmMessage
- toBytes() - Method in class org.drasyl.node.handler.crypto.AgreementId
- 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
. - toImmutableByteArray() - Method in class org.drasyl.handler.remote.protocol.Nonce
- toInetSocketAddress() - Method in class org.drasyl.node.PeerEndpoint
- tokenBucket - Variable in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
- TokenBucket - Class in org.drasyl.util
-
This class implements the token bucket algorithm as a leaky bucket.
- TokenBucket(long, Duration, boolean) - Constructor for class org.drasyl.util.TokenBucket
-
Creates a new leaky token bucket.
- topology(ChannelHandlerContext) - Method in class org.drasyl.handler.monitoring.TopologyHandler
- Topology(DrasylAddress, Map<DrasylAddress, InetSocketAddress>, Map<DrasylAddress, InetSocketAddress>, Map<DrasylAddress, InetSocketAddress>) - Constructor for class org.drasyl.handler.monitoring.TopologyHandler.Topology
- TopologyHandler - Class in org.drasyl.handler.monitoring
-
Uses emitted
PathEvent
s to build the node's current world view of the overlay network. - TopologyHandler() - Constructor for class org.drasyl.handler.monitoring.TopologyHandler
- TopologyHandler(Map<DrasylAddress, InetSocketAddress>, Map<DrasylAddress, InetSocketAddress>, Map<DrasylAddress, InetSocketAddress>) - Constructor for class org.drasyl.handler.monitoring.TopologyHandler
- TopologyHandler.Topology - Class in org.drasyl.handler.monitoring
- toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
- toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqData
- toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqFirstData
- toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqLastData
- toString() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqRst
- toString() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
- toString() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
- toString() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- toString() - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
- toString() - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
- toString() - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
- toString() - Method in class org.drasyl.handler.remote.protocol.HopCount
- toString() - Method in class org.drasyl.handler.remote.protocol.Nonce
- toString() - Method in class org.drasyl.handler.stream.LastMessageChunk
- toString() - Method in class org.drasyl.handler.stream.MessageChunk
- toString() - Method in class org.drasyl.identity.IdentityPublicKey
- toString() - Method in class org.drasyl.identity.IdentitySecretKey
- toString() - Method in class org.drasyl.identity.KeyAgreementPublicKey
- toString() - Method in class org.drasyl.identity.KeyAgreementSecretKey
- toString() - Method in class org.drasyl.identity.ProofOfWork
- toString() - Method in class org.drasyl.node.behaviour.Behavior
- toString() - Method in class org.drasyl.node.behaviour.DeferredBehavior
- toString() - Method in class org.drasyl.node.handler.crypto.AgreementId
- toString() - Method in class org.drasyl.node.handler.crypto.ArmHeader
- toString() - Method in class org.drasyl.node.handler.crypto.PendingAgreement
- toString() - Method in class org.drasyl.node.PeerEndpoint
- toString() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
- toString() - Method in class org.drasyl.node.plugin.groups.client.event.GroupJoinFailedEvent
- toString() - Method in class org.drasyl.node.plugin.groups.client.event.GroupLeftEvent
- toString() - Method in class org.drasyl.node.plugin.groups.client.event.GroupMemberJoinedEvent
- toString() - Method in class org.drasyl.node.plugin.groups.client.event.GroupMemberLeftEvent
- toString() - Method in class org.drasyl.node.plugin.groups.client.Group
- toString() - Method in class org.drasyl.node.plugin.groups.client.GroupsClientConfig
- toString() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- toString() - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage
- toString() - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- toString() - Method in class org.drasyl.node.plugin.groups.client.message.GroupLeaveMessage
- toString() - Method in class org.drasyl.node.plugin.groups.client.message.GroupWelcomeMessage
- toString() - Method in class org.drasyl.node.plugin.groups.client.message.MemberJoinedMessage
- toString() - Method in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- toString() - Method in class org.drasyl.node.plugin.groups.manager.data.Group
- toString() - Method in class org.drasyl.node.plugin.groups.manager.data.Member
- toString() - Method in class org.drasyl.node.plugin.groups.manager.data.Membership
- toString() - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
- toString() - Method in class org.drasyl.util.ConcurrentReference
- toString() - Method in class org.drasyl.util.ImmutableByteArray
- toString() - Method in class org.drasyl.util.MaskedString
-
Returns a masked representation of this
String
. - toString() - Method in class org.drasyl.util.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.Version
- toString() - Method in class org.drasyl.util.Worm
- toString(byte[]) - Static method in class org.drasyl.crypto.HexUtil
-
Converts a byte[] into a string representation
- totalMemory() - Method in class org.drasyl.util.OSInfo
-
This method does NOT return the JVM memory.
- touch() - Method in class org.drasyl.channel.InetAddressedMessage
- touch() - Method in class org.drasyl.channel.OverlayAddressedMessage
- touch() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- touch() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- touch() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- touch(Object) - Method in class org.drasyl.channel.InetAddressedMessage
- touch(Object) - Method in class org.drasyl.channel.OverlayAddressedMessage
- touch(Object) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- touch(Object) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- touch(Object) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- toUnmaskedString() - Method in class org.drasyl.identity.Identity
-
Unlike
Object.toString()
, this method returns the identity with the unmasked secret keys. - toUnmaskedString() - Method in class org.drasyl.identity.IdentitySecretKey
- toUnmaskedString() - Method in class org.drasyl.identity.KeyAgreementSecretKey
- toUnmaskedString() - Method in class org.drasyl.identity.KeyPair
-
Unlike
Object.toString()
, this method returns the key pair with the unmasked secret key. - toUnmaskedString() - Method in interface org.drasyl.identity.SecretKey
-
Unlike
Object.toString()
, this method returns an unmasked secret key. - toUnmaskedString() - Method in class org.drasyl.util.MaskedString
-
Returns the unmasked representation of this
String
. - toUri() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- trace(String) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the TRACE level.
- trace(String) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the TRACE level according to the specified format and argument.
- trace(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the TRACE level according to the specified format and arguments.
- trace(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the TRACE level according to the specified format and arguments.
- trace(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the TRACE level with an accompanying message.
- trace(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the TRACE level according to the specified format and argument supplier.
- trace(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the TRACE level according to the specified format and argument suppliers.
- trace(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the TRACE level according to the specified format and argument suppliers.
- trace(Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- trace(Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the TRACE level.
- TRACE - Enum constant in enum org.drasyl.util.logging.LogLevel
- TraversingInternetDiscoveryChildrenHandler - Class in org.drasyl.handler.remote.internet
-
Extends
InternetDiscoveryChildrenHandler
by performing a rendezvous initiated by one of our super peers. - TraversingInternetDiscoveryChildrenHandler(int, IdentityPublicKey, ProofOfWork, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>, long, long) - Constructor for class org.drasyl.handler.remote.internet.TraversingInternetDiscoveryChildrenHandler
- TraversingInternetDiscoverySuperPeerHandler - Class in org.drasyl.handler.remote.internet
-
Extends
InternetDiscoverySuperPeerHandler
by performing a rendezvous on communication between two children peers. - TraversingInternetDiscoverySuperPeerHandler(int, IdentityPublicKey, ProofOfWork, long, long, long, HopCount, long) - Constructor for class org.drasyl.handler.remote.internet.TraversingInternetDiscoverySuperPeerHandler
- Triple<A,
B, C> - Class in org.drasyl.util -
A tuple of three elements.
- tryConsume() - Method in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
- trySet(T) - Method in class org.drasyl.util.Worm
-
Sets the value to
value
if no value is present yet. - TypeParameterMatcher - Class in org.drasyl.util
-
Adapted from netty
TypeParameterMatcher
- TypeReference<T> - Class in org.drasyl.util
-
This class is used for obtaining full generics type information by sub-classing.
- TypeReference() - Constructor for class org.drasyl.util.TypeReference
U
- UdpMulticastServer - Class in org.drasyl.handler.remote
-
Starts an UDP server which joins a multicast group and together with the
LocalNetworkDiscovery
is responsible for discovering other nodes in the local network. - UdpMulticastServer() - Constructor for class org.drasyl.handler.remote.UdpMulticastServer
- UdpServer - Class in org.drasyl.handler.remote
-
Binds to an udp port, sends outgoing messages via udp, and sends received udp packets to the
Channel
. - UdpServer(int) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer(String, int) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer(InetAddress, int) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer(InetSocketAddress) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer.BindFailedException - Exception in org.drasyl.handler.remote
-
Signals that the
UdpServer
was unable to bind to port. - UdpServer.Port - Class in org.drasyl.handler.remote
-
Signals that the
UdpServer
is bind toUdpServer.Port.getPort()
. - UNABLE_TO_SEND - Static variable in class org.drasyl.node.plugin.groups.manager.GroupsManagerHandler
- unarm(Agreement, Nonce, ByteBuf) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- UnarmedMessageDecoder - Class in org.drasyl.handler.remote.crypto
- UnarmedMessageDecoder() - Constructor for class org.drasyl.handler.remote.crypto.UnarmedMessageDecoder
- UnarmedProtocolMessage - Class in org.drasyl.handler.remote.protocol
-
Describes an unencrypted protocol message whose only public header has been read so far.
- UnarmedProtocolMessage() - Constructor for class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- underline() - Method in class org.drasyl.util.Ansi
- unhandled() - Static method in class org.drasyl.node.behaviour.Behaviors
-
A behavior that keeps the same behavior and signals that the event was not handled (event will be logged with DEBUG level).
- UNITE - Enum constant in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
- UniteMessage - Class in org.drasyl.handler.remote.protocol
- UniteMessage() - Constructor for class org.drasyl.handler.remote.protocol.UniteMessage
- unsafeStaticFieldOffsetSupported() - Static method in class org.drasyl.util.PlatformDependent
-
Returns
true
if access toUnsafe.staticFieldOffset(Field)
is supported,false
otherwise. - UnsignedInteger - Class in org.drasyl.util
-
This class represents an unsigned integer in a rang of [0, 2^32 - 1]
- UnsignedShort - Class in org.drasyl.util
-
This class represents an unsigned short in a rang of [0, 2^16 - 1]
- UNSUPP_OPCODE - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- UNSUPP_OPTION - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- UNSUPP_PROTOCOL - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- UNSUPP_VERSION - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- UNSUPPORTED_OPCODE - Enum constant in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- UNSUPPORTED_VERSION - Enum constant in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- unwrap(Class<T>) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- updateGroup(Group) - Method in interface org.drasyl.node.plugin.groups.manager.database.DatabaseAdapter
-
Updates the specified
group
. - updateGroup(Group) - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.JDBCDatabaseAdapter
- UPNP_ERROR_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_EXTERNAL_IP_ADDRESS_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_CONNECTION_STATUS_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_INTERNAL_CLIENT_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_INTERNAL_PORT_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_LEASE_DURATION_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_NEW_PORT_MAPPING_DESCRIPTION_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UPNP_SERVICE_PATTERN - Static variable in class org.drasyl.util.protocol.UpnpIgdUtil
- UpnpIgdPortMapping - Class in org.drasyl.handler.remote.portmapper
-
Port Forwarding on NAT-enabled routers via UPnP-IGD.
- UpnpIgdPortMapping() - Constructor for class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
- UpnpIgdUtil - Class in org.drasyl.util.protocol
-
Utility class for Universal Plug and Play (UPnP) Internet Gateway Device-related stuff.
- UpnpIgdUtil() - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil
- UpnpIgdUtil.DiscoveryResponseMessage - Class in org.drasyl.util.protocol
- UpnpIgdUtil.ExternalIpAddress - Class in org.drasyl.util.protocol
- UpnpIgdUtil.MappingEntry - Class in org.drasyl.util.protocol
- UpnpIgdUtil.Message - Interface in org.drasyl.util.protocol
- UpnpIgdUtil.PortMapping - Class in org.drasyl.util.protocol
- UpnpIgdUtil.Service - Class in org.drasyl.util.protocol
- UpnpIgdUtil.StatusInfo - Class in org.drasyl.util.protocol
- UriUtil - Class in org.drasyl.util
-
Utility class for operations on
URI
s. - UrlUtil - Class in org.drasyl.util
-
Utility class for operations on
URL
s. - USER_EX_QUOTA - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- UserEventAwareEmbeddedChannel - Class in org.drasyl.channel.embedded
-
A
EmbeddedChannel
that record all received user events. - UserEventAwareEmbeddedChannel(ChannelHandler...) - Constructor for class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
- UserEventAwareEmbeddedChannel(SocketAddress, ChannelHandler...) - Constructor for class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
- userEvents() - Method in class org.drasyl.channel.embedded.UserEventAwareEmbeddedChannel
-
Returns the
Queue
which holds all the user events that were received by thisChannel
. - userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.monitoring.TopologyHandler
- userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.LocalHostDiscovery
- userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.portmapper.PortMapper
- userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.node.handler.PeersManagerHandler
V
- valueOf(String) - Static method in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.node.handler.crypto.PFSArmHandler.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.node.Null
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage.Error
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.util.Ansi.Color
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.util.logging.LogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.node.handler.crypto.PFSArmHandler.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.node.Null
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage.Error
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.util.Ansi.Color
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.util.logging.LogLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifySignature(byte[], byte[], IdentityPublicKey) - Method in class org.drasyl.crypto.Crypto
-
Verifies that
signature
is valid for themessage
. - version() - Method in class org.drasyl.util.Version
- Version - Class in org.drasyl.util
W
- warn(String) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the WARN level.
- warn(String) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the WARN level according to the specified format and argument.
- warn(String, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object...) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the WARN level according to the specified format and arguments.
- warn(String, Object...) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object, Object) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the WARN level according to the specified format and arguments.
- warn(String, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the WARN level with an accompanying message.
- warn(String, Throwable) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the WARN level according to the specified format and argument supplier.
- warn(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the WARN level according to the specified format and argument suppliers.
- warn(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Supplier<Object>, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the WARN level according to the specified format and argument suppliers.
- warn(Throwable) - Method in class org.drasyl.util.logging.JdkLogger
- warn(Throwable) - Method in interface org.drasyl.util.logging.Logger
-
Log an exception (throwable) at the WARN level.
- WARN - Enum constant in enum org.drasyl.util.logging.LogLevel
- WATCH_SERVICE_POLL_INTERVAL - Static variable in class org.drasyl.handler.remote.LocalHostDiscovery
- webSocketPort(URI) - Static method in class org.drasyl.util.WebSocketUtil
- WebSocketUtil - Class in org.drasyl.util
-
Utility class for operations on websocket
URI
s (e.g. - white() - Method in class org.drasyl.util.Ansi
- WHITE - Enum constant in enum org.drasyl.util.Ansi.Color
- Window - Interface in org.drasyl.handler.arq.gobackn
-
This class does model a sliding window in the Go-Back-N ARQ protocol.
- Window.Frame - Class in org.drasyl.handler.arq.gobackn
- withScheduler(Function<Behaviors.EventScheduler, Behavior>) - Static method in class org.drasyl.node.behaviour.Behaviors
-
A behavior with support for scheduled self events in a node.
- withScheduler(Function<Behaviors.EventScheduler, Behavior>, EventLoopGroup) - Static method in class org.drasyl.node.behaviour.Behaviors
-
A behavior with support for scheduled self events in a node.
- Worm<T> - Class in org.drasyl.util
-
This class wraps an object of type
T
and serves as a write once read many (worm) memory. - write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.discovery.IntraVmDiscovery
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.logging.MessagesThroughputHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.internet.TraversingInternetDiscoveryChildrenHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.LocalHostDiscovery
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.StaticRoutesHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.tcp.TcpClient
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.tcp.TcpServer
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.remote.UdpServer
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler
- writeBody(ByteBuf) - Method in class org.drasyl.node.handler.crypto.AcknowledgementMessage
- writeBody(ByteBuf) - Method in class org.drasyl.node.handler.crypto.ArmMessage
- writeBody(ByteBuf) - Method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
- writeBodyTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
- writeBodyTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- writeBodyTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
- writeBodyTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- writeDiscoveryMessage(ChannelHandlerContext, DrasylAddress, InetSocketAddress, boolean) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
-
Make sure to call
Channel.flush()
by your own! - writeIdentityFile(Path, Identity) - Static method in class org.drasyl.node.identity.IdentityManager
-
Writes the identity
identity
to the filepath
. - writePrivateHeaderTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
- writePrivateHeaderTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- writePrivateHeaderTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.DiscoveryMessage
- writePrivateHeaderTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- writePublicHeaderTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- writeTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- writeTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- writeTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.PrivateHeader
-
Writes this header to the buffer
byteBuf
. - writeTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.PublicHeader
-
Writes this header to the buffer
byteBuf
. - writeTo(ByteBuf) - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
-
Writes this message to the buffer
out
. - writeTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- writeTo(ByteBuf) - Method in class org.drasyl.node.handler.serialization.SerializedPayload
-
Writes this message to the buffer
byteBuf
. - writeTo(ByteBuf, boolean) - Method in class org.drasyl.handler.remote.protocol.PublicHeader
-
Writes this header to the buffer
byteBuf
. - WS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
- WSS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
X
- XCHACHA20POLY1305_IETF_ABYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- XCHACHA20POLY1305_IETF_NPUBBYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
Y
- yellow() - Method in class org.drasyl.util.Ansi
- YELLOW - Enum constant in enum org.drasyl.util.Ansi.Color
Z
- ZERO_ID - Static variable in class org.drasyl.identity.IdentityPublicKey
- ZERO_IPV4 - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- ZERO_IPV6 - Static variable in class org.drasyl.util.protocol.PcpPortUtil
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Peer.getAddress()
instead.