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.membership.cyclon.CyclonShufflingClientHandler
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.membership.cyclon.CyclonShufflingServerHandler
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.pubsub.PubSubBrokerHandler
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.pubsub.PubSubCodec
- 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.handler.rmi.RmiClientHandler
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.rmi.RmiCodec
- acceptInboundMessage(Object) - Method in class org.drasyl.handler.rmi.RmiServerHandler
- 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.pubsub.PubSubCodec
- 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.rmi.RmiCodec
- 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
- ack() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- ack(long, long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- ACKNOWLEDGEMENT - Enum constant in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
- AcknowledgementMessage - Class in org.drasyl.handler.remote.protocol
-
Acknowledges a
HelloMessage
. - 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(long, long, int) - Static method in class org.drasyl.util.SerialNumberArithmetic
- add(E) - Method in class org.drasyl.util.BloomFilter
-
Adds
element
to the filter. - add(E) - Method in class org.drasyl.util.EvictingQueue
- add(E) - Method in class org.drasyl.util.ExpiringSet
- add(E) - Method in class org.drasyl.util.InconsistentSortedSet
- add(ChannelHandlerContext, Runnable) - Method in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
- 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(CyclonNeighbor) - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- 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 E>) - Method in class org.drasyl.util.BloomFilter
- addAll(Collection<? extends E>) - Method in class org.drasyl.util.EvictingQueue
- addAll(Collection<? extends E>) - Method in class org.drasyl.util.ExpiringSet
- addAll(Collection<? extends E>) - Method in class org.drasyl.util.InconsistentSortedSet
- addAll(Collection<? extends MessageChunk>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- 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() - Method in class org.drasyl.util.network.Subnet
- ADDRESS_MISMATCH - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- addresses() - Method in class org.drasyl.handler.remote.LocalHostPeerInformation
- addSerializer(Class<?>, Serializer) - Method in class org.drasyl.node.handler.serialization.Serialization
-
Adds a
serializer
as serializer for objects of typeclazz
. - 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
-
Describes a message sent by an application running on drasyl.
- ApplicationMessage() - Constructor for class org.drasyl.handler.remote.protocol.ApplicationMessage
- ApplicationMessageToPayloadCodec - Class in org.drasyl.handler.remote
-
This codec converts
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(ByteBufAllocator, Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- arm(ByteBufAllocator, 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(ByteBufAllocator, Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Returns an armed version (
ArmedProtocolMessage
) of this message. - arm(ChannelHandlerContext, Agreement, ByteBuf) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- armAndRelease(ByteBufAllocator, 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.
- arqStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- 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) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
- BehavioralDrasylNode(Identity, ServerBootstrap, ChannelFuture, Channel, Behavior) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
- BehavioralDrasylNode(DrasylConfig) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
- Behaviors - Class in org.drasyl.node.behaviour
-
Factories for
Behavior
. - Behaviors.EventScheduler - Class in org.drasyl.node.behaviour
- 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.
- bind(String, Object) - Method in class org.drasyl.handler.rmi.RmiServerHandler
-
Binds a
object
to the specifiedname
and makes it therefore available for remote method invocation. - BIND_NAME - Static variable in class org.drasyl.handler.dht.chord.LocalChordNode
- BIND_PORT - Static variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- bindAddress - Variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- bindAddress - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- bitset() - Method in class org.drasyl.util.BloomFilter
-
Returns the
BitSet
holding the internal bloom filter state. - bitSet - Variable in class org.drasyl.util.BloomFilter
- black() - Method in class org.drasyl.util.Ansi
- BLACK - Enum constant in enum org.drasyl.util.Ansi.Color
- BloomFilter<E> - Class in org.drasyl.util
-
A bloom filter is a probabilistic data structure that can quickly and efficiently check whether an element is included in a set.
- BloomFilter(int, double, int, int, Function<E, byte[]>) - Constructor for class org.drasyl.util.BloomFilter
-
Create a new bloom filter.
- BloomFilter(int, double, int, int, Function<E, byte[]>, BitSet) - Constructor for class org.drasyl.util.BloomFilter
-
Create a new bloom filter.
- BloomFilter(Integer, Double, Function<E, byte[]>) - Constructor for class org.drasyl.util.BloomFilter
-
Create a new bloom filter.
- BloomFilter(Integer, Double, Function<E, byte[]>, BitSet) - Constructor for class org.drasyl.util.BloomFilter
-
Create a new bloom filter.
- BloomFilter(BloomFilter.Parameters, Function<E, byte[]>) - Constructor for class org.drasyl.util.BloomFilter
- BloomFilter(BloomFilter.Parameters, Function<E, byte[]>, BitSet) - Constructor for class org.drasyl.util.BloomFilter
- BloomFilter.Parameters - Class in org.drasyl.util
- 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
- BROADCAST_ADDRESS - Static variable in class org.drasyl.handler.remote.UdpBroadcastServer
- 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
- bytesSupplier - Variable in class org.drasyl.util.BloomFilter
- bytesToHex(byte[]) - Static method in class org.drasyl.crypto.HexUtil
-
Converts an array of bytes into a string.
- ByteToGoBackNArqDataCodec - Class in org.drasyl.handler.arq.gobackn
-
Encodes
ByteBuf
s toGoBackNArqData
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
- ByteUtil - Class in org.drasyl.util
-
Utility class for operations on bytes.
C
- CANNOT_PROVIDE_EXTERNAL - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- capacity() - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- cartesianProduct(Set<A>, Set<B>) - Static method in class org.drasyl.util.SetUtil
-
Returns the cartesian product of the two sets
a
andb
. - CHANNEL_INACTIVITY_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqReceiverHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.dht.chord.ChordHousekeepingHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.dht.chord.ChordJoinHandler
- 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.membership.cyclon.CyclonShufflingClientHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.monitoring.TelemetryHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.PeersRttHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.StaticRoutesHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClient
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpServer
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpBroadcastServer
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpMulticastServer
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientHandler
- ChannelDirectPathChanged - Class in org.drasyl.channel
-
Signals that the path to the remote peer has been changed from direct to relayed or vice versa.
- channelIdle(ChannelHandlerContext, IdleStateEvent) - Method in class org.drasyl.node.handler.timeout.IdleChannelCloser
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqReceiverHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqSenderHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.dht.chord.ChordHousekeepingHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.dht.chord.ChordJoinHandler
- 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.membership.cyclon.CyclonShufflingClientHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.monitoring.TelemetryHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.PeersRttHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.pubsub.PubSubBrokerHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.pubsub.PubSubSubscribeHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.crypto.ProtocolArmHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.LocalHostDiscovery
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.LocalNetworkDiscovery
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.PortMapper
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.StaticRoutesHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClient
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpServer
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpBroadcastServer
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpMulticastServer
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.rmi.RmiClientHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqReceiverHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqSenderHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.logging.MessagesThroughputHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.pubsub.PubSubPublishHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.pubsub.PubSubSubscribeHandler
- 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.internet.UnconfirmedAddressResolveHandler
- 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, AddressedEnvelope<CyclonShuffleResponse, SocketAddress>) - Method in class org.drasyl.handler.membership.cyclon.CyclonShufflingClientHandler
- channelRead0(ChannelHandlerContext, AddressedEnvelope<RmiMessage, SocketAddress>) - Method in class org.drasyl.handler.rmi.RmiClientHandler
- channelRead0(ChannelHandlerContext, AddressedEnvelope<RmiMessage, SocketAddress>) - Method in class org.drasyl.handler.rmi.RmiServerHandler
- 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<CyclonShuffleRequest>) - Method in class org.drasyl.handler.membership.cyclon.CyclonShufflingServerHandler
- channelRead0(ChannelHandlerContext, OverlayAddressedMessage<PubSubMessage>) - Method in class org.drasyl.handler.pubsub.PubSubBrokerHandler
- 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.channel.DrasylServerChannel
- channelUnregistered(ChannelHandlerContext) - Method in class org.drasyl.node.handler.plugin.PluginsHandler
- CharacterSerializer - Class in org.drasyl.node.handler.serialization
-
This Serializer (de)serializes
Character
objects. - CharacterSerializer() - Constructor for class org.drasyl.node.handler.serialization.CharacterSerializer
- CHARSET - Static variable in class org.drasyl.node.IdentityFile
- checkAlive() - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- checkAlive() - Method in interface org.drasyl.handler.dht.chord.RemoteChordNode
-
NOOP/ping method used to check if callee is still alive.
- checkIfPredecessorIsAlive() - Method in class org.drasyl.handler.dht.chord.LocalChordNode
-
Returns a successfully completed future if our predecessor is alive or we do not have a predecessor.
- 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
- ChordException - Exception in org.drasyl.handler.dht.chord
-
Exceptions related to the Chord protocol.
- ChordException(String) - Constructor for exception org.drasyl.handler.dht.chord.ChordException
- ChordException(String, Throwable) - Constructor for exception org.drasyl.handler.dht.chord.ChordException
- ChordFingerTable - Class in org.drasyl.handler.dht.chord
-
Chord routing table.
- ChordFingerTable(DrasylAddress) - Constructor for class org.drasyl.handler.dht.chord.ChordFingerTable
- ChordHousekeepingHandler - Class in org.drasyl.handler.dht.chord
-
This handler performs some housekeeping tasks keeping the Chord circle stable.
- ChordHousekeepingHandler(long, LocalChordNode) - Constructor for class org.drasyl.handler.dht.chord.ChordHousekeepingHandler
- ChordHousekeepingHandler(LocalChordNode) - Constructor for class org.drasyl.handler.dht.chord.ChordHousekeepingHandler
- chordId(Object) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
- chordIdHex(long) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
- chordIdHex(Object) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
- chordIdPosition(long) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
- chordIdPosition(Object) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
- ChordJoinHandler - Class in org.drasyl.handler.dht.chord
-
Joins the Chord circle or will close the
Channel
. - ChordJoinHandler(DrasylAddress, LocalChordNode) - Constructor for class org.drasyl.handler.dht.chord.ChordJoinHandler
- ChordLookup - Class in org.drasyl.handler.dht.chord
-
Triggers a lookup in the Chord circle to find the closest node for given
id
. - ChordLookup() - Constructor for class org.drasyl.handler.dht.chord.ChordLookup
- ChordLookupHandler - Class in org.drasyl.handler.dht.chord
-
This handler performs a lookup in the Chord table once an outbound
ChordLookup
message is written to the channel. - ChordLookupHandler(RmiClientHandler) - Constructor for class org.drasyl.handler.dht.chord.ChordLookupHandler
- ChordResponse - Class in org.drasyl.handler.dht.chord
-
Reply sent in response to
ChordLookup
including the closest node for a givenid
. - ChordResponse() - Constructor for class org.drasyl.handler.dht.chord.ChordResponse
- ChordUtil - Class in org.drasyl.handler.dht.chord
-
Utility class for Chord-related operations.
- 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 stage splits
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
- clear() - Method in class org.drasyl.util.BloomFilter
- clear() - Method in class org.drasyl.util.EvictingQueue
- clear() - Method in class org.drasyl.util.ExpiringMap
- clear() - Method in class org.drasyl.util.ExpiringSet
- clear() - Method in class org.drasyl.util.HashSetMultimap
- clear() - Method in class org.drasyl.util.InconsistentSortedSet
- clear() - Method in interface org.drasyl.util.Multimap
-
Removes all entries from this multimap.
- 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()
. - close(ChannelHandlerContext, ChannelPromise) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
- closeAfterContinueResponse(Object) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- color(Ansi.Color) - Method in class org.drasyl.util.Ansi
- commit() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- comparator() - Method in class org.drasyl.util.InconsistentSortedSet
- 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(CyclonNeighbor) - Method in class org.drasyl.handler.membership.cyclon.CyclonNeighbor
- compareTo(HopCount) - Method in class org.drasyl.handler.remote.protocol.HopCount
- composeFailedFuture(Throwable) - Static method in class org.drasyl.util.FutureComposer
- composeFuture(Future<R>) - Static method in class org.drasyl.util.FutureComposer
- composeSucceededFuture() - Static method in class org.drasyl.util.FutureComposer
- composeSucceededFuture(R) - Static method in class org.drasyl.util.FutureComposer
- 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)
. - computeMethodHash(Method) - Static method in class org.drasyl.handler.rmi.RmiUtil
- 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() - Static method in class org.drasyl.util.ArrayUtil
-
Returns an empty arrray.
- concat(byte[]...) - Static method in class org.drasyl.util.ArrayUtil
-
Returns a new array containing all elements from given
arrays
. - concat(E[]...) - Static method in class org.drasyl.util.ArrayUtil
-
Returns a new array containing all elements from given
arrays
. - ConcurrentReference<T> - Class in org.drasyl.util
-
This class wraps an object of type
T
and serves as a write many read many memory. - config() - Method in class org.drasyl.channel.DrasylChannel
- config() - Method in class org.drasyl.channel.DrasylServerChannel
- ConnectionHandshakeChannelInitializer - Class in org.drasyl.channel
- ConnectionHandshakeChannelInitializer(boolean) - Constructor for class org.drasyl.channel.ConnectionHandshakeChannelInitializer
- ConnectionHandshakeChannelInitializer(Duration, boolean) - Constructor for class org.drasyl.channel.ConnectionHandshakeChannelInitializer
- ConnectionHandshakeClosing - Class in org.drasyl.handler.connection
-
Signals that the connection is closing.
- ConnectionHandshakeClosing() - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeClosing
- ConnectionHandshakeCodec - Class in org.drasyl.handler.connection
-
Encodes
ByteBuf
s toConnectionHandshakeSegment
s and vice versa. - ConnectionHandshakeCodec() - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeCodec
- ConnectionHandshakeCompleted - Class in org.drasyl.handler.connection
-
Signals that the handshake was completed successfully.
- ConnectionHandshakeCompleted(long, long) - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeCompleted
- ConnectionHandshakeEvent - Interface in org.drasyl.handler.connection
-
Signals handshake states.
- ConnectionHandshakeException - Exception in org.drasyl.handler.connection
-
Is thrown when a connection handshake failed or an established connection is being reset by the remote peer.
- ConnectionHandshakeException(String) - Constructor for exception org.drasyl.handler.connection.ConnectionHandshakeException
- ConnectionHandshakeHandler - Class in org.drasyl.handler.connection
-
This handler partially implements the Transmission Control Protocol know from RFC 793.
- ConnectionHandshakeHandler(Duration, boolean) - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeHandler
- ConnectionHandshakeIssued - Class in org.drasyl.handler.connection
-
Signals that the handshake was started but the remote peer dis not response yet to the request.
- ConnectionHandshakeIssued() - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeIssued
- ConnectionHandshakePendWritesHandler - Class in org.drasyl.handler.connection
-
This handler pends all channel writes in a
PendingWriteQueue
until a connection handshake has been signaled by receiving aConnectionHandshakeCompleted
event. - ConnectionHandshakePendWritesHandler() - Constructor for class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
- ConnectionHandshakeSegment - Class in org.drasyl.handler.connection
-
A message used by
ConnectionHandshakeHandler
to perform a handshake. - ConnectionHandshakeSegment(long, long, byte, ByteBuf) - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeSegment
- consume() - Method in class org.drasyl.util.TokenBucket
-
Consumes a token from the bucket.
- contains(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- contains(Object) - Method in class org.drasyl.util.BloomFilter
-
Checks if
o
is contained in the filter. - contains(Object) - Method in class org.drasyl.util.EvictingQueue
- contains(Object) - Method in class org.drasyl.util.ExpiringSet
- contains(Object) - Method in class org.drasyl.util.InconsistentSortedSet
- contains(InetAddress) - Method in class org.drasyl.util.network.Subnet
-
Returns
true
ifaddress
is part of this subnet. - containsAll(Collection<?>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- containsAll(Collection<?>) - Method in class org.drasyl.util.BloomFilter
- containsAll(Collection<?>) - Method in class org.drasyl.util.EvictingQueue
- containsAll(Collection<?>) - Method in class org.drasyl.util.ExpiringSet
- containsAll(Collection<?>) - Method in class org.drasyl.util.InconsistentSortedSet
- containsKey(Object) - Method in class org.drasyl.util.ExpiringMap
- containsValue(Object) - Method in class org.drasyl.util.ExpiringMap
- convertIdentityKeyToKeyAgreementKey(IdentityPublicKey) - Method in class org.drasyl.crypto.Crypto
-
Converts the given ed25519 long time
publicKey
into a curve25519 key for (on-demand) key agreement. - convertLongTimeKeyPairToKeyAgreementKeyPair(KeyPair<IdentityPublicKey, IdentitySecretKey>) - Method in class org.drasyl.crypto.Crypto
-
Converts the given ed25519 long time
keyPair
into a curve25519 key pair for (on-demand) key agreement. - convertPublicKeyEd25519ToCurve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Converts a public ed25519 key to a public curve25519 key.
- convertSecretKeyEd25519ToCurve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Converts a secret ed25519 key to a secret curve25519 key.
- CountingBloomFilter<E> - Class in org.drasyl.util
-
A special
BloomFilter
that allows you to remove elements. - CountingBloomFilter(int, double, int, int, Function<E, byte[]>) - Constructor for class org.drasyl.util.CountingBloomFilter
-
Create a new counting bloom filter with
Short.BYTES * 8
bits reserved for the counters. - CountingBloomFilter(int, double, int, int, Function<E, byte[]>, int) - Constructor for class org.drasyl.util.CountingBloomFilter
-
Create a new bloom filter.
- CountingBloomFilter(int, double, int, int, Function<E, byte[]>, BitSet) - Constructor for class org.drasyl.util.CountingBloomFilter
-
Create a new counting bloom filter with
Short.BYTES * 8
bits reserved for the counters. - CountingBloomFilter(int, double, int, int, Function<E, byte[]>, BitSet, int) - Constructor for class org.drasyl.util.CountingBloomFilter
-
Create a new bloom filter.
- CountingBloomFilter(int, double, Function<E, byte[]>) - Constructor for class org.drasyl.util.CountingBloomFilter
-
Create a new counting bloom filter with
Short.BYTES * 8
bits reserved for the counters. - CountingBloomFilter(int, double, Function<E, byte[]>, int) - Constructor for class org.drasyl.util.CountingBloomFilter
-
Create a new counting bloom filter.
- CountingBloomFilter(int, double, Function<E, byte[]>, BitSet) - Constructor for class org.drasyl.util.CountingBloomFilter
-
Create a new counting bloom filter with
Short.BYTES * 8
bits reserved for the counters. - CountingBloomFilter(BloomFilter.Parameters, Function<E, byte[]>, int) - Constructor for class org.drasyl.util.CountingBloomFilter
- CountingBloomFilter(BloomFilter.Parameters, Function<E, byte[]>, BitSet, int) - Constructor for class org.drasyl.util.CountingBloomFilter
- 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_hash_sha256(byte[], byte[], long) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_kx_client_session_keys(byte[], byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_kx_keypair(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_kx_server_session_keys(byte[], byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_detached(byte[], Pointer, byte[], long, byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_ed25519_pk_to_curve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_ed25519_sk_to_curve25519(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_keypair(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- crypto_sign_verify_detached(byte[], byte[], long, byte[]) - Method in class org.drasyl.crypto.sodium.Sodium
- cryptoAeadXChaCha20Poly1305IetfDecrypt(byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
This function decrypts the given ciphertext
c
. - cryptoAeadXChaCha20Poly1305IetfEncrypt(byte[], byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
This function encrypts the given message
m
. - CryptoException - Exception in org.drasyl.crypto
-
A CryptoException is thrown by
Crypto
when errors occur. - CryptoException(Exception) - Constructor for exception org.drasyl.crypto.CryptoException
- CryptoException(String) - Constructor for exception org.drasyl.crypto.CryptoException
- CryptoException(String, Exception) - Constructor for exception org.drasyl.crypto.CryptoException
- cryptoKxClientSessionKeys(byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
This function computes a pair of shared keys (rx and tx) using the client's public key clientPk, the client's secret key clientSk and the server's public key serverPk.
- cryptoKxServerSessionKeys(byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
This function computes a pair of shared keys (rx and tx) using the client's public key clientPk, the server's secret key serverSk and the server's public key serverPk.
- cryptoSignDetached(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Returns a signature for a message.
- cryptoSignKeypair(byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Generate a signing keypair (ed25519).
- cryptoSignVerifyDetached(byte[], byte[], byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Verifies that
signature
is valid for themessage
. - CSPRNG - Static variable in class org.drasyl.crypto.Crypto
- ctl() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- 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
- CyclonCodec - Class in org.drasyl.handler.membership.cyclon
-
Encodes
CyclonMessage
messages toByteBuf
s and vice versa. - CyclonCodec() - Constructor for class org.drasyl.handler.membership.cyclon.CyclonCodec
- CyclonNeighbor - Class in org.drasyl.handler.membership.cyclon
-
A CYCLON neighbor.
- CyclonShuffleRequest - Class in org.drasyl.handler.membership.cyclon
-
Requests a CYCLON shuffle.
- CyclonShuffleRequest() - Constructor for class org.drasyl.handler.membership.cyclon.CyclonShuffleRequest
- CyclonShuffleResponse - Class in org.drasyl.handler.membership.cyclon
-
Response of a CYCLON shuffle request.
- CyclonShuffleResponse() - Constructor for class org.drasyl.handler.membership.cyclon.CyclonShuffleResponse
- CyclonShufflingClientHandler - Class in org.drasyl.handler.membership.cyclon
-
Initiates the "Enhanced Shuffling" algorithm of CYCLON.
- CyclonShufflingClientHandler(int, int, CyclonView) - Constructor for class org.drasyl.handler.membership.cyclon.CyclonShufflingClientHandler
- CyclonShufflingServerHandler - Class in org.drasyl.handler.membership.cyclon
-
Waits for
CyclonShuffleRequest
s sent byCyclonShufflingClientHandler
. - CyclonShufflingServerHandler(int, CyclonView) - Constructor for class org.drasyl.handler.membership.cyclon.CyclonShufflingServerHandler
- CyclonView - Class in org.drasyl.handler.membership.cyclon
-
Local peer's (partial) view of the network.
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.connection.ConnectionHandshakeCodec
- 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<ByteBuf, SocketAddress>, List<Object>) - Method in class org.drasyl.handler.rmi.RmiCodec
- 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<?>, List<Object>) - Method in class org.drasyl.handler.codec.OverlayMessageToEnvelopeMessageCodec
- decode(ChannelHandlerContext, OverlayAddressedMessage<ByteBuf>, List<Object>) - Method in class org.drasyl.handler.membership.cyclon.CyclonCodec
- decode(ChannelHandlerContext, OverlayAddressedMessage<ByteBuf>, List<Object>) - Method in class org.drasyl.handler.pubsub.PubSubCodec
- decode(ChannelHandlerContext, OverlayAddressedMessage<ByteBuf>, List<Object>) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientMessageDecoder
- decode(ChannelHandlerContext, GoBackNArqData, 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.UnsignedMediumInteger
- decrement() - Method in class org.drasyl.util.UnsignedShort
- decrypt(byte[], byte[], Nonce, SessionPair) - Method in class org.drasyl.crypto.Crypto
-
Decrypt the given
cipher
, by verify theauthTag
as an authentication tag, uses the givennonce
and decrypting with the rx part of thesessionPair
. - DEFAULT_CHECK_INTERVAL - Static variable in class org.drasyl.handler.dht.chord.ChordHousekeepingHandler
- DEFAULT_HANDSHAKE_TIMEOUT - Static variable in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
- DEFAULT_INVOCATION_TIMEOUT - Static variable in annotation type org.drasyl.handler.rmi.annotation.RmiTimeout
- DEFAULT_PUBLISH_TIMEOUT - Static variable in class org.drasyl.handler.pubsub.PubSubPublishHandler
- DEFAULT_RESULT_EXPIRATION - Static variable in annotation type org.drasyl.handler.rmi.annotation.RmiCacheResult
- DEFAULT_SUBSCRIBE_TIMEOUT - Static variable in class org.drasyl.handler.pubsub.PubSubSubscribeHandler
- 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. - 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(ByteBufAllocator, Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
-
Returns a disarmed version (
FullReadMessage
) of this message. - disarmAndRelease(ByteBufAllocator, Crypto, SessionPair) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
-
Returns a disarmed version (
FullReadMessage
) of this message and then releases this message. - DiscoveryResponseMessage(String, String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- DnsResolver - Class in org.drasyl.util
-
Helper class for resolving hostnames to IP addresses.
- 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
- doStableCheck() - Method in class org.drasyl.handler.dht.chord.ChordLookup
- 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, DrasylAddress) - 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) - 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, NioEventLoopGroup) - 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
- element() - Method in class org.drasyl.util.EvictingQueue
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.gobackn.ByteToGoBackNArqDataCodec
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.arq.stopandwait.ByteToStopAndWaitArqDataCodec
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.codec.MaxLengthFrameEncoder
- encode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.stream.LargeByteBufToChunkedMessageEncoder
- encode(ChannelHandlerContext, 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, AddressedEnvelope<?, ?>, List<Object>) - Method in class org.drasyl.handler.codec.OverlayMessageToEnvelopeMessageCodec
- encode(ChannelHandlerContext, AddressedEnvelope<RmiMessage, SocketAddress>, List<Object>) - Method in class org.drasyl.handler.rmi.RmiCodec
- 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<CyclonMessage>, List<Object>) - Method in class org.drasyl.handler.membership.cyclon.CyclonCodec
- encode(ChannelHandlerContext, OverlayAddressedMessage<PubSubMessage>, List<Object>) - Method in class org.drasyl.handler.pubsub.PubSubCodec
- 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, ConnectionHandshakeSegment, List<Object>) - Method in class org.drasyl.handler.connection.ConnectionHandshakeCodec
- 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
- entries - Variable in class org.drasyl.handler.dht.chord.ChordFingerTable
- entrySet() - Method in class org.drasyl.util.ExpiringMap
- EPOCH_TIME_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- equals(Object) - Method in class org.drasyl.channel.InetAddressedMessage
- equals(Object) - Method in class org.drasyl.channel.OverlayAddressedMessage
- equals(Object) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
- equals(Object) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqData
- equals(Object) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
- equals(Object) - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- equals(Object) - Method in class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
- equals(Object) - Method in class org.drasyl.handler.discovery.AddPathEvent
- equals(Object) - Method in class org.drasyl.handler.membership.cyclon.CyclonNeighbor
- equals(Object) - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- equals(Object) - Method in class org.drasyl.handler.pubsub.PubSubPublish
- 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.rmi.message.RmiRequest
- equals(Object) - Method in class org.drasyl.handler.rmi.message.RmiResponse
- 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.GroupsClientConfig
- equals(Object) - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- 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.BloomFilter.Parameters
- equals(Object) - Method in class org.drasyl.util.ConcurrentReference
- equals(Object) - Method in class org.drasyl.util.EvictingQueue
- equals(Object) - Method in class org.drasyl.util.ImmutableByteArray
- equals(Object) - Method in class org.drasyl.util.MaskedString
- equals(Object) - Method in class org.drasyl.util.Pair
- equals(Object) - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- equals(Object) - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- equals(Object) - Method in class org.drasyl.util.Triple
- equals(Object) - Method in class org.drasyl.util.UnsignedByte
- equals(Object) - Method in class org.drasyl.util.UnsignedInteger
- equals(Object) - Method in class org.drasyl.util.UnsignedMediumInteger
- equals(Object) - Method in class org.drasyl.util.UnsignedShort
- equals(Object) - Method in class org.drasyl.util.Worm
- equalSocketAddress(InetSocketAddress, InetSocketAddress) - Static method in class org.drasyl.util.InetSocketAddressUtil
-
Checks equality of
a
andb
. - 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. - EvictingQueue<E> - Class in org.drasyl.util
-
A
Queue
that evicts head elements to ensure that the queue will not exceed its capacity when new elements are enqueued. - EvictingQueue(int) - Constructor for class org.drasyl.util.EvictingQueue
- EXCESSIVE_REMOTE_PEERS - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- ExpiringMap<K,
V> - Class in org.drasyl.util -
A
Map
that expires entries based on oldest age (when maximum size has been exceeded), write time, or last access time. - ExpiringMap(long, long, long) - Constructor for class org.drasyl.util.ExpiringMap
- ExpiringMap(long, long, long, BiConsumer<K, V>) - Constructor for class org.drasyl.util.ExpiringMap
- ExpiringSet<E> - Class in org.drasyl.util
-
A
Set
that expires elements based on oldest age (when maximum size has been exceeded) or write - ExpiringSet(long, long) - Constructor for class org.drasyl.util.ExpiringSet
- EXTERNAL_ADDRESS_REQUEST_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- EXTERNAL_ADDRESS_RESPONSE_OP - Static variable in class org.drasyl.util.protocol.NatPmpUtil
- EXTERNAL_IP_ADDRESS_TIMEOUT - Static variable in class org.drasyl.util.network.NetworkUtil
- EXTERNAL_SUGGESTED_ADDRESS_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- ExternalAddressResponseMessage(NatPmpUtil.ResultCode, int, InetAddress) - Constructor for class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- ExternalIpAddress(InetAddress) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
F
- FILE_SUFFIX - Static variable in class org.drasyl.handler.remote.LocalHostDiscovery
- filterOutboundMessage(Object) - Method in class org.drasyl.channel.DrasylChannel
- finAck(long, long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- find(Object, Class<?>, String) - Static method in class org.drasyl.util.TypeParameterMatcher
- findClosestFingerPreceding(long) - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- findClosestFingerPreceding(long) - Method in interface org.drasyl.handler.dht.chord.RemoteChordNode
-
Find the closest finger preceding.
- findSerializerFor(String) - Method in class org.drasyl.node.handler.serialization.Serialization
-
Returns the configured
Serializer
for the givenclazzName
. - findSuccessor(long) - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- findSuccessor(long) - Method in interface org.drasyl.handler.dht.chord.RemoteChordNode
-
Find successor for
id
. - finish(EventExecutor) - Method in class org.drasyl.util.FutureComposer
- first() - Method in class org.drasyl.util.InconsistentSortedSet
- first() - Method in class org.drasyl.util.network.Subnet
-
Returns the first
InetAddress
of this subnetwork. - first() - Method in class org.drasyl.util.Pair
- first() - Method in class org.drasyl.util.Triple
- firstElement(Set<E>) - Static method in class org.drasyl.util.SetUtil
-
Returns the first element from set
set
. - firstElements(Set<E>, int) - Static method in class org.drasyl.util.SetUtil
-
Returns the first
n
elements from setset
. - firstStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- fixFinger(int) - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- 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.connection.ConnectionHandshakePendWritesHandler
- 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(int) - Static method in enum org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage.Error
- from(short) - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
- from(short) - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- fromApplication(ByteBuf, 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.
- FutureComposer<T> - Class in org.drasyl.util
-
This utility class lat you chain up
Future
s. - 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.dht.chord.ChordFingerTable
- get(int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- get(Class<?>) - Static method in class org.drasyl.util.TypeParameterMatcher
- get(Object) - Method in class org.drasyl.util.ExpiringMap
- get(Object) - Method in class org.drasyl.util.HashSetMultimap
- get(Object) - Method in interface org.drasyl.util.Multimap
-
Returns the values that are associated to the specified
key
. - get(Object) - Method in interface org.drasyl.util.SetMultimap
- getAddress() - Method in class org.drasyl.handler.dht.chord.ChordResponse
- getAddress() - Method in interface org.drasyl.handler.discovery.PathEvent
- getAddress() - Method in class org.drasyl.handler.membership.cyclon.CyclonNeighbor
- 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.
- 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.
- getAge() - Method in class org.drasyl.handler.membership.cyclon.CyclonNeighbor
- 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
- getArguments() - Method in class org.drasyl.handler.rmi.message.RmiRequest
- 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
- getBindAddress() - Method in class org.drasyl.handler.remote.tcp.TcpServer.TcpServerBound
- getBindAddress() - Method in class org.drasyl.handler.remote.UdpServer.UdpServerBound
- getBit(int) - Method in class org.drasyl.util.BloomFilter
- getBit(int) - Method in class org.drasyl.util.CountingBloomFilter
- 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.HelloMessage
-
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
- getContact() - Method in class org.drasyl.handler.dht.chord.ChordLookup
- getContent() - Method in class org.drasyl.handler.pubsub.PubSubPublish
- 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, DrasylAddress) - 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.GroupUri
- getGroup() - Method in class org.drasyl.node.plugin.groups.client.message.GroupsPluginMessage
- 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.handler.dht.chord.ChordLookup
- getId() - Method in class org.drasyl.handler.dht.chord.ChordResponse
- getId() - Method in class org.drasyl.handler.pubsub.PubSubPublished
- getId() - Method in class org.drasyl.handler.pubsub.PubSubPublish
- getId() - Method in class org.drasyl.handler.rmi.message.RmiCancel
- getId() - Method in class org.drasyl.handler.rmi.message.RmiError
- getId() - Method in class org.drasyl.handler.rmi.message.RmiRequest
- getId() - Method in class org.drasyl.handler.rmi.message.RmiResponse
- 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.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(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.discovery.PathRttEvent
- getInetAddress(Config, String) - Static method in class org.drasyl.node.DrasylConfig
- getInetAddresses() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
-
Returns the ip address of the peer.
- 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.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(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(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 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.MemberJoinedMessage
- 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
- getMessage() - Method in class org.drasyl.handler.rmi.message.RmiError
- getMessageBufferSize() - Method in class org.drasyl.node.DrasylConfig
- getMetaData() - Method in class org.drasyl.node.plugin.groups.manager.database.jdbc.SingleConnectionWrapper
- getMethod() - Method in class org.drasyl.handler.rmi.message.RmiRequest
- 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.handler.rmi.message.RmiRequest
- 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
- getNeighbors() - Method in class org.drasyl.handler.membership.cyclon.CyclonShuffleRequest
- getNeighbors() - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- getNetworkGroup() - Static method in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
-
Use this
NioEventLoopGroup
for theDrasylNode
's network basedChannel
s (udp server, tcp client, etc.). - 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.tcp.TcpServer.TcpServerBound
- 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.
- getPredecessor() - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- getPredecessor() - Method in interface org.drasyl.handler.dht.chord.RemoteChordNode
-
Returns the predecessor.
- getPrivateAddresses() - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- getPrivateAddresses() - Method in class org.drasyl.handler.remote.internet.TraversingInternetDiscoveryChildrenHandler
- getPrivateInetAddresses() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
- 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 interface org.drasyl.handler.remote.protocol.FullReadMessage
-
Returns the
IdentityPublicKey
of the message recipient. - getRecipient() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
-
Returns the
IdentityPublicKey
of the message recipient. - getRecipient() - Method in class org.drasyl.handler.remote.protocol.PublicHeader
- getRecipient() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
- getRecipient() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- 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 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 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
- getRemoteHandshakeTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemoteLocalHostDiscoveryLeaseTime() - Method in class org.drasyl.node.DrasylConfig
- getRemoteLocalHostDiscoveryPath() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmApplicationAgreementExpireAfter() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmApplicationAgreementMaxCount() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmApplicationAgreementRetryInterval() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmProtocolSessionExpireAfter() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArmProtocolSessionMaxCount() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArqClock() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArqDeadPeerTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArqRetryTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageArqWindowSize() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageComposedMessageTransferTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageHopLimit() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageMaxContentLength() - Method in class org.drasyl.node.DrasylConfig
- getRemoteMessageMtu() - Method in class org.drasyl.node.DrasylConfig
- getRemotePingCommunicationTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemotePingInterval() - Method in class org.drasyl.node.DrasylConfig
- getRemotePingMaxPeers() - Method in class org.drasyl.node.DrasylConfig
- getRemotePingTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemoteStaticRoutes() - Method in class org.drasyl.node.DrasylConfig
- getRemoteSuperPeerEndpoints() - Method in class org.drasyl.node.DrasylConfig
- getRemoteTcpFallbackClientAddress() - Method in class org.drasyl.node.DrasylConfig
- getRemoteTcpFallbackClientTimeout() - Method in class org.drasyl.node.DrasylConfig
- getRemoteTcpFallbackServerBindHost() - Method in class org.drasyl.node.DrasylConfig
- getRemoteTcpFallbackServerBindPort() - Method in class org.drasyl.node.DrasylConfig
- getRemoteUniteMinInterval() - Method in class org.drasyl.node.DrasylConfig
- getResult() - Method in class org.drasyl.handler.rmi.message.RmiResponse
- getResultCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- getResultCode() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- getRtt() - Method in class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
- getRtt() - Method in class org.drasyl.handler.discovery.AddPathEvent
- getRtt() - Method in class org.drasyl.handler.discovery.PathRttEvent
- 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.
- getSignature() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
- 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
- getSuccessor() - Method in class org.drasyl.handler.dht.chord.ChordFingerTable
- getSuccessor() - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- getSuccessor() - Method in interface org.drasyl.handler.dht.chord.RemoteChordNode
-
Returns the successor.
- 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
HelloMessage.getTime()
value of the correspondingHelloMessage
. - getTime() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
-
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
- getTopic() - Method in class org.drasyl.handler.pubsub.PubSubPublish
- getTopic() - Method in class org.drasyl.handler.pubsub.PubSubSubscribe
- getTopic() - Method in class org.drasyl.handler.pubsub.PubSubUnsubscribe
- 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.UnsignedByte
- getValue() - Method in class org.drasyl.util.UnsignedInteger
- getValue() - Method in class org.drasyl.util.UnsignedMediumInteger
- getValue() - Method in class org.drasyl.util.UnsignedShort
- 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
- GoBackNArqMessage - Interface in org.drasyl.handler.arq.gobackn
-
Message of the Go-Back-N ARQ protocol.
- GoBackNArqReceiverHandler - Class in org.drasyl.handler.arq.gobackn
-
Performs the Go-Back-N ARQ receiver protocol.
- GoBackNArqReceiverHandler(Duration) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqReceiverHandler
- GoBackNArqReceiverHandler(UnsignedInteger, Duration) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqReceiverHandler
- GoBackNArqSenderHandler - Class in org.drasyl.handler.arq.gobackn
-
Performs the Go-Back-N ARQ sender protocol.
- GoBackNArqSenderHandler(int, Duration) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqSenderHandler
-
Creates a new GoBackNArqHandler.
- GoBackNArqSenderHandler(int, Duration, boolean) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqSenderHandler
-
Creates a new GoBackNArqHandler.
- GoBackNArqSenderHandler(int, Duration, UnsignedInteger, UnsignedInteger, boolean) - Constructor for class org.drasyl.handler.arq.gobackn.GoBackNArqSenderHandler
-
Creates a new GoBackNArqHandler.
- greaterThan(long, long, int) - Static method in class org.drasyl.util.SerialNumberArithmetic
- greaterThanOrEqualTo(long, long, int) - Static method in class org.drasyl.util.SerialNumberArithmetic
- green() - Method in class org.drasyl.util.Ansi
- GREEN - Enum constant in enum org.drasyl.util.Ansi.Color
- 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() - Constructor for class org.drasyl.node.plugin.groups.client.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.
- GroupJoinedEvent() - Constructor for class org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
- GroupJoinFailedEvent - Class in org.drasyl.node.plugin.groups.client.event
-
An event that signals, that a joining a specific group has failed.
- GroupJoinFailedEvent() - Constructor for class org.drasyl.node.plugin.groups.client.event.GroupJoinFailedEvent
- 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() - 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() - 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() - 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.
- GroupLeftEvent() - Constructor for class org.drasyl.node.plugin.groups.client.event.GroupLeftEvent
- GroupMemberJoinedEvent - Class in org.drasyl.node.plugin.groups.client.event
-
An event that signals that a new member joined a group.
- GroupMemberJoinedEvent() - Constructor for class org.drasyl.node.plugin.groups.client.event.GroupMemberJoinedEvent
- GroupMemberLeftEvent - Class in org.drasyl.node.plugin.groups.client.event
-
An event that signals that a member has left a group.
- GroupMemberLeftEvent() - Constructor for class org.drasyl.node.plugin.groups.client.event.GroupMemberLeftEvent
- 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 - Class in org.drasyl.node.plugin.groups.client.message
-
This message is send by the groups client to the server.
- GroupsClientMessage() - Constructor for class org.drasyl.node.plugin.groups.client.message.GroupsClientMessage
- GroupsClientMessageDecoder - Class in org.drasyl.node.plugin.groups.client
-
Decodes
ByteBuf
s toGroupsClientMessage
s. - GroupsClientMessageDecoder() - Constructor for class org.drasyl.node.plugin.groups.client.GroupsClientMessageDecoder
- GroupsClientMessageEncoder - Class in org.drasyl.node.plugin.groups.client
-
Encodes
GroupsClientMessage
s toByteBuf
s. - 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 - Class in org.drasyl.node.plugin.groups.client.message
-
Default class for all messages of the groups plugin.
- GroupsPluginMessage() - Constructor for class org.drasyl.node.plugin.groups.client.message.GroupsPluginMessage
- GroupsServerMessage - Class in org.drasyl.node.plugin.groups.client.message
-
This message is send by the groups server to the client.
- GroupsServerMessage() - Constructor for class org.drasyl.node.plugin.groups.client.message.GroupsServerMessage
- GroupsServerMessageEncoder - Class in org.drasyl.node.plugin.groups.client
-
Encodes
GroupsServerMessage
s toByteBuf
s. - 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() - 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.GoBackNArqReceiverHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqSenderHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.dht.chord.ChordHousekeepingHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.dht.chord.ChordJoinHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.membership.cyclon.CyclonShufflingClientHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.PeersRttHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.rmi.RmiClientHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.handler.dht.chord.ChordHousekeepingHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.handler.dht.chord.ChordJoinHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.handler.membership.cyclon.CyclonShufflingClientHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.handler.rmi.RmiClientHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.node.plugin.groups.client.GroupsClientHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.node.plugin.groups.manager.GroupsManagerHandler
- handshakeCompleted(DrasylChannel) - Method in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
- handshakeCompleted(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- handshakeFailed(ChannelHandlerContext, Throwable) - Method in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
- handshakeFailed(ChannelHandlerContext, Throwable) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- handshakeTimeout - Variable in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
- hashCode() - Method in class org.drasyl.channel.InetAddressedMessage
- hashCode() - Method in class org.drasyl.channel.OverlayAddressedMessage
- hashCode() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
- hashCode() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqData
- hashCode() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
- hashCode() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- hashCode() - Method in class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
- hashCode() - Method in class org.drasyl.handler.discovery.AddPathEvent
- hashCode() - Method in class org.drasyl.handler.membership.cyclon.CyclonNeighbor
- hashCode() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- hashCode() - Method in class org.drasyl.handler.pubsub.PubSubPublish
- 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.rmi.message.RmiRequest
- hashCode() - Method in class org.drasyl.handler.rmi.message.RmiResponse
- 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.GroupsClientConfig
- hashCode() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- 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.BloomFilter.Parameters
- hashCode() - Method in class org.drasyl.util.ConcurrentReference
- hashCode() - Method in class org.drasyl.util.EvictingQueue
- hashCode() - Method in class org.drasyl.util.ImmutableByteArray
- hashCode() - Method in class org.drasyl.util.MaskedString
- hashCode() - Method in class org.drasyl.util.Pair
- hashCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.ExternalAddressResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.NatPmpUtil.MappingUdpResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.PcpPortUtil.MappingResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.DiscoveryResponseMessage
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.ExternalIpAddress
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.MappingEntry
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.PortMapping
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.Service
- hashCode() - Method in class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- hashCode() - Method in class org.drasyl.util.Triple
- hashCode() - Method in class org.drasyl.util.UnsignedByte
- hashCode() - Method in class org.drasyl.util.UnsignedInteger
- hashCode() - Method in class org.drasyl.util.UnsignedMediumInteger
- hashCode() - Method in class org.drasyl.util.UnsignedShort
- hashCode() - Method in class org.drasyl.util.Worm
- hashes(E) - Method in class org.drasyl.util.BloomFilter
-
Calculates
k
hashes forelement
. - Hashing - Class in org.drasyl.crypto
-
Util class that provides hashing functions for drasyl.
- HashSetMultimap<K,
V> - Class in org.drasyl.util -
Hash table based implementation of the
SetMultimap
interface. - HashSetMultimap() - Constructor for class org.drasyl.util.HashSetMultimap
- HashSetMultimap(int, int) - Constructor for class org.drasyl.util.HashSetMultimap
- hasPosixSupport(Path) - Static method in class org.drasyl.util.PathUtil
-
Check if
path
's file system supports POSIX. - hasSuccessor() - Method in class org.drasyl.handler.dht.chord.ChordFingerTable
- headSet(E) - Method in class org.drasyl.util.InconsistentSortedSet
- HELLO - Enum constant in enum org.drasyl.handler.remote.protocol.PrivateHeader.MessageType
- HelloMessage - Class in org.drasyl.handler.remote.protocol
-
Describes a message that is used to announce this node to peers or to join a super node.
- HelloMessage() - Constructor for class org.drasyl.handler.remote.protocol.HelloMessage
- HexUtil - Class in org.drasyl.crypto
-
Util class that provides hexadecimal functions for drasyl.
- highestAgeAndOtherRandomNeighbors(int) - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- 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.channel.RelayOnlyDrasylServerChannelInitializer
- 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
-
Shortcut for calling
DrasylConfig.Builder.identityProofOfWork(ProofOfWork)
, andDrasylConfig.Builder.identitySecretKey(IdentitySecretKey)
. - 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_PATH - Static variable in class org.drasyl.node.DrasylConfig
- IDENTITY_PROOF_OF_WORK - Static variable in class org.drasyl.node.DrasylConfig
- IDENTITY_SECRET_KEY - Static variable in class org.drasyl.node.DrasylConfig
- IdentityFile - Class in org.drasyl.node
-
Class to read/write a
Identity
from/to a file. - IdentityManager - Class in org.drasyl.node.identity
- identityPath(Path) - Method in class org.drasyl.node.DrasylConfig.Builder
- identityProofOfWork(ProofOfWork) - 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
- 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
- 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
-
Returns a Proof of Work with nonce incremented by 1.
- InconsistentSortedSet<E> - Class in org.drasyl.util
-
A
SortedSet
where elements are ordered using their natural ordering, or by aComparator
provided at set creation time, depending on which constructor is used. - InconsistentSortedSet() - Constructor for class org.drasyl.util.InconsistentSortedSet
- InconsistentSortedSet(int) - Constructor for class org.drasyl.util.InconsistentSortedSet
- InconsistentSortedSet(Collection<? extends E>) - Constructor for class org.drasyl.util.InconsistentSortedSet
-
Constructs a new set containing the elements in the specified collection.
- InconsistentSortedSet(Comparator<? super E>) - Constructor for class org.drasyl.util.InconsistentSortedSet
-
Constructs a new, empty set, ordered according to the given comparator.
- increaseAgeByOne() - Method in class org.drasyl.handler.membership.cyclon.CyclonNeighbor
- increaseAgeByOne() - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- increment() - Method in class org.drasyl.handler.remote.protocol.HopCount
- increment() - Method in class org.drasyl.util.UnsignedInteger
- increment() - Method in class org.drasyl.util.UnsignedMediumInteger
- increment() - Method in class org.drasyl.util.UnsignedShort
- incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
- incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
-
Returns this message with incremented hop count.
- incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
-
Returns a copy of this message with incremented
RemoteMessage.getHopCount()
. - incrementHopCount() - Method in interface org.drasyl.handler.remote.protocol.FullReadMessage
-
Returns this message with incremented hop count.
- incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
- incrementHopCount() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
-
Returns a copy of this message with incremented
RemoteMessage.getHopCount()
. - incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Returns a copy of this message with incremented
RemoteMessage.getHopCount()
. - incrementHopCount() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- indexOf(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- InetAddressedMessage<M> - Class in org.drasyl.channel
-
A message that wraps another message with an
InetSocketAddress
. - InetAddressedMessage(M, InetSocketAddress) - Constructor for class org.drasyl.channel.InetAddressedMessage
- InetAddressedMessage(M, InetSocketAddress, InetSocketAddress) - Constructor for class org.drasyl.channel.InetAddressedMessage
- InetAddressUtil - Class in org.drasyl.util
-
Utility class for operations on
InetAddress
s. - 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.channel.ConnectionHandshakeChannelInitializer
- initChannel(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- initChannel(DrasylServerChannel) - Method in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- initChannel(DrasylServerChannel) - Method in class org.drasyl.channel.TraversingDrasylServerChannelInitializer
- initChannel(DrasylServerChannel) - Method in class org.drasyl.node.channel.DrasylNodeServerChannelInitializer
- initiateHandshake - Variable in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
- InputStreamHelper - Class in org.drasyl.util
-
Class that provides utils for
InputStream
s. - INSTANCE - Static variable in class org.drasyl.channel.ChannelDirectPathChanged
- 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 or multiple super peer(s) as a children.
- InternetDiscoveryChildrenHandler(int, IdentityPublicKey, IdentitySecretKey, ProofOfWork, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- InternetDiscoveryChildrenHandler(int, IdentityPublicKey, IdentitySecretKey, ProofOfWork, LongSupplier, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- InternetDiscoverySuperPeerHandler - Class in org.drasyl.handler.remote.internet
-
Operates as a super peer allowing other nodes to join as children.
- InternetDiscoverySuperPeerHandler(int, IdentityPublicKey, ProofOfWork, long, long, long, HopCount) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- InternPool<T> - Class in org.drasyl.util
-
Represents a pool of unique objects of type
T
. - InternPool() - Constructor for class org.drasyl.util.InternPool
- INTERVAL - Static variable in class org.drasyl.handler.logging.MessagesThroughputHandler
- 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
. - 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. - isAck() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- 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
- isDirectPathPresent() - Method in class org.drasyl.channel.DrasylChannel
-
Returns
true
if remote peer is reachable via a direct path. - isEmpty() - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- isEmpty() - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- isEmpty() - Method in class org.drasyl.util.BloomFilter
- isEmpty() - Method in class org.drasyl.util.EvictingQueue
- isEmpty() - Method in class org.drasyl.util.ExpiringMap
- isEmpty() - Method in class org.drasyl.util.ExpiringSet
- isEmpty() - Method in class org.drasyl.util.HashSetMultimap
- isEmpty() - Method in class org.drasyl.util.ImmutableByteArray
- isEmpty() - Method in class org.drasyl.util.InconsistentSortedSet
- isEmpty() - Method in interface org.drasyl.util.Multimap
-
Returns
true
if this multimap contains no entries. - 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
- isFin() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- isIdentityFilePresent(Path) - Static method in class org.drasyl.node.identity.IdentityManager
-
Returns
true
if the identity filepath
exists. - isInetAddress(String) - Static method in class org.drasyl.util.InetAddressUtil
-
Returns
true
ifaddress
is a valid. - isInfoEnabled() - Method in class org.drasyl.util.logging.JdkLogger
- isInfoEnabled() - Method in interface org.drasyl.util.logging.Logger
-
Is the logger instance enabled for the INFO level?
- isInfoEnabled() - Method in class org.drasyl.util.logging.Slf4JLogger
- isIntraVmDiscoveryEnabled() - Method in class org.drasyl.node.DrasylConfig
- isLastContentMessage(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- isOnlyAck() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- 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
. - isPsh() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- 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
- isRemoteMessageArqEnabled() - 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
- isRst() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- isSigned() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
-
Returns
true
if message is signed. - isStable() - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- isStable() - Method in interface org.drasyl.handler.dht.chord.RemoteChordNode
-
Check if node is stable (has successor and predecessor or neither).
- isStale() - Method in class org.drasyl.node.handler.crypto.Agreement
- isStartMessage(MessageChunk) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- isSyn() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- 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
- isUrg() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- isValid() - Method in class org.drasyl.identity.Identity
-
Validates the identity by checking whether the proof of work matches the public key.
- 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
- iterator() - Method in class org.drasyl.util.BloomFilter
-
Not supported.
- iterator() - Method in class org.drasyl.util.EvictingQueue
- iterator() - Method in class org.drasyl.util.ExpiringSet
- iterator() - Method in class org.drasyl.util.InconsistentSortedSet
- ithFingerStart(long, int) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
-
Returns the start id for the
i
th finger. - ithFingerStart(Object, int) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
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.
- join(DrasylAddress) - Method in class org.drasyl.handler.dht.chord.LocalChordNode
-
Join circle by contacting
contact
. - JSONUtil - Class in org.drasyl.node
-
Holder for the JSON serializer and JSON deserializer.
K
- k - Variable in class org.drasyl.util.BloomFilter.Parameters
- k() - Method in class org.drasyl.util.BloomFilter
-
Returns the number of hash functions.
- Key - Interface in org.drasyl.identity
- KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.IdentityPublicKey
- KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.IdentitySecretKey
- KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.KeyAgreementPublicKey
- KEY_LENGTH_AS_BYTES - Static variable in class org.drasyl.identity.KeyAgreementSecretKey
- KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.IdentityPublicKey
- KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.IdentitySecretKey
- KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.KeyAgreementPublicKey
- KEY_LENGTH_AS_STRING - Static variable in class org.drasyl.identity.KeyAgreementSecretKey
- KeyAgreementPublicKey - Class in org.drasyl.identity
-
This class models a curve25519 public key that is used for x25519 key exchange.
- KeyAgreementPublicKey() - Constructor for class org.drasyl.identity.KeyAgreementPublicKey
- KeyAgreementSecretKey - Class in org.drasyl.identity
-
This class models a curve25519 private key that is used for x25519 key exchange.
- KeyAgreementSecretKey() - Constructor for class org.drasyl.identity.KeyAgreementSecretKey
- KeyExchangeMessage - Class in org.drasyl.node.handler.crypto
- KeyExchangeMessage() - Constructor for class org.drasyl.node.handler.crypto.KeyExchangeMessage
- 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
- keySet() - Method in class org.drasyl.util.ExpiringMap
- keySet() - Method in class org.drasyl.util.HashSetMultimap
- keySet() - Method in interface org.drasyl.util.Multimap
-
Returns a
Set
with all the keys contained in this map.
L
- LargeByteBufToChunkedMessageEncoder - Class in org.drasyl.handler.stream
-
Encodes
ByteBuf
s exceedingLargeByteBufToChunkedMessageEncoder.maxChunkLength
toChunkedMessageInput
s. - LargeByteBufToChunkedMessageEncoder(int, int) - Constructor for class org.drasyl.handler.stream.LargeByteBufToChunkedMessageEncoder
- last() - Method in class org.drasyl.util.InconsistentSortedSet
- last() - Method in class org.drasyl.util.network.Subnet
-
Returns the last
InetAddress
of this subnetwork. - lastIndexOf(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- LastMessageChunk - Class in org.drasyl.handler.stream
-
Represents the very last chunk of a message that is too large to be transmitted as a whole.
- LastMessageChunk(byte, int, ByteBuf) - Constructor for class org.drasyl.handler.stream.LastMessageChunk
- 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.PrivateHeader
- LENGTH - Static variable in class org.drasyl.handler.remote.protocol.PublicHeader
- 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
- lessThan(long, long, int) - Static method in class org.drasyl.util.SerialNumberArithmetic
- lessThanOrEqualTo(long, long, int) - Static method in class org.drasyl.util.SerialNumberArithmetic
- 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
- LocalChordNode - Class in org.drasyl.handler.dht.chord
-
Our local Chord node.
- LocalChordNode(DrasylAddress, ChordFingerTable, RmiClientHandler) - Constructor for class org.drasyl.handler.dht.chord.LocalChordNode
- LocalChordNode(DrasylAddress, RmiClientHandler) - Constructor for class org.drasyl.handler.dht.chord.LocalChordNode
- LocalChordNode.DrasylAddressMixin - Interface in org.drasyl.handler.dht.chord
- LocalChordNode.IdentityPublicKeyMixin - Interface in org.drasyl.handler.dht.chord
- LocalHostDiscovery - Class in org.drasyl.handler.remote
-
Uses the file system to discover other drasyl nodes running on the local computer.
- LocalHostDiscovery(int, boolean, 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
orUdpBroadcastServer
, is used to discover other nodes on the local network via IP multicast or broadcast. - LocalNetworkDiscovery(int, long, long, IdentityPublicKey, ProofOfWork, InetSocketAddress) - Constructor for class org.drasyl.handler.remote.LocalNetworkDiscovery
- log(LogLevel, String) - Method in 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
- lookup(String, Class<T>, SocketAddress) - Method in class org.drasyl.handler.rmi.RmiClientHandler
-
Returns a stub class that will pass all method invocation to the binding
name
served byaddress
. - LoopbackHandler - Class in org.drasyl.handler
-
Converts outbound messages addresses to us into inbound messages.
- LoopbackHandler() - Constructor for class org.drasyl.handler.LoopbackHandler
M
- m - Variable in class org.drasyl.util.BloomFilter.Parameters
- m() - Method in class org.drasyl.util.BloomFilter
-
Returns the number of bits in the filter.
- MAGENTA - Enum constant in enum org.drasyl.util.Ansi.Color
- MAGIC_NUMBER - Static variable in class org.drasyl.handler.connection.ConnectionHandshakeCodec
- MAGIC_NUMBER - Static variable in interface org.drasyl.handler.remote.protocol.RemoteMessage
- MAGIC_NUMBER_ACK - Static variable in class org.drasyl.handler.arq.gobackn.GoBackNArqCodec
- MAGIC_NUMBER_ACK - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqCodec
- MAGIC_NUMBER_CANCEL - Static variable in class org.drasyl.handler.rmi.RmiCodec
- 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_ERROR - Static variable in class org.drasyl.handler.rmi.RmiCodec
- MAGIC_NUMBER_FAILED - Static variable in class org.drasyl.node.plugin.groups.client.GroupsServerMessageEncoder
- MAGIC_NUMBER_JOIN - Static variable in class org.drasyl.node.plugin.groups.client.GroupsClientMessageEncoder
- MAGIC_NUMBER_JOINED - Static variable in class org.drasyl.node.plugin.groups.client.GroupsServerMessageEncoder
- MAGIC_NUMBER_LAST - Static variable in class org.drasyl.handler.stream.MessageChunkEncoder
- MAGIC_NUMBER_LEAVE - Static variable in class org.drasyl.node.plugin.groups.client.GroupsClientMessageEncoder
- MAGIC_NUMBER_LEFT - Static variable in class org.drasyl.node.plugin.groups.client.GroupsServerMessageEncoder
- MAGIC_NUMBER_REQUEST - Static variable in class org.drasyl.handler.membership.cyclon.CyclonCodec
- MAGIC_NUMBER_REQUEST - Static variable in class org.drasyl.handler.rmi.RmiCodec
- MAGIC_NUMBER_RESPONSE - Static variable in class org.drasyl.handler.membership.cyclon.CyclonCodec
- MAGIC_NUMBER_RESPONSE - Static variable in class org.drasyl.handler.rmi.RmiCodec
- MAGIC_NUMBER_WELCOME - Static variable in class org.drasyl.node.plugin.groups.client.GroupsServerMessageEncoder
- 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_ID - Static variable in class org.drasyl.handler.dht.chord.ChordLookup
- MAX_PEERS - Static variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- MAX_PORT_NUMBER - Static variable in class org.drasyl.util.network.NetworkUtil
-
The maximum server port number.
- MAX_SEQ_NO - Static variable in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- MAX_TIME_OFFSET_MILLIS - Static variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- MAX_VALUE - Static variable in class org.drasyl.util.UnsignedByte
- MAX_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
- MAX_VALUE - Static variable in class org.drasyl.util.UnsignedMediumInteger
- MAX_VALUE - Static variable in class org.drasyl.util.UnsignedShort
- MaxLengthFrameDecoder - Class in org.drasyl.handler.codec
-
A decoder that splits received
ByteBuf
s into frames not larger thenMaxLengthFrameDecoder.maxFrameLength
. - MaxLengthFrameDecoder(int) - Constructor for class org.drasyl.handler.codec.MaxLengthFrameDecoder
-
Creates a new instance.
- MaxLengthFrameEncoder - Class in org.drasyl.handler.codec
-
An encoder that splits received
ByteBuf
s into frames not larger thenMaxLengthFrameEncoder.maxFrameLength
. - MaxLengthFrameEncoder(int) - Constructor for class org.drasyl.handler.codec.MaxLengthFrameEncoder
-
Creates a new instance.
- maxPeers - Variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- maxTimeOffsetMillis - Variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- maxTimeOffsetMillis - Variable in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- 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() - 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() - 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
. - merge(BloomFilter<E>) - Method in class org.drasyl.util.BloomFilter
-
Merges this filter with
other
. - merge(BloomFilter<E>) - Method in class org.drasyl.util.CountingBloomFilter
- 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, int, 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(int) - Constructor for class org.drasyl.handler.stream.MessageChunkDecoder
- MessageChunkEncoder - Class in org.drasyl.handler.stream
-
Encodes
MessageChunk
s toByteBuf
s. - MessageChunkEncoder(int) - 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, 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
. - 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.handler.remote.protocol.UniteMessage
- 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_LENGTH - Static variable in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- 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.connection.ConnectionHandshakeCodec
- MIN_MESSAGE_LENGTH - Static variable in class org.drasyl.handler.membership.cyclon.CyclonCodec
- MIN_MESSAGE_LENGTH - Static variable in class org.drasyl.handler.pubsub.PubSubCodec
- MIN_MESSAGE_LENGTH - Static variable in class org.drasyl.handler.rmi.RmiCodec
- 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_SEQ_NO - Static variable in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- MIN_SIGNED_LENGTH - Static variable in class org.drasyl.handler.remote.protocol.HelloMessage
- MIN_TIMEOUT - Static variable in class org.drasyl.node.plugin.groups.client.GroupUri
- MIN_UNSIGNED_LENGTH - Static variable in class org.drasyl.handler.remote.protocol.HelloMessage
- MIN_VALUE - Static variable in class org.drasyl.util.UnsignedByte
- MIN_VALUE - Static variable in class org.drasyl.util.UnsignedInteger
- MIN_VALUE - Static variable in class org.drasyl.util.UnsignedMediumInteger
- MIN_VALUE - Static variable in class org.drasyl.util.UnsignedShort
- msgId() - Method in class org.drasyl.handler.stream.MessageChunk
- MULTICAST_ADDRESS - Static variable in class org.drasyl.handler.remote.UdpMulticastServer
- Multimap<K,
V> - Interface in org.drasyl.util -
A map in which more than one value may be associated with and returned for a given key
- Murmur3 - Class in org.drasyl.util
-
This class contains methods for MurmurHash3 generation.
- murmur3_x86_32(byte[]) - Static method in class org.drasyl.util.Murmur3
-
Generates a MurmurHash3 x86 32-bit hash without seed.
- murmur3_x86_32(byte[], int) - Static method in class org.drasyl.util.Murmur3
-
Generates a MurmurHash3 x86 32-bit hash.
- murmur3_x86_32BytesLE(byte[]) - Static method in class org.drasyl.util.Murmur3
-
Generates a MurmurHash3 x86 32-bit hash without seed with Little Endian Byte Order.
- murmur3_x86_32BytesLE(byte[], int) - Static method in class org.drasyl.util.Murmur3
-
Generates a MurmurHash3 x86 32-bit hash with Little Endian Byte Order.
- murmur3_x86_32LE(byte[]) - Static method in class org.drasyl.util.Murmur3
-
Generates a MurmurHash3 x86 32-bit hash without seed with Little Endian Byte Order.
- murmur3_x86_32LE(byte[], int) - Static method in class org.drasyl.util.Murmur3
-
Generates a MurmurHash3 x86 32-bit hash with Little Endian Byte Order.
- MUST_BE_IN_RANGE - Static variable in class org.drasyl.util.Preconditions
- MUST_BE_NON_NEGATIVE - Static variable in class org.drasyl.util.Preconditions
- MUST_BE_POSITIVE - 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
- n - Variable in class org.drasyl.util.BloomFilter.Parameters
- n() - Method in class org.drasyl.util.BloomFilter
-
Returns the number of items in the filter.
- 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
- netmask() - Method in class org.drasyl.util.network.Subnet
- netmaskLength() - Method in class org.drasyl.util.network.Subnet
- network() - Method in class org.drasyl.util.network.Subnet
- NETWORK_DEFAULT_THREADS - Static variable in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
- 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.channel.RelayOnlyDrasylServerChannelInitializer
- NETWORK_ID - Static variable in class org.drasyl.node.DrasylConfig
- networkId - Variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- networkId(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- networkSize() - Method in class org.drasyl.util.network.Subnet
-
Returns the size of this subnetwork.
- NetworkUtil - Class in org.drasyl.util.network
-
Utility class for network-related operations.
- 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 event signals that the node has terminated normally.
- NodeNormalTerminationEvent() - Constructor for class org.drasyl.node.event.NodeNormalTerminationEvent
- NodeOfflineEvent - Class in org.drasyl.node.event
-
This event signals that the node is currently not connected to a super peer.
- NodeOfflineEvent() - Constructor for class org.drasyl.node.event.NodeOfflineEvent
- NodeOnlineEvent - Class in org.drasyl.node.event
-
This event signals that the node is currently connected to a super peer.
- NodeOnlineEvent() - Constructor for class org.drasyl.node.event.NodeOnlineEvent
- NodeUnrecoverableErrorEvent - Class in org.drasyl.node.event
-
This event signals that the node encountered an unrecoverable error.
- NodeUnrecoverableErrorEvent() - Constructor for class org.drasyl.node.event.NodeUnrecoverableErrorEvent
- NodeUpEvent - Class in org.drasyl.node.event
-
This event signals that the node has been started.
- NodeUpEvent() - Constructor for class org.drasyl.node.event.NodeUpEvent
- 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
- nth(int) - Method in class org.drasyl.util.network.Subnet
-
Returns the
n
-thInetAddress
of this subnetwork. - 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
- numberOfLeadingZeros(byte) - Static method in class org.drasyl.util.ByteUtil
-
Returns the number of leading zero bits (highest-order / "leftmost") of the specified
byte
value. - numberOfTrailingZeros(byte) - Static method in class org.drasyl.util.ByteUtil
-
Returns the number of trailing zero bits (lowed-order / "rightmost") of the specified
byte
value. - numberToHumanData(Number) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) multiple-byte number. - numberToHumanData(Number, short) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) multiple-byte number. - numberToHumanData(Number, short, Locale) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) multiple-byte number. - numberToHumanData(Number, Locale) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) multiple-byte number. - numberToHumanDataRate(Number) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) data-rate. - numberToHumanDataRate(Number, short) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) data-rate. - numberToHumanDataRate(Number, short, Locale) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) data-rate. - numberToHumanDataRate(Number, Locale) - Static method in class org.drasyl.util.NumberUtil
-
Takes a
Number
with bytes and returns it as a formatted SI (metric) data-rate. - NumberUtil - Class in org.drasyl.util
-
Utility class for number-related operations.
O
- OBJECT_MAPPER - Static variable in class org.drasyl.handler.rmi.RmiUtil
- 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.util.UnsignedByte
-
Creates a new
UnsignedShort
. - of(byte[]) - Static method in class org.drasyl.handler.remote.protocol.Nonce
- of(byte[]) - Static method in class org.drasyl.identity.IdentityPublicKey
-
Converts a byte[] into a
IdentityPublicKey
. - of(byte[]) - Static method in class org.drasyl.identity.IdentitySecretKey
-
Converts a byte[] into a
IdentitySecretKey
. - of(byte[]) - Static method in class org.drasyl.identity.KeyAgreementPublicKey
-
Converts a byte[] into a
KeyAgreementPublicKey
. - of(byte[]) - Static method in class org.drasyl.identity.KeyAgreementSecretKey
-
Converts a byte[] into a
KeyAgreementSecretKey
. - of(byte[]) - Static method in class org.drasyl.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.UnsignedMediumInteger
-
Creates a new
UnsignedMediumInteger
. - of(byte[]) - Static method in class org.drasyl.util.UnsignedShort
-
Creates a new
UnsignedShort
. - of(byte[], byte[]) - Static method in class org.drasyl.crypto.sodium.SessionPair
- of(int) - Static method in class org.drasyl.handler.remote.protocol.HopCount
-
Creates a new hop count value with given value.
- of(int) - Static method in class org.drasyl.identity.ProofOfWork
- of(int) - Static method in class org.drasyl.util.UnsignedMediumInteger
-
Creates a new
UnsignedMediumInteger
. - of(int) - Static method in class org.drasyl.util.UnsignedShort
-
Creates a new
UnsignedShort
. - of(int, int, ByteBuf) - Static method in class org.drasyl.handler.rmi.message.RmiRequest
- 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, Set<CyclonNeighbor>) - Static method in class org.drasyl.handler.membership.cyclon.CyclonView
- of(int, DrasylAddress, IdentityPublicKey, ProofOfWork) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
-
Creates a new
HelloMessage
. - of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, long) - Static method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
- of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, long, long, IdentitySecretKey, Set<InetSocketAddress>) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
-
Creates a new
HelloMessage
. - of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, long, IdentitySecretKey, Set<InetSocketAddress>) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
-
Creates a new
HelloMessage
. - of(int, DrasylAddress, IdentityPublicKey, ProofOfWork, DrasylAddress, Set<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.HelloMessage
-
Creates a new multicast
HelloMessage
(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(long) - Static method in class org.drasyl.util.UnsignedInteger
-
Creates a new
UnsignedInteger
. - of(long, DrasylAddress) - Static method in class org.drasyl.handler.dht.chord.ChordResponse
- of(short) - Static method in class org.drasyl.handler.remote.protocol.HopCount
-
Creates a new hop count value with given value.
- of(short) - Static method in class org.drasyl.util.UnsignedByte
-
Creates a new
UnsignedByte
. - of(A, B) - Static method in class org.drasyl.util.Pair
-
Obtains a tuple of two elements inferring the generic types.
- of(A, B, C) - Static method in class org.drasyl.util.Triple
-
Obtains a tuple of three elements inferring the generic types.
- of(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(ByteBuf) - Static method in class org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage
- of(ByteBuf) - Static method in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- of(ByteBuf) - Static method in class org.drasyl.node.plugin.groups.client.message.GroupLeaveMessage
- of(ByteBuf) - Static method in class org.drasyl.node.plugin.groups.client.message.GroupWelcomeMessage
- of(ByteBuf) - Static method in class org.drasyl.node.plugin.groups.client.message.MemberJoinedMessage
- of(ByteBuf) - Static method in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- of(File) - Static method in class org.drasyl.handler.remote.LocalHostPeerInformation
- of(String) - Static method in interface org.drasyl.handler.dht.chord.LocalChordNode.IdentityPublicKeyMixin
- of(String) - Static method in class org.drasyl.handler.pubsub.PubSubSubscribe
- of(String) - Static method in class org.drasyl.handler.pubsub.PubSubUnsubscribe
- 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 class org.drasyl.identity.ProofOfWork
- 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
-
Creates a new group with the given
name
. - 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, ByteBuf) - Static method in class org.drasyl.handler.pubsub.PubSubPublish
- 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(Set<CyclonNeighbor>) - Static method in class org.drasyl.handler.membership.cyclon.CyclonShuffleRequest
- of(Set<CyclonNeighbor>) - Static method in class org.drasyl.handler.membership.cyclon.CyclonShuffleResponse
- of(UUID) - Static method in class org.drasyl.handler.rmi.message.RmiCancel
- of(UUID, int, int, ByteBuf) - Static method in class org.drasyl.handler.rmi.message.RmiRequest
- of(UUID, ByteBuf) - Static method in class org.drasyl.handler.rmi.message.RmiResponse
- of(UUID, String) - Static method in class org.drasyl.handler.rmi.message.RmiError
- of(UUID, Throwable) - Static method in class org.drasyl.handler.rmi.message.RmiError
- of(CyclonNeighbor...) - Static method in class org.drasyl.handler.membership.cyclon.CyclonShuffleRequest
- of(CyclonNeighbor...) - Static method in class org.drasyl.handler.membership.cyclon.CyclonShuffleResponse
- of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork) - Static method in class org.drasyl.handler.remote.protocol.PublicHeader
- of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, long) - Static method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
-
Creates new acknowledgement message.
- of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, long, long, IdentitySecretKey, Set<InetSocketAddress>) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
-
Creates new
HelloMessage
. - of(HopCount, boolean, int, Nonce, DrasylAddress, DrasylAddress, ProofOfWork, long, long, ImmutableByteArray, Set<InetSocketAddress>) - Static method in class org.drasyl.handler.remote.protocol.HelloMessage
-
Creates a new
HelloMessage
. - 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, Set<InetSocketAddress>) - 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.handler.membership.cyclon.CyclonNeighbor
- of(DrasylAddress) - Static method in class org.drasyl.node.event.Peer
- of(DrasylAddress, int) - Static method in class org.drasyl.handler.membership.cyclon.CyclonNeighbor
- of(DrasylAddress, long) - Static method in class org.drasyl.handler.dht.chord.ChordLookup
- of(DrasylAddress, long, boolean) - Static method in class org.drasyl.handler.dht.chord.ChordLookup
- 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.AddPathEvent
- of(DrasylAddress, InetSocketAddress, Object, long) - Static method in class org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
- of(DrasylAddress, InetSocketAddress, Object, long) - Static method in class org.drasyl.handler.discovery.AddPathEvent
- of(DrasylAddress, InetSocketAddress, Object, long) - Static method in class org.drasyl.handler.discovery.PathRttEvent
- 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(IdentityPublicKey, Group) - Static method in class org.drasyl.node.plugin.groups.client.message.MemberJoinedMessage
- of(IdentityPublicKey, Group) - Static method in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- 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) - Static method in class org.drasyl.node.plugin.groups.client.message.GroupLeaveMessage
- of(Group, Runnable) - Static method in class org.drasyl.node.plugin.groups.client.event.GroupLeftEvent
- of(Group, String, ProofOfWork, boolean) - Static method in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- of(Group, Set<IdentityPublicKey>) - Static method in class org.drasyl.node.plugin.groups.client.message.GroupWelcomeMessage
- of(Group, Set<IdentityPublicKey>, Runnable) - Static method in class org.drasyl.node.plugin.groups.client.event.GroupJoinedEvent
- of(Group, GroupJoinFailedMessage.Error) - Static method in class org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage
- 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(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
. - offer(E) - Method in class org.drasyl.util.EvictingQueue
- offerAsPredecessor() - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- offerAsPredecessor() - Method in interface org.drasyl.handler.dht.chord.RemoteChordNode
-
Offers callee to set caller as new predecessor.
- ofKeys(int, Collection<DrasylAddress>) - Static method in class org.drasyl.handler.membership.cyclon.CyclonView
- 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 - package org.drasyl.handler
- 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.connection - package org.drasyl.handler.connection
-
Connection-oriented communication with peers.
- org.drasyl.handler.dht.chord - package org.drasyl.handler.dht.chord
-
Chord-based distributed hash table.
- 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.membership.cyclon - package org.drasyl.handler.membership.cyclon
-
CYCLON membership management.
- org.drasyl.handler.monitoring - package org.drasyl.handler.monitoring
-
Logs channel events/messages for monitoring purpose.
- org.drasyl.handler.pubsub - package org.drasyl.handler.pubsub
- 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.rmi - package org.drasyl.handler.rmi
- org.drasyl.handler.rmi.annotation - package org.drasyl.handler.rmi.annotation
- org.drasyl.handler.rmi.message - package org.drasyl.handler.rmi.message
- 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.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
- OverlayMessageToEnvelopeMessageCodec - Class in org.drasyl.handler.codec
-
Encodes
OverlayAddressedMessage
s toAddressedEnvelope
messages and vice versa. - OverlayMessageToEnvelopeMessageCodec() - Constructor for class org.drasyl.handler.codec.OverlayMessageToEnvelopeMessageCodec
P
- p - Variable in class org.drasyl.util.BloomFilter.Parameters
- p() - Method in class org.drasyl.util.BloomFilter
-
Returns the probability of false positives, fraction between 0 and 1.
- Pair<A,
B> - Class in org.drasyl.util -
A tuple of two elements.
- parameters - Variable in class org.drasyl.util.BloomFilter
- Parameters(int, double, int, int) - Constructor for class org.drasyl.util.BloomFilter.Parameters
- PARENT_DEFAULT_THREADS - Static variable in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
- parseFile(File) - Static method in class org.drasyl.node.DrasylConfig
-
Parses a file into a Config instance.
- parseFile(String) - Static method in class org.drasyl.node.DrasylConfig
-
Parses a file path into a Config instance.
- parseFile(Path) - Static method in class org.drasyl.node.DrasylConfig
-
Parses a file path into a Config instance.
- 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 string into a Config instance.
- 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
- PathRttEvent - Class in org.drasyl.handler.discovery
-
Signals that a new RTT measurement for a routing path has been performed to
PathEvent.getAddress()
. - PathRttEvent() - Constructor for class org.drasyl.handler.discovery.PathRttEvent
- 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
- peek() - Method in class org.drasyl.util.EvictingQueue
- 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
- peers() - Method in class org.drasyl.handler.PeersRttHandler.PeersRttReport
- 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
- PeersRttHandler - Class in org.drasyl.handler
-
A
ChannelHandler
that tracks allPathEvent
s containing RTT information and generates some statistics that are periodically passed to the channel as anPeersRttHandler.PeersRttReport
event. - PeersRttHandler() - Constructor for class org.drasyl.handler.PeersRttHandler
- PeersRttHandler(PrintStream, long) - Constructor for class org.drasyl.handler.PeersRttHandler
- PeersRttHandler.PeersRttReport - Class in org.drasyl.handler
- PeersRttReport(Map<DrasylAddress, PeersRttHandler.PeerRtt>) - Constructor for class org.drasyl.handler.PeersRttHandler.PeersRttReport
- 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
- PING_COMMUNICATION_TIMEOUT_MILLIS - Static variable in class org.drasyl.channel.TraversingDrasylServerChannelInitializer
- PING_INTERVAL_MILLIS - Static variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- PING_TIMEOUT_MILLIS - Static variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- pingIntervalMillis - Variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- pingTimeoutMillis - Variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- 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
- poll() - Method in class org.drasyl.util.EvictingQueue
- 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
- 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
- protocolArmEnabled - Variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- 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
- pshAck(long, long, ByteBuf) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- 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
- PubSubBrokerHandler - Class in org.drasyl.handler.pubsub
-
This handler handles subscribers and publications.
- PubSubBrokerHandler() - Constructor for class org.drasyl.handler.pubsub.PubSubBrokerHandler
- PubSubCodec - Class in org.drasyl.handler.pubsub
-
Encodes
PubSubMessage
s toByteBuf
s and vice versa. - PubSubCodec() - Constructor for class org.drasyl.handler.pubsub.PubSubCodec
- PubSubPublish - Class in org.drasyl.handler.pubsub
-
Published
DefaultByteBufHolder.content()
()} to topicPubSubPublish.getTopic()
. - PubSubPublished - Class in org.drasyl.handler.pubsub
-
Confirmation of a previous sent
PubSubPublish
message. - PubSubPublished() - Constructor for class org.drasyl.handler.pubsub.PubSubPublished
- PubSubPublishHandler - Class in org.drasyl.handler.pubsub
-
This handler sends
PubSubPublish
messages to thePubSubPublishHandler.broker
. - PubSubPublishHandler(Duration, DrasylAddress) - Constructor for class org.drasyl.handler.pubsub.PubSubPublishHandler
- PubSubPublishHandler(DrasylAddress) - Constructor for class org.drasyl.handler.pubsub.PubSubPublishHandler
- PubSubSubscribe - Class in org.drasyl.handler.pubsub
-
Subscribes to topic
PubSubSubscribe.getTopic()
. - PubSubSubscribe() - Constructor for class org.drasyl.handler.pubsub.PubSubSubscribe
- PubSubSubscribed - Class in org.drasyl.handler.pubsub
-
Confirmation of a previous sent
PubSubSubscribe
message. - PubSubSubscribed() - Constructor for class org.drasyl.handler.pubsub.PubSubSubscribed
- PubSubSubscribeHandler - Class in org.drasyl.handler.pubsub
-
This handler subscribes to topics.
- PubSubSubscribeHandler(Duration, DrasylAddress) - Constructor for class org.drasyl.handler.pubsub.PubSubSubscribeHandler
- PubSubSubscribeHandler(DrasylAddress) - Constructor for class org.drasyl.handler.pubsub.PubSubSubscribeHandler
- PubSubUnsubscribe - Class in org.drasyl.handler.pubsub
-
Unsubscribes from topic
PubSubUnsubscribe.getTopic()
. - PubSubUnsubscribe() - Constructor for class org.drasyl.handler.pubsub.PubSubUnsubscribe
- PubSubUnsubscribed - Class in org.drasyl.handler.pubsub
-
Confirmation of a previous sent
PubSubUnsubscribe
message. - PubSubUnsubscribed() - Constructor for class org.drasyl.handler.pubsub.PubSubUnsubscribed
- purple() - Method in class org.drasyl.util.Ansi
- put(K, V) - Method in class org.drasyl.util.ExpiringMap
- put(K, V) - Method in class org.drasyl.util.HashSetMultimap
- put(K, V) - Method in interface org.drasyl.util.Multimap
-
Associates the specified
value
with the specifiedkey
in this map. - putAll(Map<? extends K, ? extends V>) - Method in class org.drasyl.util.ExpiringMap
- putAll(K, Collection<? extends V>) - Method in class org.drasyl.util.HashSetMultimap
- putAll(K, Collection<? extends V>) - Method in interface org.drasyl.util.Multimap
-
Associates the specified
values
with the specifiedkey
in this map. - putAll(K, V...) - Method in class org.drasyl.util.HashSetMultimap
- putAll(K, V...) - Method in interface org.drasyl.util.Multimap
-
Associates the specified
values
with the specifiedkey
in this map.
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
. - randomNeighbors(int) - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- randomNonce() - Static method in class org.drasyl.handler.remote.protocol.Nonce
-
Static factory to retrieve a randomly generated
Nonce
. - randomNumber(int) - Static method in class org.drasyl.crypto.Crypto
-
Generates a random number with the static
SecureRandom
of this class. - randomString(int) - Static method in class org.drasyl.crypto.Crypto
-
Generates a secure random HEX String with the given
entropy
of bytes. - randomString(int) - Static method in class org.drasyl.util.RandomUtil
-
Returns a string of the given
length
containing pseudorandom alphanumeric characters. - RandomUtil - Class in org.drasyl.util
-
Utility class for receiving pseudorandom values.
- RateLimitedQueue(long) - Constructor for class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
- RateLimiter - Class in org.drasyl.handler.remote
-
This handler rate limits
AcknowledgementMessage
,HelloMessage
, andUniteMessage
messages addressed to us. - RateLimiter() - Constructor for class org.drasyl.handler.remote.RateLimiter
- rcvNxt() - Method in class org.drasyl.handler.connection.ConnectionHandshakeCompleted
-
Returns the state that has been received from the remote peer.
- 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
- readFrom(File) - Static method in class org.drasyl.node.IdentityFile
- readFrom(InputStream) - Static method in class org.drasyl.node.IdentityFile
- readFrom(String) - Static method in class org.drasyl.node.IdentityFile
- readFrom(Path) - Static method in class org.drasyl.node.IdentityFile
- readIdentityFile(Path) - Static method in class org.drasyl.node.identity.IdentityManager
-
Reads the identity from
code
. - 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
- rebind(String, Object) - Method in class org.drasyl.handler.rmi.RmiServerHandler
-
Replaces the binding (if any) for the specified
name
and makesobject
available for remote method invocation. - 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
- REFRESH_INTERVAL_SAFETY_MARGIN - Static variable in class org.drasyl.handler.remote.LocalHostDiscovery
- register() - Method in class org.drasyl.crypto.sodium.Sodium
- relativeChordId(long, long) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
- relativeChordId(long, Object) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
- relativeChordId(Object, long) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
- relativeChordId(Object, Object) - Static method in class org.drasyl.handler.dht.chord.ChordUtil
- 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
- RelayOnlyDrasylServerChannelInitializer - Class in org.drasyl.channel
-
A
ChannelInitializer
forDrasylServerChannel
s that relays all messages through super peers. - RelayOnlyDrasylServerChannelInitializer(Identity, NioEventLoopGroup) - Constructor for class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
bindPort
,networkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, and enabled control plane message arming. - RelayOnlyDrasylServerChannelInitializer(Identity, NioEventLoopGroup, int) - Constructor for class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
networkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, and enabled control plane message arming. - RelayOnlyDrasylServerChannelInitializer(Identity, NioEventLoopGroup, InetSocketAddress) - Constructor for class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
networkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, and enabled control plane message arming. - RelayOnlyDrasylServerChannelInitializer(Identity, NioEventLoopGroup, InetSocketAddress, int, Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, and enabled control plane message arming. - RelayOnlyDrasylServerChannelInitializer(Identity, NioEventLoopGroup, InetSocketAddress, int, Map<IdentityPublicKey, InetSocketAddress>, boolean) - Constructor for class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
, andmaxPeers
. - RelayOnlyDrasylServerChannelInitializer(Identity, NioEventLoopGroup, InetSocketAddress, int, Map<IdentityPublicKey, InetSocketAddress>, boolean, int, int, int, int) - Constructor for class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- 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
- 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_HANDSHAKE_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_HOST_DISCOVERY_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_HOST_DISCOVERY_LEASE_TIME - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_HOST_DISCOVERY_PATH - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_HOST_DISCOVERY_WATCH_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_LOCAL_NETWORK_DISCOVERY_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_APPLICATION_AGREEMENT_EXPIRE_AFTER - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_APPLICATION_AGREEMENT_MAX_COUNT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_APPLICATION_AGREEMENT_RETRY_INTERVAL - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_APPLICATION_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_PROTOCOL_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_PROTOCOL_SESSION_EXPIRE_AFTER - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARM_PROTOCOL_SESSION_MAX_COUNT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARQ_CLOCK - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARQ_DEAD_PEER_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARQ_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARQ_RETRY_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_ARQ_WINDOW_SIZE - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_COMPOSED_MESSAGE_TRANSFER_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_HOP_LIMIT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_MAX_CONTENT_LENGTH - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_MESSAGE_MTU - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_PING_COMMUNICATION_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_PING_INTERVAL - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_PING_MAX_PEERS - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_PING_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_STATIC_ROUTES - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_SUPER_PEER_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_SUPER_PEER_ENDPOINTS - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_CLIENT_ADDRESS - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_CLIENT_TIMEOUT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_ENABLED - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_SERVER_BIND_HOST - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_TCP_FALLBACK_SERVER_BIND_PORT - Static variable in class org.drasyl.node.DrasylConfig
- REMOTE_UNITE_MIN_INTERVAL - Static variable in class org.drasyl.node.DrasylConfig
- 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
- RemoteChordNode - Interface in org.drasyl.handler.dht.chord
-
Remote interface of a Chord node.
- remoteEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteEndpoints(Set<PeerEndpoint>) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteExposeEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteHandshakeTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalHostDiscoveryEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalHostDiscoveryLeaseTime(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalHostDiscoveryPath(Path) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalHostDiscoveryWatchEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteLocalNetworkDiscoveryEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- 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
- remoteMessageArqClock(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArqDeadPeerTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArqEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArqRetryTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageArqWindowSize(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageComposedMessageTransferTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageHopLimit(byte) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageMaxContentLength(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteMessageMtu(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remotePingCommunicationTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remotePingInterval(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remotePingMaxPeers(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remotePingTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteStaticRoutes(Map<DrasylAddress, InetSocketAddress>) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteSuperPeerEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteSuperPeerEndpoints(Set<PeerEndpoint>) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackClientAddress(InetSocketAddress) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackClientTimeout(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackEnabled(boolean) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackServerBindHost(InetAddress) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteTcpFallbackServerBindPort(int) - Method in class org.drasyl.node.DrasylConfig.Builder
- remoteUniteMinInterval(Duration) - Method in class org.drasyl.node.DrasylConfig.Builder
- 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() - Method in class org.drasyl.util.EvictingQueue
- remove(int) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- remove(Object) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- remove(Object) - Method in class org.drasyl.util.BloomFilter
-
Not supported.
- remove(Object) - Method in class org.drasyl.util.CountingBloomFilter
- remove(Object) - Method in class org.drasyl.util.EvictingQueue
- remove(Object) - Method in class org.drasyl.util.ExpiringMap
- remove(Object) - Method in class org.drasyl.util.ExpiringSet
- remove(Object) - Method in class org.drasyl.util.InconsistentSortedSet
- remove(K, V) - Method in class org.drasyl.util.HashSetMultimap
- remove(K, V) - Method in interface org.drasyl.util.Multimap
-
Removes the specified
value
from the specifiedkey
. - remove(CyclonNeighbor) - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- removeAll(Collection<?>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- removeAll(Collection<?>) - Method in class org.drasyl.util.BloomFilter
-
Not supported.
- removeAll(Collection<?>) - Method in class org.drasyl.util.CountingBloomFilter
- removeAll(Collection<?>) - Method in class org.drasyl.util.EvictingQueue
- removeAll(Collection<?>) - Method in class org.drasyl.util.ExpiringSet
- removeAll(Collection<?>) - Method in class org.drasyl.util.InconsistentSortedSet
- 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
- removePeer(DrasylAddress) - Method in class org.drasyl.handler.dht.chord.ChordFingerTable
- 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
- requireInRange(byte, byte, byte) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
]. - requireInRange(byte, byte, byte, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
] and throws a customizedIllegalArgumentException
if it is not. - requireInRange(double, double, double) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
]. - requireInRange(double, double, double, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
] and throws a customizedIllegalArgumentException
if it is not. - requireInRange(float, float, float) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
]. - requireInRange(float, float, float, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
] and throws a customizedIllegalArgumentException
if it is not. - requireInRange(int, int, int) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
]. - requireInRange(int, int, int, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
] and throws a customizedIllegalArgumentException
if it is not. - requireInRange(long, long, long) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
]. - requireInRange(long, long, long, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
] and throws a customizedIllegalArgumentException
if it is not. - requireInRange(short, short, short) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
]. - requireInRange(short, short, short, String) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is in the given range [
min
,max
] and throws a customizedIllegalArgumentException
if it is not. - 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(double) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative.
- requireNonNegative(double, 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(float) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative.
- requireNonNegative(float, 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. - requireNonNegative(Duration) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is non-negative.
- requireNonNegative(Duration, 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(double) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive.
- requirePositive(double, 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(float) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive.
- requirePositive(float, 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(String) - Static method in class org.drasyl.util.DnsResolver
-
Returns the first address returned by
DnsResolver.resolveAll(String)
. - 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
. - resolveAll(String) - Static method in class org.drasyl.util.DnsResolver
-
Given the name of a host, returns an array of its IP addresses, based on the configured name service on the system.
- RESPONSE_RESERVED1_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- RESPONSE_RESERVED2_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- RESPONSE_RESERVED3_LENGTH - Static variable in class org.drasyl.util.protocol.PcpPortUtil
- retain() - Method in class org.drasyl.channel.InetAddressedMessage
- retain() - Method in class org.drasyl.channel.OverlayAddressedMessage
- retain() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- retain() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- retain() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- retain(int) - Method in class org.drasyl.channel.InetAddressedMessage
- retain(int) - Method in class org.drasyl.channel.OverlayAddressedMessage
- retain(int) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- retain(int) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- retain(int) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- retainAll(Collection<?>) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- retainAll(Collection<?>) - Method in class org.drasyl.util.BloomFilter
-
Not supported.
- retainAll(Collection<?>) - Method in class org.drasyl.util.EvictingQueue
- retainAll(Collection<?>) - Method in class org.drasyl.util.ExpiringSet
- retainAll(Collection<?>) - Method in class org.drasyl.util.InconsistentSortedSet
- RETRY_DELAY - Static variable in class org.drasyl.handler.remote.portmapper.PortMapper
- RmiCacheResult - Annotation Type in org.drasyl.handler.rmi.annotation
-
Defines a cache for method invocation results of this
Class
or methods. - RmiCaller - Annotation Type in org.drasyl.handler.rmi.annotation
-
The caller of the current remote message invocation will be written to the field with this annotation.
- RmiCancel - Class in org.drasyl.handler.rmi.message
-
Signals that a remove message invocation should be canceled.
- RmiCancel() - Constructor for class org.drasyl.handler.rmi.message.RmiCancel
- RmiClientHandler - Class in org.drasyl.handler.rmi
-
A
ChannelHandler
that can invoke methods on remote objects that are served on other nodes byRmiServerHandler
. - RmiClientHandler() - Constructor for class org.drasyl.handler.rmi.RmiClientHandler
-
Creates a new
RmiClientHandler
. - RmiClientHandler(Map<UUID, RmiInvocationHandler>) - Constructor for class org.drasyl.handler.rmi.RmiClientHandler
- RmiCodec - Class in org.drasyl.handler.rmi
-
Encodes
RmiMessage
messages toByteBuf
s and vice versa. - RmiCodec() - Constructor for class org.drasyl.handler.rmi.RmiCodec
- RmiError - Class in org.drasyl.handler.rmi.message
-
Indicates that a remote message invocation erroed.
- RmiError() - Constructor for class org.drasyl.handler.rmi.message.RmiError
- RmiException - Exception in org.drasyl.handler.rmi
-
Exception related to remote message invocations.
- RmiException(String) - Constructor for exception org.drasyl.handler.rmi.RmiException
- RmiMessage - Interface in org.drasyl.handler.rmi.message
-
Remote message invocation-related message.
- RmiRequest - Class in org.drasyl.handler.rmi.message
-
A invocation of a remote method.
- RmiResponse - Class in org.drasyl.handler.rmi.message
-
The result of a remote message invocation.
- RmiServerHandler - Class in org.drasyl.handler.rmi
-
A
ChannelHandler
that can serve local object whose methods then can be invoked by remote nodes usingRmiClientHandler
. - RmiServerHandler() - Constructor for class org.drasyl.handler.rmi.RmiServerHandler
- RmiServerHandler(Map<Integer, Object>, Map<Integer, Map<Integer, Method>>, Map<Pair<SocketAddress, UUID>, Future<?>>) - Constructor for class org.drasyl.handler.rmi.RmiServerHandler
- RmiTimeout - Annotation Type in org.drasyl.handler.rmi.annotation
-
Defines a timeout for all method invocations of this
Class
or methods. - RmiUtil - Class in org.drasyl.handler.rmi
-
Utility class for remote method invocation-related operations.
- 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()
. - rst(long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- rstAck(long, long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- 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
- safeDecrement() - Method in class org.drasyl.util.UnsignedMediumInteger
- safeIncrement() - Method in class org.drasyl.util.UnsignedInteger
-
Does increment the unsigned integer but does a modulo operation to handle overflows.
- safeIncrement() - Method in class org.drasyl.util.UnsignedMediumInteger
-
Does increment the unsigned integer but does a modulo operation to handle overflows.
- 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.
- sampleStandardDeviation(double...) - Static method in class org.drasyl.util.NumberUtil
-
Returns the corrected sample standard deviation of given
values
. - sampleVariance(double...) - Static method in class org.drasyl.util.NumberUtil
-
Returns the unbiased sample variance of given
values
. - 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
. - seq() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- sequenceNo() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqAck
- sequenceNo() - Method in class org.drasyl.handler.arq.gobackn.GoBackNArqData
- sequenceNo() - Method in interface org.drasyl.handler.arq.gobackn.GoBackNArqMessage
- 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
- serializationsBindingsOutbound(Map<Class<?>, String>) - Method in class org.drasyl.node.DrasylConfig.Builder
- serializationSerializers(Map<String, Serializer>) - Method in class org.drasyl.node.DrasylConfig.Builder
- serializationStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
-
This stage serializes
Objects
toByteBuf
and vice versa. - SerializedPayload - Class in org.drasyl.node.handler.serialization
-
This class models the serialized payload of a drasyl application message.
- SerializedPayload() - Constructor for class org.drasyl.node.handler.serialization.SerializedPayload
- Serializer - Interface in org.drasyl.node.handler.serialization
-
A Serializer represents a bimap between an object and an array of bytes representing that object.
- SERIALIZER_BYTES - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_JACKSON_JSON - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_JAVA - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_BOOLEAN - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_BYTE - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_CHAR - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_FLOAT - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_INT - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_LONG - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PRIMITIVE_SHORT - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_PROTO - Static variable in class org.drasyl.node.handler.serialization.Serializers
- SERIALIZER_STRING - Static variable in class org.drasyl.node.handler.serialization.Serializers
- Serializers - Class in org.drasyl.node.handler.serialization
-
This class contains some constants with the identifiers of default serializers.
- SerialNumberArithmetic - Class in org.drasyl.util
-
Utility class for serial number arithmetic.
- 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
- setBit(int) - Method in class org.drasyl.util.BloomFilter
- setBit(int) - Method in class org.drasyl.util.CountingBloomFilter
- 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
- SetMultimap<K,
V> - Interface in org.drasyl.util - 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[]) - Method in class org.drasyl.crypto.Crypto
-
Generates a SHA-256 hash of the given input.
- sha256(byte[]) - Method in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
-
Generates a SHA-256 hash of the given input.
- sha256(byte[]...) - Static method in class org.drasyl.crypto.Hashing
-
Generates a SHA-256 hash of the given input.
- sha256(String) - Static method in class org.drasyl.crypto.Hashing
-
Generates a SHA-256 hash of the given input.
- SHA256_BYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- 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). - SIGN_BYTES - Static variable in class org.drasyl.crypto.sodium.DrasylSodiumWrapper
- 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.BloomFilter
-
Not supported.
- size() - Method in class org.drasyl.util.EvictingQueue
- size() - Method in class org.drasyl.util.ExpiringMap
- size() - Method in class org.drasyl.util.ExpiringSet
- size() - Method in class org.drasyl.util.ImmutableByteArray
- size() - Method in class org.drasyl.util.InconsistentSortedSet
- 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
- sndNxt() - Method in class org.drasyl.handler.connection.ConnectionHandshakeCompleted
-
Returns the state that has been shared with the remote peer.
- 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
- stabilize() - Method in class org.drasyl.handler.dht.chord.LocalChordNode
-
verify my immediate successor, and tell the successor about me.
- stackTraceToString(Throwable) - Static method in class org.drasyl.util.ThrowableUtil
-
Returns a string containing the text generated by
Throwable.printStackTrace()
. - 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<DrasylAddress, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.StaticRoutesHandler
- StatusInfo(String) - Constructor for class org.drasyl.util.protocol.UpnpIgdUtil.StatusInfo
- stop(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.NatPmpPortMapping
- stop(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.PcpPortMapping
- stop(ChannelHandlerContext) - Method in interface org.drasyl.handler.remote.portmapper.PortMapping
-
Shall remove any existing port forwarding again.
- stop(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.portmapper.UpnpIgdPortMapping
- STOP_AND_WAIT_ACK_0 - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
- STOP_AND_WAIT_ACK_1 - Static variable in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqAck
- StopAndWaitArqAck - Class in org.drasyl.handler.arq.stopandwait
-
ACK message of the Stop-and-wait ARQ protocol.
- StopAndWaitArqCodec - Class in org.drasyl.handler.arq.stopandwait
-
Encodes
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
- Subnet - Class in org.drasyl.util.network
-
Represents an IP range..
- Subnet(String) - Constructor for class org.drasyl.util.network.Subnet
- subSet(E, E) - Method in class org.drasyl.util.InconsistentSortedSet
- 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.
- SUPER_PEERS - Static variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- superPeers - Variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- 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
- syn(long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- synAck(long, long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- 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
- tailSet(E) - Method in class org.drasyl.util.InconsistentSortedSet
- 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(NioEventLoopGroup, Set<InetSocketAddress>, 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(NioEventLoopGroup, InetAddress, int, Duration) - Constructor for class org.drasyl.handler.remote.tcp.TcpServer
- TcpServer.TcpServerBindFailedException - Exception in org.drasyl.handler.remote.tcp
-
Signals that the
TcpServer
was unable to bind to port. - TcpServer.TcpServerBound - Class in org.drasyl.handler.remote.tcp
-
Signals that the
TcpServer
is bind toTcpServer.TcpServerBound.getPort()
. - TcpServerBindFailedException(String, Throwable) - Constructor for exception org.drasyl.handler.remote.tcp.TcpServer.TcpServerBindFailedException
- TcpServerBound(InetSocketAddress) - Constructor for class org.drasyl.handler.remote.tcp.TcpServer.TcpServerBound
- 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.
- then(Future<R>) - Method in class org.drasyl.util.FutureComposer
-
Returns a new
FutureComposer
that will complete if all previousFuture
s andfuture
have been completed. - then(Function<Future<T>, FutureComposer<R>>) - Method in class org.drasyl.util.FutureComposer
-
Returns a new
FutureComposer
that will complete if all previousFuture
s and theFutureComposer
returned bymapper
have been completed. - then(Supplier<FutureComposer<R>>) - Method in class org.drasyl.util.FutureComposer
- third() - Method in class org.drasyl.util.Triple
- ThrowableUtil - Class in org.drasyl.util
-
Utility class for operations on
Throwable
s. - 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() - Method in class org.drasyl.util.BloomFilter
-
Not supported.
- toArray() - Method in class org.drasyl.util.EvictingQueue
- toArray() - Method in class org.drasyl.util.ExpiringSet
- toArray() - Method in class org.drasyl.util.InconsistentSortedSet
- toArray(T[]) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- toArray(T[]) - Method in class org.drasyl.util.BloomFilter
-
Not supported.
- toArray(T[]) - Method in class org.drasyl.util.EvictingQueue
- toArray(T[]) - Method in class org.drasyl.util.ExpiringSet
- toArray(T[]) - Method in class org.drasyl.util.InconsistentSortedSet
- 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(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
- 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.UnsignedMediumInteger
- toBytes() - Method in class org.drasyl.util.UnsignedShort
- toFuture(Future<T>) - Static method in class org.drasyl.util.FutureUtil
-
Translates the Netty
Future
to aCompletableFuture
. - toImmutableByteArray() - Method in class org.drasyl.handler.remote.protocol.Nonce
- toInetSocketAddress() - Method in class org.drasyl.node.PeerEndpoint
-
Creates an unresolved socket address from
PeerEndpoint.getHost()
andPeerEndpoint.getPort()
. - 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.stopandwait.StopAndWaitArqAck
- toString() - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqData
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandshakeClosing
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandshakeCompleted
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandshakeIssued
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
- toString() - Method in class org.drasyl.handler.dht.chord.ChordFingerTable
- toString() - Method in interface org.drasyl.handler.dht.chord.LocalChordNode.IdentityPublicKeyMixin
- toString() - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- toString() - Method in class org.drasyl.handler.membership.cyclon.CyclonNeighbor
- toString() - Method in class org.drasyl.handler.membership.cyclon.CyclonShuffleRequest
- toString() - Method in class org.drasyl.handler.membership.cyclon.CyclonShuffleResponse
- toString() - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- toString() - Method in class org.drasyl.handler.monitoring.TopologyHandler.Topology
- toString() - Method in class org.drasyl.handler.PeersRttHandler.PeersRttReport
- 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.rmi.message.RmiRequest
- toString() - Method in class org.drasyl.handler.rmi.message.RmiResponse
- 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.GroupsClientConfig
- toString() - Method in class org.drasyl.node.plugin.groups.client.GroupUri
- 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.BloomFilter
- toString() - Method in class org.drasyl.util.ConcurrentReference
- toString() - Method in class org.drasyl.util.CountingBloomFilter
- toString() - Method in class org.drasyl.util.ImmutableByteArray
- toString() - Method in class org.drasyl.util.MaskedString
-
Returns a masked representation of this
String
. - toString() - Method in class org.drasyl.util.network.Subnet
- toString() - Method in class org.drasyl.util.Pair
- toString() - Method in class org.drasyl.util.Triple
- toString() - Method in class org.drasyl.util.UnsignedByte
- toString() - Method in class org.drasyl.util.UnsignedInteger
- toString() - Method in class org.drasyl.util.UnsignedMediumInteger
- toString() - Method in class org.drasyl.util.UnsignedShort
- toString() - Method in class org.drasyl.util.Version
- toString() - Method in class org.drasyl.util.Worm
- toString(byte[]) - Static method in class org.drasyl.crypto.HexUtil
-
Converts a byte[] into a string representation
- totalMemory() - Method in class org.drasyl.util.OSInfo
-
This method does NOT return the JVM memory.
- touch() - Method in class org.drasyl.channel.InetAddressedMessage
- touch() - Method in class org.drasyl.channel.OverlayAddressedMessage
- touch() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- touch() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- touch() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- touch(Object) - Method in class org.drasyl.channel.InetAddressedMessage
- touch(Object) - Method in class org.drasyl.channel.OverlayAddressedMessage
- touch(Object) - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- touch(Object) - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- touch(Object) - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- toUnmaskedString() - Method in class org.drasyl.identity.Identity
-
Unlike
Object.toString()
, this method returns the identity with the unmasked secret keys. - toUnmaskedString() - Method in class org.drasyl.identity.IdentitySecretKey
- toUnmaskedString() - Method in class org.drasyl.identity.KeyAgreementSecretKey
- toUnmaskedString() - Method in class org.drasyl.identity.KeyPair
-
Unlike
Object.toString()
, this method returns the key pair with the unmasked secret key. - toUnmaskedString() - Method in interface org.drasyl.identity.SecretKey
-
Unlike
Object.toString()
, this method returns an unmasked secret key. - toUnmaskedString() - Method in class org.drasyl.util.MaskedString
-
Returns the unmasked representation of this
String
. - 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
- TraversingDrasylServerChannelInitializer - Class in org.drasyl.channel
-
A
ChannelInitializer
forDrasylServerChannel
s that tries to traverse (if any) NATs with a fallback to relaying all messages through super peers. - TraversingDrasylServerChannelInitializer(Identity, NioEventLoopGroup) - Constructor for class org.drasyl.channel.TraversingDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
bindPort
,networkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
,pingCommunicationTimeoutMillis
, and enabled control plane message arming. - TraversingDrasylServerChannelInitializer(Identity, NioEventLoopGroup, int) - Constructor for class org.drasyl.channel.TraversingDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
networkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
,pingCommunicationTimeoutMillis
, and enabled control plane message arming. - TraversingDrasylServerChannelInitializer(Identity, NioEventLoopGroup, InetSocketAddress) - Constructor for class org.drasyl.channel.TraversingDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
networkId
,superPeers
,pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
,pingCommunicationTimeoutMillis
, and enabled control plane message arming. - TraversingDrasylServerChannelInitializer(Identity, NioEventLoopGroup, InetSocketAddress, int, Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.channel.TraversingDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
,pingCommunicationTimeoutMillis
, and enabled control plane message arming. - TraversingDrasylServerChannelInitializer(Identity, NioEventLoopGroup, InetSocketAddress, int, Map<IdentityPublicKey, InetSocketAddress>, boolean) - Constructor for class org.drasyl.channel.TraversingDrasylServerChannelInitializer
-
Creates a new channel initializer with default values for
pingIntervalMillis
,pingTimeoutMillis
,maxTimeOffsetMillis
,maxPeers
, andpingCommunicationTimeoutMillis
. - TraversingDrasylServerChannelInitializer(Identity, NioEventLoopGroup, InetSocketAddress, int, Map<IdentityPublicKey, InetSocketAddress>, boolean, int, int, int, int, int) - Constructor for class org.drasyl.channel.TraversingDrasylServerChannelInitializer
- TraversingInternetDiscoveryChildrenHandler - Class in org.drasyl.handler.remote.internet
-
Extends
InternetDiscoveryChildrenHandler
by performing a rendezvous initiated by one of our super peers. - TraversingInternetDiscoveryChildrenHandler(int, IdentityPublicKey, IdentitySecretKey, ProofOfWork, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>, long, long) - Constructor for class org.drasyl.handler.remote.internet.TraversingInternetDiscoveryChildrenHandler
- TraversingInternetDiscoverySuperPeerHandler - Class in org.drasyl.handler.remote.internet
-
Extends
InternetDiscoverySuperPeerHandler
by performing a rendezvous on communication between two children peers. - TraversingInternetDiscoverySuperPeerHandler(int, IdentityPublicKey, ProofOfWork, long, long, long, HopCount, long) - Constructor for class org.drasyl.handler.remote.internet.TraversingInternetDiscoverySuperPeerHandler
- Triple<A,
B, C> - Class in org.drasyl.util -
A tuple of three elements.
- tryConsume() - Method in class org.drasyl.handler.traffic.OutboundMessagesThrottlingHandler.RateLimitedQueue
- trySet(T) - Method in class org.drasyl.util.Worm
-
Sets the value to
value
if no value is present yet. - TypeParameterMatcher - Class in org.drasyl.util
-
Adapted from netty
TypeParameterMatcher
- TypeReference<T> - Class in org.drasyl.util
-
This class is used for obtaining full generics type information by sub-classing.
- TypeReference() - Constructor for class org.drasyl.util.TypeReference
U
- UdpBroadcastServer - Class in org.drasyl.handler.remote
-
Starts an UDP broadcast server and together with the
LocalNetworkDiscovery
is responsible for discovering other nodes in the local network. - UdpBroadcastServer(NioEventLoopGroup) - Constructor for class org.drasyl.handler.remote.UdpBroadcastServer
- UdpMulticastServer - Class in org.drasyl.handler.remote
-
Starts an UDP server which joins a IP multicast group and together with the
LocalNetworkDiscovery
is responsible for discovering other nodes in the local network. - UdpMulticastServer(NioEventLoopGroup) - 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(Bootstrap, EventLoopGroup, InetSocketAddress) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer(EventLoopGroup, int) - Constructor for class org.drasyl.handler.remote.UdpServer
-
Create UDP server that will bind to host
0.0.0.0
and portbindPort
. - UdpServer(EventLoopGroup, String, int) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer(EventLoopGroup, InetAddress, int) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer(EventLoopGroup, InetSocketAddress) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer.UdpServerBindFailedException - Exception in org.drasyl.handler.remote
-
Signals that the
UdpServer
was unable to bind to given address. - UdpServer.UdpServerBound - Class in org.drasyl.handler.remote
-
Signals that the
UdpServer
is bound toUdpServer.UdpServerBound.getBindAddress()
. - UdpServerBindFailedException(String, Throwable) - Constructor for exception org.drasyl.handler.remote.UdpServer.UdpServerBindFailedException
- UdpServerBound(InetSocketAddress) - Constructor for class org.drasyl.handler.remote.UdpServer.UdpServerBound
- UNABLE_TO_SEND - Static variable in class org.drasyl.node.plugin.groups.manager.GroupsManagerHandler
- unarm(ChannelHandlerContext, Agreement, Nonce, ByteBuf) - Method in class org.drasyl.node.handler.crypto.AbstractArmHandler
- UnarmedMessageDecoder - Class in org.drasyl.handler.remote.crypto
-
Decodes
UnarmedProtocolMessage
s toFullReadMessage
s. - 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
- unbind(String) - Method in class org.drasyl.handler.rmi.RmiServerHandler
-
Removes the binding (if any) for the specified
name
. - UnconfirmedAddressResolveHandler - Class in org.drasyl.handler.remote.internet
-
Re-uses address from messages with unconfirmed peers as last-resort.
- UnconfirmedAddressResolveHandler() - Constructor for class org.drasyl.handler.remote.internet.UnconfirmedAddressResolveHandler
- UnconfirmedAddressResolveHandler(long, Duration) - Constructor for class org.drasyl.handler.remote.internet.UnconfirmedAddressResolveHandler
- 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
-
This message is sent by a super node for NAT traversal.
- UniteMessage() - Constructor for class org.drasyl.handler.remote.protocol.UniteMessage
- UnresolvedOverlayMessageHandler - Class in org.drasyl.handler.remote
-
This handler fails and drops all outbound
OverlayAddressedMessage
s. - UnresolvedOverlayMessageHandler() - Constructor for class org.drasyl.handler.remote.UnresolvedOverlayMessageHandler
- unsafeStaticFieldOffsetSupported() - Static method in class org.drasyl.util.PlatformDependent
-
Returns
true
if access toUnsafe.staticFieldOffset(Field)
is supported,false
otherwise. - unsetBit(int) - Method in class org.drasyl.util.CountingBloomFilter
- UnsignedByte - Class in org.drasyl.util
-
This class represents an unsigned short in a rang of [0, 256).
- UnsignedInteger - Class in org.drasyl.util
-
This class represents an unsigned integer in a rang of [0, 2^32)
- UnsignedMediumInteger - Class in org.drasyl.util
-
This class represents an unsigned integer in a rang of [0, 2^24)
- UnsignedShort - Class in org.drasyl.util
-
This class represents an unsigned short in a rang of [0, 2^16)
- UNSUPP_OPCODE - 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
- update(Set<CyclonNeighbor>, Set<CyclonNeighbor>) - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- 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
- updateIthFinger(int, DrasylAddress) - Method in class org.drasyl.handler.dht.chord.ChordFingerTable
-
Updates the
i
th finger to point atvalue
. - 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.connection.ConnectionHandshakePendWritesHandler
- userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.monitoring.TopologyHandler
- userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.PeersRttHandler
- userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- 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
- userTimeoutFuture - Variable in class org.drasyl.handler.connection.ConnectionHandshakeHandler
V
- value() - Element in annotation type org.drasyl.handler.rmi.annotation.RmiCacheResult
-
The duration in milliseconds before a cached result expires.
- value() - Element in annotation type org.drasyl.handler.rmi.annotation.RmiTimeout
-
The duration in milliseconds of this timeout.
- 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() - Method in class org.drasyl.util.ExpiringMap
- values() - Static method in enum org.drasyl.util.logging.LogLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.util.protocol.NatPmpUtil.ResultCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifySignature() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
-
Returns
true
if message is signed and the signature is valid. - verifySignature(byte[], byte[], IdentityPublicKey) - Method in class org.drasyl.crypto.Crypto
-
Verifies that
signature
is valid for 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.GoBackNArqSenderHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.arq.stopandwait.StopAndWaitArqHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.dht.chord.ChordLookupHandler
- 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.LoopbackHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.pubsub.PubSubPublishHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.pubsub.PubSubSubscribeHandler
- 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.internet.UnconfirmedAddressResolveHandler
- 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.remote.UnresolvedOverlayMessageHandler
- 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.HelloMessage
- writeBodyTo(ByteBuf) - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- writeHelloMessage(ChannelHandlerContext, DrasylAddress, InetSocketAddress, Set<InetSocketAddress>) - 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.HelloMessage
- 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.crypto.ArmMessage
- writeTo(ByteBuf) - Method in class org.drasyl.node.handler.serialization.SerializedPayload
-
Writes this message to the buffer
byteBuf
. - writeTo(ByteBuf) - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinFailedMessage
- writeTo(ByteBuf) - Method in class org.drasyl.node.plugin.groups.client.message.GroupJoinMessage
- writeTo(ByteBuf) - Method in class org.drasyl.node.plugin.groups.client.message.GroupsPluginMessage
-
Writes this message to the buffer
out
. - writeTo(ByteBuf) - Method in class org.drasyl.node.plugin.groups.client.message.GroupWelcomeMessage
- writeTo(ByteBuf) - Method in class org.drasyl.node.plugin.groups.client.message.MemberJoinedMessage
- writeTo(ByteBuf) - Method in class org.drasyl.node.plugin.groups.client.message.MemberLeftMessage
- writeTo(ByteBuf, boolean) - Method in class org.drasyl.handler.remote.protocol.PublicHeader
-
Writes this header to the buffer
byteBuf
. - writeTo(File, Identity) - Static method in class org.drasyl.node.IdentityFile
- writeTo(OutputStream, Identity) - Static method in class org.drasyl.node.IdentityFile
- writeTo(String, Identity) - Static method in class org.drasyl.node.IdentityFile
- writeTo(Path, Identity) - Static method in class org.drasyl.node.IdentityFile
- 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