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.remote.tcp.TcpDrasylMessageHandler
- 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.remote.DatagramCodec
- acceptOutboundMessage(Object) - Method in class org.drasyl.handler.remote.tcp.ByteBufCodec
- 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
-
Deprecated.
- ack() - Method in class org.drasyl.handler.connection.Segment
-
Returns the acknowledgement number (which is set to the next expected sequence number from the other party).
- ack(long, long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
-
Deprecated.
- 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
- acknowledgementReceived(long) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler.SuperPeer
- activeOpen() - Method in class org.drasyl.handler.connection.ConnectionConfig
- activeOpen(boolean) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
If enabled, a handshake will be issued on
ChannelInboundHandler.channelActive(ChannelHandlerContext)
. - add(int, MessageChunk) - Method in class org.drasyl.handler.stream.MessageChunksBufferInputList
- add(long, long) - Static method in class org.drasyl.handler.connection.Segment
- 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(ChannelHandlerContext, Segment, TransmissionControlBlock) - Method in class org.drasyl.handler.connection.RetransmissionQueue
- 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
. - advanceSeq(long, long) - Static method in class org.drasyl.handler.connection.Segment
-
Advances
seq
byadvancement
. - 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. - alpha() - Method in class org.drasyl.handler.connection.ConnectionConfig
- alpha(double) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
The ALPHA smoothing factor used for congestion control algorithm to calculate the current congestion window size.
- 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, Identity) - Constructor for class org.drasyl.handler.remote.ApplicationMessageToPayloadCodec
- 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
- 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
- asReadOnly() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Returns a read-only version of this message.
- 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.
- average() - Method in class org.drasyl.handler.peers.Peer
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, Channel, Behavior, List<SocketAddress>) - Constructor for class org.drasyl.node.behaviour.BehavioralDrasylNode
- BehavioralDrasylNode(Identity, ServerBootstrap, ChannelFuture, List<SocketAddress>) - 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
- best() - Method in class org.drasyl.handler.peers.Peer
- beta() - Method in class org.drasyl.handler.connection.ConnectionConfig
- beta(double) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
The BETA delay variance factor is used in congestion control algorithm.
- 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.handler.connection.ConnectionConfig.Builder
- 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(ByteBufAllocator) - Method in class org.drasyl.handler.remote.protocol.PublicHeader
-
Builds the authentication tag from this public header.
- Builder() - Constructor for class org.drasyl.handler.connection.ConnectionConfig.Builder
- 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
- ByteBufCodec - Class in org.drasyl.handler.remote.tcp
-
Encodes
ByteBuf
s toInetAddressedMessage
s and vice versa. - ByteBufCodec() - Constructor for class org.drasyl.handler.remote.tcp.ByteBufCodec
- bytes() - Method in class org.drasyl.handler.connection.ReceiveBuffer
-
The number of readable bytes.
- 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.ConnectionHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
-
Deprecated.
- 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.SlowReadAwareHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.monitoring.TelemetryHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.UnconfirmedAddressResolveHandler
- channelActive(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.InvalidProofOfWorkFilter
- 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.tcp.TcpServerHandler
- 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.handler.sntp.SntpHandler
- 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.ConnectionHandler
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
-
Deprecated.
- channelInactive(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
-
Deprecated.
- 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.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.tcp.TcpServerHandler
- 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.ConnectionHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
-
Deprecated.
- 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
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.tcp.TcpClientToDrasylHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.tcp.TcpServerHandler
- channelRead(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.remote.UdpServerToDrasylHandler
- 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<ByteBuf>) - Method in class org.drasyl.handler.remote.tcp.TcpDrasylMessageHandler
- 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
- channelRead0(ChannelHandlerContext, SntpMessage) - Method in class org.drasyl.handler.sntp.SntpHandler
- channelReadComplete(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandler
- channelReadComplete(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClientToDrasylHandler
- channelReadComplete(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpServerHandler
- channelReadComplete(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServerToDrasylHandler
- 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
- CHILDREN - Enum constant in enum org.drasyl.handler.peers.Role
- 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.
- cks() - Method in class org.drasyl.handler.connection.Segment
-
Returns the checksum which is used for error-checking of the header and data, helping to ensure that the information has not been altered in transit due to network corruption.
- CKS_INDEX - Static variable in class org.drasyl.handler.connection.SegmentCodec
- 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
- CLIENT_MODE - Static variable in class org.drasyl.handler.sntp.SntpMessage
- clock() - Method in class org.drasyl.handler.connection.ConnectionConfig
- clock(ConnectionConfig.Clock) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Defines the clock used as time source.
- 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.ConnectionHandler
- close(ChannelHandlerContext, ChannelPromise) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
-
Deprecated.
- CLOSE_WAIT - Enum constant in enum org.drasyl.handler.connection.State
- closeAfterContinueResponse(Object) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- CLOSED - Enum constant in enum org.drasyl.handler.connection.State
- CLOSING - Enum constant in enum org.drasyl.handler.connection.State
- 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 - Variable in class org.drasyl.channel.ConnectionChannelInitializer
- config() - Method in class org.drasyl.channel.DrasylChannel
- config() - Method in class org.drasyl.channel.DrasylServerChannel
- ConnectionAbortedDueToUserTimeoutException - Exception in org.drasyl.handler.connection
-
This exception is thrown when a SEND CALL is performed on an already opened connection.
- ConnectionAbortedDueToUserTimeoutException(Duration) - Constructor for exception org.drasyl.handler.connection.ConnectionAbortedDueToUserTimeoutException
- ConnectionAlreadyExistsException - Exception in org.drasyl.handler.connection
-
This exception is thrown when a OPEN call on an already opened connection is called.
- ConnectionAlreadyExistsException() - Constructor for exception org.drasyl.handler.connection.ConnectionAlreadyExistsException
- ConnectionChannelInitializer - Class in org.drasyl.channel
-
This
ChannelInitializer
create a channel providing reliable and ordered delivery of bytes between hosts. - ConnectionChannelInitializer(Boolean, int) - Constructor for class org.drasyl.channel.ConnectionChannelInitializer
- ConnectionChannelInitializer(Boolean, int, ConnectionConfig) - Constructor for class org.drasyl.channel.ConnectionChannelInitializer
- ConnectionClosing - Class in org.drasyl.handler.connection
-
Signals that the connection is closing.
- ConnectionClosingException - Exception in org.drasyl.handler.connection
-
This exception is thrown when a connection is closing.
- ConnectionClosingException() - Constructor for exception org.drasyl.handler.connection.ConnectionClosingException
- ConnectionConfig - Class in org.drasyl.handler.connection
- ConnectionConfig() - Constructor for class org.drasyl.handler.connection.ConnectionConfig
- ConnectionConfig.Builder - Class in org.drasyl.handler.connection
- ConnectionConfig.Clock - Interface in org.drasyl.handler.connection
- ConnectionDoesNotExistException - Exception in org.drasyl.handler.connection
-
This exception is thrown when a
ChannelOutboundHandler.write(ChannelHandlerContext, Object, ChannelPromise)
call,ChannelOutboundHandler.read(ChannelHandlerContext)
call,ConnectionHandler.userCallStatus()
call,ChannelOutboundHandler.close(ChannelHandlerContext, ChannelPromise)
call is performed on a closed connection. - ConnectionDoesNotExistException() - Constructor for exception org.drasyl.handler.connection.ConnectionDoesNotExistException
- ConnectionEvent - Interface in org.drasyl.handler.connection
-
Events emitted by
ConnectionHandler
. - ConnectionException - Exception in org.drasyl.handler.connection
-
Exceptions thrown by
ConnectionHandler
. - ConnectionException(String) - Constructor for exception org.drasyl.handler.connection.ConnectionException
- ConnectionHandler - Class in org.drasyl.handler.connection
-
This handler provides reliable and ordered delivery of bytes between hosts.
- ConnectionHandler() - Constructor for class org.drasyl.handler.connection.ConnectionHandler
- ConnectionHandler(int, int, ConnectionConfig) - Constructor for class org.drasyl.handler.connection.ConnectionHandler
- ConnectionHandler(int, ConnectionConfig) - Constructor for class org.drasyl.handler.connection.ConnectionHandler
- ConnectionHandshakeChannelInitializer - Class in org.drasyl.channel
-
Deprecated.
- ConnectionHandshakeChannelInitializer(boolean) - Constructor for class org.drasyl.channel.ConnectionHandshakeChannelInitializer
-
Deprecated.
- ConnectionHandshakeChannelInitializer(Duration, boolean) - Constructor for class org.drasyl.channel.ConnectionHandshakeChannelInitializer
-
Deprecated.
- ConnectionHandshakeClosing - Class in org.drasyl.handler.connection
-
Deprecated.
- ConnectionHandshakeClosing() - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeClosing
-
Deprecated.
- ConnectionHandshakeCodec - Class in org.drasyl.handler.connection
-
Deprecated.
- ConnectionHandshakeCodec() - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeCodec
-
Deprecated.
- ConnectionHandshakeCompleted - Class in org.drasyl.handler.connection
-
Signals that the handshake was completed successfully.
- ConnectionHandshakeCompleted() - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeCompleted
- ConnectionHandshakeCompleted(long, long) - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeCompleted
-
Deprecated.
- ConnectionHandshakeEvent - Interface in org.drasyl.handler.connection
-
Deprecated.
- ConnectionHandshakeException - Exception in org.drasyl.handler.connection
-
Deprecated.
- ConnectionHandshakeException(String) - Constructor for exception org.drasyl.handler.connection.ConnectionHandshakeException
-
Deprecated.
- ConnectionHandshakeHandler - Class in org.drasyl.handler.connection
-
Deprecated.
- ConnectionHandshakeHandler(Duration, boolean) - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeHandler
-
Deprecated.
- ConnectionHandshakeIssued - Class in org.drasyl.handler.connection
-
Deprecated.
- ConnectionHandshakeIssued() - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeIssued
-
Deprecated.
- ConnectionHandshakePendWritesHandler - Class in org.drasyl.handler.connection
-
Deprecated.
- ConnectionHandshakePendWritesHandler() - Constructor for class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
-
Deprecated.
- ConnectionHandshakeSegment - Class in org.drasyl.handler.connection
-
Deprecated.
- ConnectionHandshakeSegment(long, long, byte, ByteBuf) - Constructor for class org.drasyl.handler.connection.ConnectionHandshakeSegment
-
Deprecated.
- ConnectionHandshakeStatus - Class in org.drasyl.handler.connection
- ConnectionRefusedException - Exception in org.drasyl.handler.connection
-
This exception is thrown, when the remote peer refuses to establish a connection with us.
- ConnectionRefusedException() - Constructor for exception org.drasyl.handler.connection.ConnectionRefusedException
- ConnectionResetException - Exception in org.drasyl.handler.connection
-
This exception is thrown when a connection is aborted.
- ConnectionResetException() - Constructor for exception org.drasyl.handler.connection.ConnectionResetException
- 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.
- copy() - Method in class org.drasyl.handler.connection.Segment
- 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
-
Deprecated.
- ctl() - Method in class org.drasyl.handler.connection.Segment
-
Returns the control byte which defines which flags (such as SYN, ACK, FIN, RST, and PSH) for this segment are set.
- 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
- cwnd() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- cwnd(ChannelHandlerContext, long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- CyclonMessage - Interface in org.drasyl.handler.membership.cyclon
-
Interface to denote messages used by CYCLON.
- 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
- DatagramCodec - Class in org.drasyl.handler.remote
-
Encodes
DatagramPacket
s toInetAddressedMessage
s and vice versa. - DatagramCodec() - Constructor for class org.drasyl.handler.remote.DatagramCodec
- 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, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object, 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, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object, Object, 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, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object, Object, Object, 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, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object, Object, Object, Object, 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, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, 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.Slf4JLogger
- debug(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the DEBUG level according to the specified format and argument supplier.
- debug(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the DEBUG level according to the specified format and argument suppliers.
- debug(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- debug(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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.Slf4JLogger
- 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
-
Deprecated.
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.connection.SegmentCodec
- decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.drasyl.handler.remote.tcp.ByteBufCodec
- 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, DatagramPacket, List<Object>) - Method in class org.drasyl.handler.remote.DatagramCodec
- decode(ChannelHandlerContext, DatagramPacket, List<Object>) - Method in class org.drasyl.handler.sntp.SntpCodec
- 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 - Enum constant in enum org.drasyl.handler.peers.Role
- DEFAULT_CHECK_INTERVAL - Static variable in class org.drasyl.handler.dht.chord.ChordHousekeepingHandler
- DEFAULT_HANDSHAKE_TIMEOUT - Static variable in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
-
Deprecated.
- 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_SERVER_PORT - Static variable in class org.drasyl.channel.ConnectionChannelInitializer
- 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
- delete() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- doPush() - Method in class org.drasyl.handler.connection.SendBuffer
- 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
- DRASYL_HDR_SIZE - Static variable in class org.drasyl.handler.connection.ConnectionConfig
- 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. - 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, List<SocketAddress>) - 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, EventLoopGroup) - 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
- dstPort() - Method in class org.drasyl.handler.connection.Segment
-
Returns the destination port of this segment.
- duplicateAcks() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- effSndMss() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
The maximum size of a segment that TCP really sends, the "effective send MSS,"
- 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<ByteBuf>, List<Object>) - Method in class org.drasyl.handler.remote.DatagramCodec
- encode(ChannelHandlerContext, InetAddressedMessage<ByteBuf>, List<Object>) - Method in class org.drasyl.handler.remote.tcp.ByteBufCodec
- 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
-
Deprecated.
- encode(ChannelHandlerContext, Segment, List<Object>) - Method in class org.drasyl.handler.connection.SegmentCodec
- encode(ChannelHandlerContext, SntpMessage, List<Object>) - Method in class org.drasyl.handler.sntp.SntpCodec
- 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
- enqueue(ByteBuf) - Method in class org.drasyl.handler.connection.SendBuffer
- enqueue(ByteBuf, ChannelPromise) - Method in class org.drasyl.handler.connection.SendBuffer
-
Add a buffer to the end of the queue and associate a promise with it that should be completed when all the buffer's bytes have been consumed from the queue and written.
- ensureLocalPortIsSelected(int) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
-
Deprecated.
- equals(Object) - Method in class org.drasyl.handler.connection.ConnectionHandshakeStatus
- equals(Object) - Method in class org.drasyl.handler.connection.Segment
- equals(Object) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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 class org.drasyl.identity.IdentityPublicKey
- 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, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object, 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, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object, Object, 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, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object, Object, Object, 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, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object, Object, Object, Object, 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, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- error(String, Object, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, 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.Slf4JLogger
- error(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the ERROR level according to the specified format and argument supplier.
- error(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the ERROR level according to the specified format and argument suppliers.
- error(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- error(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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.Slf4JLogger
- 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
- ESTABLISHED - Enum constant in enum org.drasyl.handler.connection.State
- 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.
- EventLoopBacklogMonitor - Class in org.drasyl.util
-
This utility class can be used to monitor the number of pending tasks of
EventLoop
s. - eventLoopGroup() - Static method in class org.drasyl.node.behaviour.Behaviors
-
Returns a default, shared
EventLoopGroup
instance intended forBehavior
scheduling. - EventLoopGroupUtil - Class in org.drasyl.util
-
Utility class for operations on
EventLoopGroup
s. - EventTypeDrasylNode - Class in org.drasyl.node
-
An implementation of
DrasylNode
that provides distinct methods for handling variousEvent
types. - EventTypeDrasylNode() - Constructor for class org.drasyl.node.EventTypeDrasylNode
- EventTypeDrasylNode(Identity, ServerBootstrap, ChannelFuture, List<SocketAddress>) - Constructor for class org.drasyl.node.EventTypeDrasylNode
- EventTypeDrasylNode(DrasylConfig) - Constructor for class org.drasyl.node.EventTypeDrasylNode
- 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
- exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.drasyl.handler.remote.tcp.TcpClientToDrasylHandler
- exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.drasyl.handler.remote.tcp.TcpServerHandler
- EXCESSIVE_REMOTE_PEERS - Enum constant in enum org.drasyl.util.protocol.PcpPortUtil.ResultCode
- execute(Runnable) - Method in class org.drasyl.util.SlowAwareDefaultEventLoop
- 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
- fail(ConnectionException) - Method in class org.drasyl.handler.connection.SendBuffer
- FILE_SUFFIX - Static variable in class org.drasyl.handler.remote.LocalHostDiscovery
- filterOutboundMessage(Object) - Method in class org.drasyl.channel.DrasylChannel
- FIN_WAIT_1 - Enum constant in enum org.drasyl.handler.connection.State
- FIN_WAIT_2 - Enum constant in enum org.drasyl.handler.connection.State
- finAck(long, long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
-
Deprecated.
- 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
- fireRead(ChannelHandlerContext, TransmissionControlBlock) - Method in class org.drasyl.handler.connection.ReceiveBuffer
-
Passes, if any, readable bytes that this buffer contains to the receiving application.
- 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
. - firstSegmentSentTime() - Method in class org.drasyl.handler.connection.RetransmissionQueue
- firstStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- fixFinger(int) - Method in class org.drasyl.handler.dht.chord.LocalChordNode
- FLOAT_MUST_BE_IN_RANGE - Static variable in class org.drasyl.util.Preconditions
- 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.ConnectionHandler
- flush(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
-
Deprecated.
- flush(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.tcp.TcpClient
- flush(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.UdpServer
- flush(ChannelHandlerContext, TransmissionControlBlock) - Method in class org.drasyl.handler.connection.OutgoingSegmentQueue
- 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, ByteBufAllocator) - Static method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
- fromByteArray(byte[], Class<T>) - Method in class org.drasyl.node.handler.serialization.CharacterSerializer
- 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[]
- fs() - Method in class org.drasyl.handler.connection.ConnectionConfig
- fs(double) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
A constant used by the Nagle algorithm.
- 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
- g() - Method in interface org.drasyl.handler.connection.ConnectionConfig.Clock
- 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
- getBestDatagramChannel() - Static method in class org.drasyl.util.EventLoopGroupUtil
- getBestDatagramChannel(InternetProtocolFamily) - Static method in class org.drasyl.util.EventLoopGroupUtil
- getBestEventLoopGroup() - Static method in class org.drasyl.util.EventLoopGroupUtil
- getBestEventLoopGroup(int) - Static method in class org.drasyl.util.EventLoopGroupUtil
- getBestEventLoopGroup(int, ThreadFactory) - Static method in class org.drasyl.util.EventLoopGroupUtil
- 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
- getEndpoints() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
- getEndpoints() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
-
Returns the UDP-port-IP-address-combinations were the peer can be reached.
- 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 interface org.drasyl.handler.pubsub.PubSubMessage
- 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
- getInetSocketAddress(Config, String) - Static method in class org.drasyl.node.DrasylConfig
- getInetSocketAddressList(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
- getLeapIndicator() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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.
- getLength() - Method in class org.drasyl.handler.remote.protocol.AcknowledgementMessage
- getLength() - Method in class org.drasyl.handler.remote.protocol.ApplicationMessage
- getLength() - Method in class org.drasyl.handler.remote.protocol.ArmedProtocolMessage
- getLength() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
- getLength() - Method in interface org.drasyl.handler.remote.protocol.RemoteMessage
- getLength() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
- getLength() - Method in class org.drasyl.handler.remote.protocol.UniteMessage
- getLength() - Method in class org.drasyl.node.handler.crypto.ArmHeader
- 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.GroupMemberJoinedEvent
- 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
- getMode() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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 interface org.drasyl.handler.membership.cyclon.CyclonMessage
- getNeighbors() - Method in class org.drasyl.handler.membership.cyclon.CyclonView
- getNetworkGroup() - Static method in class org.drasyl.node.DrasylNodeSharedEventLoopGroupHolder
- 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
- getOffset() - Static method in class org.drasyl.handler.sntp.SntpClient
- getOffset(SocketAddress) - Static method in class org.drasyl.handler.sntp.SntpClient
- getOffset(List<SocketAddress>) - Static method in class org.drasyl.handler.sntp.SntpClient
- 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
. - getOriginateTimestamp() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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.
- getPeers() - Method in class org.drasyl.handler.peers.PeersHandler
- 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
- getPoll() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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.
- getPrecision() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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
- 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
- getReceiveTimestamp() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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
- getReferenceIdentifier() - Method in class org.drasyl.handler.sntp.SntpMessage
- getReferenceTimestamp() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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
- 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
- getRootDelay() - Method in class org.drasyl.handler.sntp.SntpMessage
- getRootDispersion() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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
- getServerSocketChannel() - Static method in class org.drasyl.util.EventLoopGroupUtil
- 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
- getSntpServers() - Method in class org.drasyl.node.DrasylConfig
- 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
- getStratum() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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
- getTransmitTimestamp() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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.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
- getVersionNumber() - Method in class org.drasyl.handler.sntp.SntpMessage
- 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) - Static method in class org.drasyl.handler.connection.Segment
- greaterThan(long, long, int) - Static method in class org.drasyl.util.SerialNumberArithmetic
- greaterThanOrEqualTo(long, long) - Static method in class org.drasyl.handler.connection.Segment
- 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
- HALF_MAX_SEQ_NO - Static variable in class org.drasyl.handler.connection.Segment
- 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.ConnectionHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
-
Deprecated.
- 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.monitoring.SlowReadAwareHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.internet.UnconfirmedAddressResolveHandler
- handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.handler.remote.InvalidProofOfWorkFilter
- 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.ConnectionHandler
- handlerRemoved(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
-
Deprecated.
- 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(ChannelHandlerContext) - Method in class org.drasyl.channel.ConnectionChannelInitializer
- handshakeCompleted(DrasylChannel) - Method in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
-
Deprecated.
- handshakeCompleted(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- handshakeFailed(ChannelHandlerContext, Throwable) - Method in class org.drasyl.channel.ConnectionChannelInitializer
- handshakeFailed(ChannelHandlerContext, Throwable) - Method in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
-
Deprecated.
- handshakeFailed(ChannelHandlerContext, Throwable) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
- handshakeTimeout - Variable in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
-
Deprecated.
- 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
-
Deprecated.
- hashCode() - Method in class org.drasyl.handler.connection.ConnectionHandshakeStatus
- hashCode() - Method in class org.drasyl.handler.connection.Segment
- hashCode() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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 class org.drasyl.identity.IdentityPublicKey
- 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
- helloReceived(InetSocketAddress, Set<InetSocketAddress>) - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler.ChildrenPeer
- 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
- incrementDuplicateAcks() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- inetAddress() - Method in class org.drasyl.handler.peers.Peer
- inetAddress() - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler.SuperPeer
- inetAddressCandidates() - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler.ChildrenPeer
- 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, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object, 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, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object, Object, 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, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object, Object, Object, 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, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object, Object, Object, Object, 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, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- info(String, Object, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, 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.Slf4JLogger
- info(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the INFO level according to the specified format and argument supplier.
- info(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the INFO level according to the specified format and argument suppliers.
- info(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- info(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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.Slf4JLogger
- 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
- initatedByRemotePeer() - Method in class org.drasyl.handler.connection.ConnectionClosing
- initChannel(DatagramChannel) - Method in class org.drasyl.handler.remote.UdpBroadcastServerChannelInitializer
- initChannel(DatagramChannel) - Method in class org.drasyl.handler.remote.UdpMulticastServerChannelInitializer
- initChannel(DatagramChannel) - Method in class org.drasyl.handler.remote.UdpServerChannelInitializer
- initChannel(SocketChannel) - Method in class org.drasyl.handler.remote.tcp.TcpClientChannelInitializer
- initChannel(SocketChannel) - Method in class org.drasyl.handler.remote.tcp.TcpServerChannelInitializer
- initChannel(DrasylChannel) - Method in class org.drasyl.channel.ConnectionChannelInitializer
- initChannel(DrasylChannel) - Method in class org.drasyl.channel.ConnectionHandshakeChannelInitializer
-
Deprecated.
- 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
-
Deprecated.
- initSndUnaSndNxt() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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, Identity, long, long, long, long, Map<IdentityPublicKey, InetSocketAddress>) - Constructor for class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler
- 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
- InternetDiscoveryChildrenHandler.SuperPeer - Class in org.drasyl.handler.remote.internet
- 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
- InternetDiscoverySuperPeerHandler.ChildrenPeer - Class in org.drasyl.handler.remote.internet
- 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(int, long) - 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. - IP_MTU - Static variable in class org.drasyl.handler.connection.ConnectionConfig
- IP_TOS - Static variable in class org.drasyl.handler.remote.UdpServer
- irs() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
Returns the initial receive sequence.
- irs(long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- isAck() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
-
Deprecated.
- isAck() - Method in class org.drasyl.handler.connection.Segment
-
Returns
true
, if the ACK flag is set for this segment. - 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.connection.OutgoingSegmentQueue
-
Returns
true
if this deque contains no elements. - isEmpty() - Method in class org.drasyl.handler.connection.RetransmissionQueue
-
Returns
true
if this deque contains no elements. - isEmpty() - Method in class org.drasyl.handler.connection.SendBuffer
- 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.Slf4JLogger
- 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
-
Deprecated.
- isFin() - Method in class org.drasyl.handler.connection.Segment
-
Returns
true
, if the FIN flag is set for this segment. - 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
-
Deprecated.
- isOnlyAck() - Method in class org.drasyl.handler.connection.Segment
-
Returns
true
, if only ACK flag (and no other flag) is set for this segment. - isOnlySyn() - Method in class org.drasyl.handler.connection.Segment
-
Returns
true
, if only SYN flag (and no other flag) is set for this segment. - 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
-
Deprecated.
- isPsh() - Method in class org.drasyl.handler.connection.Segment
-
Returns
true
, if the PSH flag is set for this segment. - isReadable() - Method in class org.drasyl.handler.connection.ReceiveBuffer
-
Returns
true
if this buffer contains at least one byte ready to pass to the receiving application. - isReadOnly() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Returns
true
if and only if this message is read-only. - 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
-
Deprecated.
- isRst() - Method in class org.drasyl.handler.connection.Segment
-
Returns
true
, if the RST flag is set for this segment. - iss() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
Returns the initial sequence number.
- isSigned() - Method in class org.drasyl.handler.remote.protocol.HelloMessage
-
Returns
true
if message is signed. - issSupplier() - Method in class org.drasyl.handler.connection.ConnectionConfig
- issSupplier(LongSupplier) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Used to choose an initial send sequence number.
- 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.handler.remote.internet.InternetDiscoveryChildrenHandler.SuperPeer
- isStale() - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler.ChildrenPeer
- 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
-
Deprecated.
- isSyn() - Method in class org.drasyl.handler.connection.Segment
-
Returns
true
, if the SYN flag is set for this segment. - 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
-
Deprecated.
- 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.handler.connection.ConnectionConfig
- k() - Method in class org.drasyl.util.BloomFilter
-
Returns the number of hash functions.
- k(int) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
The K constant is used to scale the RTT variance to calculate the retransmission timeout.
- 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.handler.peers.Peer
- last() - Method in class org.drasyl.util.InconsistentSortedSet
- last() - Method in class org.drasyl.util.network.Subnet
-
Returns the last
InetAddress
of this subnetwork. - LAST_ACK - Enum constant in enum org.drasyl.handler.connection.State
- lastAckSent() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- lastAckSent(ChannelHandlerContext, long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- lastAdvertisedWindow() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- lastAdvertisedWindow(long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- lastSeq() - Method in class org.drasyl.handler.connection.Segment
-
Returns the sequence number of the last byte in this segment.
- lastStage(DatagramChannel) - Method in class org.drasyl.handler.remote.UdpBroadcastServerChannelInitializer
- lastStage(DatagramChannel) - Method in class org.drasyl.handler.remote.UdpMulticastServerChannelInitializer
- lastStage(DatagramChannel) - Method in class org.drasyl.handler.remote.UdpServerChannelInitializer
- lastStage(SocketChannel) - Method in class org.drasyl.handler.remote.tcp.TcpClientChannelInitializer
- lastStage(SocketChannel) - Method in class org.drasyl.handler.remote.tcp.TcpServerChannelInitializer
- lastStage(DrasylChannel) - Method in class org.drasyl.node.channel.DrasylNodeChannelInitializer
-
This stage emits
Event
s toDrasylNodeChannelInitializer.node
. - lBound() - Method in class org.drasyl.handler.connection.ConnectionConfig
- lBound(Duration) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
The minimum value allowed for the retransmission timeout.
- len() - Method in class org.drasyl.handler.connection.Segment
-
Returns the length (in segments) of this segment.
- length() - Method in class org.drasyl.handler.connection.SendBuffer
-
The number of readable bytes.
- 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.KeyExchangeMessage
- lessThan(long, long) - Static method in class org.drasyl.handler.connection.Segment
- lessThan(long, long, int) - Static method in class org.drasyl.util.SerialNumberArithmetic
- lessThanOrEqualTo(long, long) - Static method in class org.drasyl.handler.connection.Segment
- lessThanOrEqualTo(long, long, int) - Static method in class org.drasyl.util.SerialNumberArithmetic
- LI_NOT_SYNC - Static variable in class org.drasyl.handler.sntp.SntpMessage
-
NTP server is not synchronized.
- 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
- LISTEN - Enum constant in enum org.drasyl.handler.connection.State
- 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
- localPort() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- log(LogLevel, String) - Method in class org.drasyl.util.logging.Slf4JLogger
- 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.Slf4JLogger
- 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.Slf4JLogger
- 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.Slf4JLogger
- 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, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Object, 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, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Object, Object, 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, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Object, Object, Object, Object, Object, Object, Object, Object, 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.Slf4JLogger
- 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.Slf4JLogger
- 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.Slf4JLogger
- 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.Slf4JLogger
- 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, String, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Supplier<Object>, 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, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Supplier<Object>, Supplier<Object>, 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, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- log(LogLevel, String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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.Slf4JLogger
- 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
. - LOOPBACK_HANDLER - Static variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- 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
-
Deprecated.
- MAGIC_NUMBER - Static variable in class org.drasyl.handler.connection.SegmentCodec
- 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_LEN - Static variable in interface org.drasyl.handler.remote.protocol.RemoteMessage
- 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.handler.sntp.SntpClient
- 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
- max(double...) - Static method in class org.drasyl.util.NumberUtil
-
Returns the largest given number.
- max(int...) - Static method in class org.drasyl.util.NumberUtil
-
Returns the largest given number.
- max(long...) - Static method in class org.drasyl.util.NumberUtil
-
Returns the largest given number.
- 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 - Static variable in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
-
Deprecated.
- MAX_SEQ_NO - Static variable in class org.drasyl.handler.connection.Segment
- 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
- maxSndWnd() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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(double...) - Static method in class org.drasyl.util.NumberUtil
-
Returns the smallest given number.
- min(int...) - Static method in class org.drasyl.util.NumberUtil
-
Returns the smallest given number.
- min(long...) - Static method in class org.drasyl.util.NumberUtil
-
Returns the smallest given number.
- 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
-
Deprecated.
- 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 - Static variable in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
-
Deprecated.
- MIN_SEQ_NO - Static variable in class org.drasyl.handler.connection.Segment
- 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
- mmsR() - Method in class org.drasyl.handler.connection.ConnectionConfig
- mmsR(int) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
The maximum size for a drasyl-layer message that can be received.
- mmsS() - Method in class org.drasyl.handler.connection.ConnectionConfig
- mmsS(int) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
The maximum segment size for a drasyl-layer message that a connection may send.
- monitorBacklog(EventLoopGroup...) - Static method in class org.drasyl.util.EventLoopBacklogMonitor
- msgId() - Method in class org.drasyl.handler.stream.MessageChunk
- msl() - Method in class org.drasyl.handler.connection.ConnectionConfig
- msl(Duration) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
The maximum segment lifetime, the time a segment can exist in the network.
- 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
- mustBeAcked() - Method in class org.drasyl.handler.connection.Segment
-
Returns
true
, if this segment must be accepted by the receiver. - 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.Slf4JLogger
- 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.handler.connection.ConnectionConfig
- 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
. - newChild(Executor, Object...) - Method in class org.drasyl.util.SlowAwareDefaultEventLoopGroup
- newContinueResponse(MessageChunk, int, ChannelPipeline) - Method in class org.drasyl.handler.stream.ChunkedMessageAggregator
- newDrasylChannel(DrasylAddress) - Method in class org.drasyl.channel.DrasylServerChannel
- 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
. - noDelay() - Method in class org.drasyl.handler.connection.ConnectionConfig
- noDelay(boolean) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
If enabled, small data packets are sent without delay, instead of waiting for larger packets to be filled.
- 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.util.internal
-
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
. - NTP_PORT - Static variable in class org.drasyl.handler.sntp.SntpClient
- NTP_SERVERS - Static variable in class org.drasyl.handler.sntp.SntpClient
- 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.util.internal
-
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.
- nxtSeq() - Method in class org.drasyl.handler.connection.Segment
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(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, int, int, int, int, float, float, int, long, long, long, long) - Static method in class org.drasyl.handler.sntp.SntpMessage
- 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.handler.sntp.SntpMessage
-
Creates a client
SntpMessage
. - 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.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, 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(String, ImmutableByteArray) - Static method in class org.drasyl.node.handler.serialization.SerializedPayload
- 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(ImmutableByteArray, ImmutableByteArray) - Static method in class org.drasyl.crypto.sodium.SessionPair
- 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
. - onAnyOtherEvent(Event) - Method in class org.drasyl.node.EventTypeDrasylNode
- 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. - onEvent(Event) - Method in class org.drasyl.node.EventTypeDrasylNode
- 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
- onInboundException(InboundExceptionEvent) - Method in class org.drasyl.node.EventTypeDrasylNode
- 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
. - onMessage(MessageEvent) - Method in class org.drasyl.node.EventTypeDrasylNode
- 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()
. - onNodeEvent(NodeEvent) - Method in class org.drasyl.node.EventTypeDrasylNode
- 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
- onPeerEvent(PeerEvent) - Method in class org.drasyl.node.EventTypeDrasylNode
- onRed() - Method in class org.drasyl.util.Ansi
- onWhite() - Method in class org.drasyl.util.Ansi
- onYellow() - Method in class org.drasyl.util.Ansi
- options() - Method in class org.drasyl.handler.connection.Segment
- 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
-
Handlers used to run a drasyl node.
- 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.peers - package org.drasyl.handler.peers
-
Information about peers.
- 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.sntp - package org.drasyl.handler.sntp
- 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.internal - package org.drasyl.util.internal
-
Internal-use-only utilities which should not used outside drasyl.
- 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
- outgoingSegmentQueue() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- OutgoingSegmentQueue - Class in org.drasyl.handler.connection
-
Represents the outgoing segment queue that holds segments to be sent over a connection.
- 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
- overrideTimeout() - Method in class org.drasyl.handler.connection.ConnectionConfig
- overrideTimeout(Duration) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Defines how long small data packets are delayed at most.
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.handler.peers
- 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
- Peer(Role, InetSocketAddress) - Constructor for class org.drasyl.handler.peers.Peer
- Peer(Role, InetSocketAddress, long) - Constructor for class org.drasyl.handler.peers.Peer
- Peer(Role, InetSocketAddress, long, long, long, long, long, double) - Constructor for class org.drasyl.handler.peers.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.peers.PeersList
- peers() - Method in class org.drasyl.node.DrasylNode
-
Returns the
PeersList
of this node. - PEERS_LIST_SUPPLIER_KEY - Static variable in class org.drasyl.node.channel.DrasylNodeServerChannelInitializer
- PeersHandler - Class in org.drasyl.handler.peers
-
A
ChannelHandler
that tracks all emittedPathEvent
s and generates a list of all peers retrievable throughPeersHandler.getPeers()
. - PeersHandler() - Constructor for class org.drasyl.handler.peers.PeersHandler
- PeersList - Class in org.drasyl.handler.peers
- PeersList(Map<DrasylAddress, Peer>) - Constructor for class org.drasyl.handler.peers.PeersList
- PeersManagerHandler - Class in org.drasyl.node.handler
-
This handler track received
PathEvent
s and will contain an internal state of all peers, super peers, children, and available paths. - PeersManagerHandler(Identity) - Constructor for class org.drasyl.node.handler.PeersManagerHandler
- PendingAgreement - Class in org.drasyl.node.handler.crypto
- PendingAgreement(KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey>) - Constructor for class org.drasyl.node.handler.crypto.PendingAgreement
- PerfectForwardSecrecyEncryptionEvent - Class in org.drasyl.node.event
-
This event signals, that currently all messages from and to the
#peer
are encrypted with an ephemeral session key. - PerfectForwardSecrecyEncryptionEvent() - Constructor for class org.drasyl.node.event.PerfectForwardSecrecyEncryptionEvent
- PERIOD - Static variable in class org.drasyl.util.EventLoopBacklogMonitor
- 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
- print(ChannelPipeline) - Static method in class org.drasyl.channel.VisualPipeline
- 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
- privateInetAddresses() - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler.ChildrenPeer
- 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
- PSEUDORANDOM_NONCE - Static variable in class org.drasyl.handler.remote.protocol.Nonce
- pshAck(long, long, ByteBuf) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
-
Deprecated.
- 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
- publicInetAddress() - Method in class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler.ChildrenPeer
- 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
- PubSubMessage - Interface in org.drasyl.handler.pubsub
- 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
- push() - Method in class org.drasyl.handler.connection.SendBuffer
- 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. - randomSeq() - Static method in class org.drasyl.handler.connection.Segment
-
Returns a random sequence number between [0,4294967295].
- 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
- rcfBufSupplier() - Method in class org.drasyl.handler.connection.ConnectionConfig
- rcfBufSupplier(Supplier<ReceiveBuffer>) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Used to create the
ReceiveBuffer
. - rcvNxt() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
Returns the sequence number of the next byte that the receiver is expecting to get from the sender.
- rcvNxt(long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- rcvNxt(ChannelHandlerContext, long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- rcvWnd() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
Returns the receive window.
- read() - Method in class org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
-
Read the remainder of this message and returns the resulted
FullReadMessage
. - read(long, AtomicBoolean, ChannelPromise) - Method in class org.drasyl.handler.connection.SendBuffer
-
Attempts to retrieve a maximum of
bytes
from this buffer. - read(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.ConnectionHandler
- readableBytes() - Method in class org.drasyl.handler.connection.ReceiveBuffer
-
Returns the amount of bytes that this buffer can pass to the receiving application.
- 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(ChannelHandlerContext, TransmissionControlBlock, Segment) - Method in class org.drasyl.handler.connection.ReceiveBuffer
- receive(Event) - Method in class org.drasyl.node.behaviour.Behavior
-
Process an incoming event and return the next behavior.
- receiveBuffer() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- ReceiveBuffer - Class in org.drasyl.handler.connection
-
Represents the receive buffer that holds incoming data received over a connection.
- 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, EventLoopGroup) - 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, EventLoopGroup, 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, EventLoopGroup, 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, EventLoopGroup, 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, EventLoopGroup, 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, EventLoopGroup, InetSocketAddress, int, Map<IdentityPublicKey, InetSocketAddress>, boolean, int, int, int, int) - Constructor for class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- release() - Method in class org.drasyl.handler.connection.ReceiveBuffer
-
Release all buffers in the queue and complete all listeners and promises.
- release() - Method in class org.drasyl.handler.connection.RetransmissionQueue
- release() - Method in class org.drasyl.handler.connection.SendBuffer
-
Release all buffers in the queue and complete all listeners and promises.
- 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_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
- 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
- remotePort() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- remotePort(int) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- removeAcknowledged(ChannelHandlerContext, TransmissionControlBlock) - Method in class org.drasyl.handler.connection.RetransmissionQueue
- 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. - requirePositive(Duration) - Static method in class org.drasyl.util.Preconditions
-
Checks that the specified number is positive.
- requirePositive(Duration, 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
- resetDuplicateAcks() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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.
- resolveInetAddress() - Method in class org.drasyl.handler.remote.internet.InternetDiscoveryChildrenHandler.SuperPeer
-
Triggers a new resolve of the hostname into an
InetAddress
. - 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.connection.Segment
- 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
- retransmissionQueue() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- RetransmissionQueue - Class in org.drasyl.handler.connection
-
Represents the retransmission queue that holds segments that need to be retransmitted due to timeout or loss in a connection.
- RETRY_DELAY - Static variable in class org.drasyl.handler.remote.portmapper.PortMapper
- rmem() - Method in class org.drasyl.handler.connection.ConnectionConfig
- rmem(int) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Defines the receive buffer size (rmem).
- 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
. - 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.
- role() - Method in class org.drasyl.handler.peers.Peer
- Role - Enum in org.drasyl.handler.peers
- 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
-
Deprecated.
- rstAck(long, long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
-
Deprecated.
- rtnsQSupplier() - Method in class org.drasyl.handler.connection.ConnectionConfig
- rtnsQSupplier(Function<Channel, RetransmissionQueue>) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Used to create the
RetransmissionQueue
. - rto() - Method in class org.drasyl.handler.connection.ConnectionConfig
- rto() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- rto(ChannelHandlerContext, int) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- rto(Duration) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
The retransmission timeout (RTO) is the amount of time that a connection waits before retransmitting a packet that has not been acknowledged.
- RTTS_COUNT - Static variable in class org.drasyl.handler.peers.Peer
- rttVar() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- rttVar(ChannelHandlerContext, float) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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. - schedule(Runnable, long, TimeUnit) - Method in class org.drasyl.util.SlowAwareDefaultEventLoop
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.drasyl.util.SlowAwareDefaultEventLoop
- 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.
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.drasyl.util.SlowAwareDefaultEventLoop
- 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.
- SEG_HDR_SIZE - Static variable in class org.drasyl.handler.connection.Segment
- Segment - Class in org.drasyl.handler.connection
-
Message used by
ConnectionHandler
to provide reliable and ordered delivery of bytes between hosts. - Segment(int, int, long, byte, long) - Constructor for class org.drasyl.handler.connection.Segment
- Segment(int, int, long, long, byte) - Constructor for class org.drasyl.handler.connection.Segment
- Segment(int, int, long, long, byte, long) - Constructor for class org.drasyl.handler.connection.Segment
- SegmentCodec - Class in org.drasyl.handler.connection
-
Encodes
ByteBuf
s toSegment
s and vice versa. - SegmentCodec() - Constructor for class org.drasyl.handler.connection.SegmentCodec
- SegmentCodec(boolean) - Constructor for class org.drasyl.handler.connection.SegmentCodec
- selectIss() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
. - sendBuffer() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- SendBuffer - Class in org.drasyl.handler.connection
-
Represents the send buffer that holds outgoing segments waiting to be sent over a connection.
- sendMss() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- sent() - Method in class org.drasyl.handler.peers.Peer
- seq() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
-
Deprecated.
- seq() - Method in class org.drasyl.handler.connection.Segment
-
Returns the number of this segment.
- 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.
- serve(DrasylAddress) - Method in class org.drasyl.channel.DrasylServerChannel
- serve(DrasylAddress, Promise<DrasylChannel>) - Method in class org.drasyl.channel.DrasylServerChannel
- SERVER_MODE - Static variable in class org.drasyl.handler.sntp.SntpMessage
- 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.connection.OutgoingSegmentQueue
-
Returns the number of elements in this deque.
- size() - Method in class org.drasyl.handler.connection.ReceiveBuffer
- size() - Method in class org.drasyl.handler.connection.RetransmissionQueue
-
Returns the number of elements in this deque.
- 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
- SIZE - Static variable in class org.drasyl.handler.sntp.SntpMessage
- 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
- SlowAwareDefaultEventLoop - Class in org.drasyl.util
-
A
DefaultEventLoop
that is aware of slow task executions. - SlowAwareDefaultEventLoop() - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoop
- SlowAwareDefaultEventLoop(EventLoopGroup) - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoop
- SlowAwareDefaultEventLoop(EventLoopGroup, Executor) - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoop
- SlowAwareDefaultEventLoop(EventLoopGroup, ThreadFactory) - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoop
- SlowAwareDefaultEventLoop(Executor) - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoop
- SlowAwareDefaultEventLoop(ThreadFactory) - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoop
- SlowAwareDefaultEventLoopGroup - Class in org.drasyl.util
-
A
DefaultEventLoopGroup
that is aware of slow task executions. - SlowAwareDefaultEventLoopGroup() - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoopGroup
- SlowAwareDefaultEventLoopGroup(int) - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoopGroup
- SlowAwareDefaultEventLoopGroup(int, Executor) - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoopGroup
- SlowAwareDefaultEventLoopGroup(int, ThreadFactory) - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoopGroup
- SlowAwareDefaultEventLoopGroup(ThreadFactory) - Constructor for class org.drasyl.util.SlowAwareDefaultEventLoopGroup
- SlowReadAwareHandler - Class in org.drasyl.handler.monitoring
-
This handler measures the execution time of
ChannelInboundHandler.channelRead(ChannelHandlerContext, Object)
for everyChannelInboundHandler
. - SlowReadAwareHandler() - Constructor for class org.drasyl.handler.monitoring.SlowReadAwareHandler
- SlowReadAwareHandler(LogLevel, Class<? extends ChannelInboundHandler>...) - Constructor for class org.drasyl.handler.monitoring.SlowReadAwareHandler
- smss() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
RFC 5681: The SMSS is the size of the largest segment that the sender can transmit.
- sndBufSupplier() - Method in class org.drasyl.handler.connection.ConnectionConfig
- sndBufSupplier(Function<Channel, SendBuffer>) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Used to create the
SendBuffer
. - sndNxt() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
Returns the sequence number for the next byte of data that is to be sent.
- sndTsOk() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- sndUna() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
Returns the number of the oldest unacknowledged segment.
- sndUna(ChannelHandlerContext, long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
Returns the number of acked segments.
- sndWl1() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- sndWl1(long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- sndWl2() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- sndWl2(long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- sndWnd() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
-
Returns the send window.
- sndWnd(ChannelHandlerContext, long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- SNTP_SERVER - Static variable in class org.drasyl.node.DrasylConfig
- SntpClient - Class in org.drasyl.handler.sntp
- SntpClient() - Constructor for class org.drasyl.handler.sntp.SntpClient
- SntpCodec - Class in org.drasyl.handler.sntp
- SntpCodec() - Constructor for class org.drasyl.handler.sntp.SntpCodec
- SntpHandler - Class in org.drasyl.handler.sntp
- SntpHandler(CompletableFuture<Long>, AtomicLong) - Constructor for class org.drasyl.handler.sntp.SntpHandler
- SntpMessage - Class in org.drasyl.handler.sntp
- SntpMessage() - Constructor for class org.drasyl.handler.sntp.SntpMessage
- sntpServers(List<InetSocketAddress>) - Method in class org.drasyl.node.DrasylConfig.Builder
- 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
- srcPort() - Method in class org.drasyl.handler.connection.Segment
-
Returns the source port of this segment.
- sRtt() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- sRtt(ChannelHandlerContext, float) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- ssthresh() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- ssthresh(ChannelHandlerContext, long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- state() - Method in class org.drasyl.handler.connection.ConnectionHandshakeStatus
- state() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- state(State) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- State - Enum in org.drasyl.handler.connection
-
Connection states.
- 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
- stDev() - Method in class org.drasyl.handler.peers.Peer
- 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
- sub(long, long) - Static method in class org.drasyl.handler.connection.Segment
- 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 - Enum constant in enum org.drasyl.handler.peers.Role
- 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
-
Deprecated.
- SYN_RECEIVED - Enum constant in enum org.drasyl.handler.connection.State
- SYN_SENT - Enum constant in enum org.drasyl.handler.connection.State
- synAck(long, long) - Static method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
-
Deprecated.
- 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
- tcb() - Method in class org.drasyl.handler.connection.ConnectionHandshakeStatus
- tcbSupplier() - Method in class org.drasyl.handler.connection.ConnectionConfig
- tcbSupplier(BiFunction<ConnectionConfig, Channel, TransmissionControlBlock>) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Used to create the
TransmissionControlBlock
. - 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
- TcpClient(NioEventLoopGroup, Set<InetSocketAddress>, Duration, InetSocketAddress, Function<ChannelHandlerContext, ChannelInitializer<SocketChannel>>) - Constructor for class org.drasyl.handler.remote.tcp.TcpClient
- TcpClientChannelInitializer - Class in org.drasyl.handler.remote.tcp
- TcpClientChannelInitializer(ChannelHandlerContext) - Constructor for class org.drasyl.handler.remote.tcp.TcpClientChannelInitializer
- TcpClientToDrasylHandler - Class in org.drasyl.handler.remote.tcp
-
This handler passes messages from the
SocketChannel
to theDrasylServerChannel
's context. - TcpCloseIdleClientsHandler - Class in org.drasyl.handler.remote.tcp
- TcpCloseIdleClientsHandler() - Constructor for class org.drasyl.handler.remote.tcp.TcpCloseIdleClientsHandler
- TcpDrasylMessageHandler - Class in org.drasyl.handler.remote.tcp
- 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(NioEventLoopGroup, InetAddress, int, Duration, Function<ChannelHandlerContext, ChannelInitializer<SocketChannel>>) - 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
- TcpServerChannelInitializer - Class in org.drasyl.handler.remote.tcp
- TcpServerChannelInitializer(ChannelHandlerContext) - Constructor for class org.drasyl.handler.remote.tcp.TcpServerChannelInitializer
- TcpServerHandler - Class in org.drasyl.handler.remote.tcp
-
This handler passes all receiving messages to the pipeline and updates
TcpServerHandler.clients
on new/closed connections. - 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
- THRESHOLD - Static variable in class org.drasyl.handler.monitoring.SlowReadAwareHandler
- THRESHOLD - Static variable in class org.drasyl.util.EventLoopBacklogMonitor
- THRESHOLD - Static variable in class org.drasyl.util.SlowAwareDefaultEventLoop
- 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 - time() - Method in interface org.drasyl.handler.connection.ConnectionConfig.Clock
- TIME_WAIT - Enum constant in enum org.drasyl.handler.connection.State
- 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
- timestamps() - Method in class org.drasyl.handler.connection.ConnectionConfig
- timestamps(boolean) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Enables the Timestamps option which is used for round-trip time measurements.
- 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
- toBuilder() - Method in class org.drasyl.handler.connection.ConnectionConfig
- 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.CharacterSerializer
- 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()
. - toJavaTime(long) - Static method in class org.drasyl.handler.sntp.SntpMessage
-
Converts
ntpTime
to the java time format. - 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.
- toNTPTime(long) - Static method in class org.drasyl.handler.sntp.SntpMessage
-
Converts
javaTime
to the correct NTP time format as defined in RFC-1305. - 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.ConnectionClosing
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandler
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandshakeClosing
-
Deprecated.
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandshakeCompleted
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandshakeIssued
-
Deprecated.
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandshakeSegment
-
Deprecated.
- toString() - Method in class org.drasyl.handler.connection.ConnectionHandshakeStatus
- toString() - Method in class org.drasyl.handler.connection.OutgoingSegmentQueue
- toString() - Method in class org.drasyl.handler.connection.ReceiveBuffer
- toString() - Method in class org.drasyl.handler.connection.RetransmissionQueue
- toString() - Method in class org.drasyl.handler.connection.Segment
- toString() - Method in class org.drasyl.handler.connection.SendBuffer
- toString() - Method in enum org.drasyl.handler.connection.State
- toString() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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.peers.PeersList
- toString() - Method in enum org.drasyl.handler.peers.Role
- 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.event.InboundExceptionEvent
- 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, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object, 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, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object, Object, 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, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object, Object, Object, 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, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object, Object, Object, Object, 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, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, 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.Slf4JLogger
- trace(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the TRACE level according to the specified format and argument supplier.
- trace(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the TRACE level according to the specified format and argument suppliers.
- trace(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- trace(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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.Slf4JLogger
- 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
- TransmissionControlBlock - Class in org.drasyl.handler.connection
-
Send Sequence Space 1 2 3 4 ----------|----------|----------|---------- SND.UNA SND.NXT SND.UNA +SND.WND 1 - old sequence numbers which have been acknowledged 2 - sequence numbers of unacknowledged data 3 - sequence numbers allowed for new data transmission 4 - future sequence numbers which are not yet allowed
- TRANSMIT_TIMESTAMP_OFFSET - Static variable in class org.drasyl.handler.sntp.SntpMessage
- 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, EventLoopGroup) - 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, EventLoopGroup, 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, EventLoopGroup, 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, EventLoopGroup, 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, EventLoopGroup, 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, EventLoopGroup, 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. - tsRecent() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- tsRecent(ChannelHandlerContext, long) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- turnOnSndTsOk() - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- uBound() - Method in class org.drasyl.handler.connection.ConnectionConfig
- uBound(Duration) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
The maximum value allowed for the retransmission timeout.
- 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(EventLoopGroup, Function<ChannelHandlerContext, ChannelInitializer<DatagramChannel>>) - Constructor for class org.drasyl.handler.remote.UdpBroadcastServer
- UdpBroadcastServerChannelInitializer - Class in org.drasyl.handler.remote
- UdpBroadcastServerChannelInitializer(ChannelHandlerContext) - Constructor for class org.drasyl.handler.remote.UdpBroadcastServerChannelInitializer
- 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(EventLoopGroup, Function<ChannelHandlerContext, ChannelInitializer<DatagramChannel>>) - Constructor for class org.drasyl.handler.remote.UdpMulticastServer
- UdpMulticastServerChannelInitializer - Class in org.drasyl.handler.remote
- UdpMulticastServerChannelInitializer(ChannelHandlerContext) - Constructor for class org.drasyl.handler.remote.UdpMulticastServerChannelInitializer
- 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(Bootstrap, EventLoopGroup, InetSocketAddress, Function<ChannelHandlerContext, ChannelInitializer<DatagramChannel>>) - 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, InetAddress, int, Function<ChannelHandlerContext, ChannelInitializer<DatagramChannel>>) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer(EventLoopGroup, InetSocketAddress) - Constructor for class org.drasyl.handler.remote.UdpServer
- UdpServer(EventLoopGroup, InetSocketAddress, Function<ChannelHandlerContext, ChannelInitializer<DatagramChannel>>) - 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
- UdpServerChannelInitializer - Class in org.drasyl.handler.remote
- UdpServerChannelInitializer(ChannelHandlerContext) - Constructor for class org.drasyl.handler.remote.UdpServerChannelInitializer
- UdpServerToDrasylHandler - Class in org.drasyl.handler.remote
-
This handler passes messages from the
DatagramChannel
to theDrasylServerChannel
's context. - UdpServerToDrasylHandler(ChannelHandlerContext) - Constructor for class org.drasyl.handler.remote.UdpServerToDrasylHandler
- 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
- UNARMED_MESSAGE_DECODER - Static variable in class org.drasyl.channel.RelayOnlyDrasylServerChannelInitializer
- 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(int, long) - 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)
- UnstableApi - Annotation Type in org.drasyl.util.internal
-
Indicates a public API that can change at any time (even in minor/bugfix releases).
- 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
- unusedPortSupplier() - Method in class org.drasyl.handler.connection.ConnectionConfig
- unusedPortSupplier(IntSupplier) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
- 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
. - updateRcvWnd(ChannelHandlerContext) - Method in class org.drasyl.handler.connection.TransmissionControlBlock
- 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
- userCallAbort() - Method in class org.drasyl.handler.connection.ConnectionHandler
-
ABORT call as described in RFC 9293, Section 3.10.5.
- userCallStatus() - Method in class org.drasyl.handler.connection.ConnectionHandler
-
STATUS call as described in RFC 9293, Section 3.10.6.
- 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
-
Deprecated.
- userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.monitoring.TopologyHandler
- userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.handler.peers.PeersHandler
- 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.handler.remote.tcp.TcpCloseIdleClientsHandler
- userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.node.handler.PeersManagerHandler
- userTimeout() - Method in class org.drasyl.handler.connection.ConnectionConfig
- userTimeout(Duration) - Method in class org.drasyl.handler.connection.ConnectionConfig.Builder
-
Defines the duration how long a connection waits for sent data to be acknowledged before the connection is closed.
- userTimeoutFuture - Variable in class org.drasyl.handler.connection.ConnectionHandshakeHandler
-
Deprecated.
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.connection.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.drasyl.handler.peers.Role
-
Returns the enum constant of this type with the specified name.
- 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.connection.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.drasyl.handler.peers.Role
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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
- VERSION_NUMBER - Static variable in class org.drasyl.handler.sntp.SntpMessage
- VisualPipeline - Class in org.drasyl.channel
-
Helper class to visualize the
ChannelHandler
order of a givenChannelPipeline
.
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, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object, 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, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object, Object, 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, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object, Object, Object, 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, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object, Object, Object, Object, 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, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.drasyl.util.logging.JdkLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object, 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, Object, Object, Object, Object, Object, Object, 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.Slf4JLogger
- warn(String, Supplier<Object>) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the WARN level according to the specified format and argument supplier.
- warn(String, Supplier<Object>...) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>...) - Method in interface org.drasyl.util.logging.Logger
-
Log a message at the WARN level according to the specified format and argument suppliers.
- warn(String, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>) - Method in class org.drasyl.util.logging.Slf4JLogger
- warn(String, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, Supplier<Object>, 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.Slf4JLogger
- 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.
- wnd() - Method in class org.drasyl.handler.connection.Segment
-
Returns the window size which indicates the amount of data, in bytes, that the sender of the segment is willing to accept from the other party, effectively controlling the flow of data and preventing buffer overflow.
- 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. - worst() - Method in class org.drasyl.handler.peers.Peer
- 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.ConnectionHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.connection.ConnectionHandshakeHandler
-
Deprecated.
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.handler.connection.ConnectionHandshakePendWritesHandler
-
Deprecated.
- 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.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.ArmHeader
- writeTo(ByteBuf) - Method in class org.drasyl.node.handler.crypto.KeyExchangeMessage
- 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