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

A

AbstractEndHandler - Class in org.drasyl.pipeline
Skeleton implementation for end handler of the Pipeline.
AbstractEndHandler(String, DrasylConfig, Pipeline, Scheduler, Identity, TypeValidator) - Constructor for class org.drasyl.pipeline.AbstractEndHandler
 
AbstractMessage - Class in org.drasyl.peer.connection.message
Message that represents a message from one node to another one.
AbstractMessage() - Constructor for class org.drasyl.peer.connection.message.AbstractMessage
 
AbstractMessage(MessageId) - Constructor for class org.drasyl.peer.connection.message.AbstractMessage
 
AbstractThreeWayHandshakeClientHandler<R extends RequestMessage,​O extends ResponseMessage<?>> - Class in org.drasyl.peer.connection.handler
This handler performs the client-side part of a three-way handshake to create a session.
AbstractThreeWayHandshakeClientHandler(Duration, Messenger, CompletableFuture<Void>, ScheduledFuture<?>, R) - Constructor for class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeClientHandler
 
AbstractThreeWayHandshakeClientHandler(Duration, Messenger, R) - Constructor for class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeClientHandler
 
AbstractThreeWayHandshakeServerHandler<R extends RequestMessage,​O extends ResponseMessage<?>> - Class in org.drasyl.peer.connection.handler
This handler performs the server-side part of a three-way handshake to create a session.
AbstractThreeWayHandshakeServerHandler(Duration, Messenger) - Constructor for class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeServerHandler
 
AbstractThreeWayHandshakeServerHandler(Duration, Messenger, CompletableFuture<Void>, ScheduledFuture<?>, R, O) - Constructor for class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeServerHandler
 
accept(T) - Method in interface org.drasyl.util.DrasylConsumer
Performs this operation on the given argument.
acceptEvent(Event) - Method in class org.drasyl.pipeline.SimpleInboundHandler
Returns true if the given event should be handled.
acceptInbound(Object) - Method in class org.drasyl.pipeline.SimpleInboundHandler
Returns true if the given message should be handled.
acceptOutbound(Object) - Method in class org.drasyl.pipeline.SimpleDuplexHandler
Returns true if the given message should be handled.
acceptOutbound(Object) - Method in class org.drasyl.pipeline.SimpleOutboundHandler
Returns true if the given message should be handled.
acceptOutboundMessage(Object) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
Returns true if the given message should be handled.
acceptOutboundMessage(Object) - Method in class org.drasyl.peer.connection.handler.SimpleChannelOutboundHandler
Returns true if the given message should be handled.
add(Channel) - Method in class org.drasyl.peer.connection.PeerChannelGroup
 
add(CompressedPublicKey) - Method in class org.drasyl.peer.connection.direct.DirectConnectionDemandsCache
Adds publicKey to the cache.
add(CompressedPublicKey) - Method in class org.drasyl.peer.connection.direct.RequestPeerInformationCache
Adds publicKey to the cache if it is not already cached.
add(CompressedPublicKey, Channel) - Method in class org.drasyl.peer.connection.PeerChannelGroup
 
add(DrasylPlugin) - Method in class org.drasyl.plugins.PluginManager
Adds a DrasylPlugin to the PluginManager and also to the Pipeline.
addAfter(String, String, Handler) - Method in class org.drasyl.pipeline.DefaultPipeline
 
addAfter(String, String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Inserts a Handler after an existing handler of this pipeline.
addBefore(String, String, Handler) - Method in class org.drasyl.pipeline.DefaultPipeline
 
addBefore(String, String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Inserts a Handler before an existing handler of this pipeline.
addChunk(ChunkedMessage) - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageOutput
Adds a chunk to the payload.
addClass(Class<?>) - Method in class org.drasyl.pipeline.codec.TypeValidator
Adds a class to the list.
addFirst(String, Handler) - Method in class org.drasyl.pipeline.DefaultPipeline
 
addFirst(String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Inserts a Handler at the first position of this pipeline.
addGrandchildrenRoute(CompressedPublicKey, CompressedPublicKey) - Method in class org.drasyl.peer.PeersManager
 
addLast(String, Handler) - Method in class org.drasyl.pipeline.DefaultPipeline
 
addLast(String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Appends a Handler at the last position of this pipeline.
addPackage(String) - Method in class org.drasyl.pipeline.codec.TypeValidator
Adds a package to the list.
addPeer(CompressedPublicKey) - Method in class org.drasyl.peer.PeersManager
 
afterBufferStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
afterExceptionStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
Adds ChannelHandler to the ChannelPipeline, after the default ExceptionHandler has taken place.
afterFilterStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
afterIdleStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
afterMarshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
afterPojoMarshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.client.DefaultClientChannelInitializer
 
afterPojoMarshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
afterPojoMarshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.server.DefaultServerChannelInitializer
 
afterSslStage(SocketChannel) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
alive(String, int) - Static method in class org.drasyl.util.NetworkUtil
Checks to see if a specific host:port is available.
ApplicationMessage - Class in org.drasyl.peer.connection.message
A message that is sent by an application running on drasyl.
ApplicationMessage(CompressedPublicKey, CompressedPublicKey, byte[]) - Constructor for class org.drasyl.peer.connection.message.ApplicationMessage
Creates a new message.
ApplicationMessage(CompressedPublicKey, CompressedPublicKey, Map<String, String>, byte[]) - Constructor for class org.drasyl.peer.connection.message.ApplicationMessage
Creates a new message.
ApplicationMessage(MessageId, CompressedPublicKey, CompressedPublicKey, byte[], short) - Constructor for class org.drasyl.peer.connection.message.ApplicationMessage
 
ApplicationMessage(MessageId, CompressedPublicKey, CompressedPublicKey, Map<String, String>, byte[], short) - Constructor for class org.drasyl.peer.connection.message.ApplicationMessage
 
apply(T) - Method in interface org.drasyl.util.DrasylFunction
Applies this function to the given argument.
apply(T, U) - Method in interface org.drasyl.util.DrasylBiFunction
Applies this function to the given arguments.
areDirectConnectionsEnabled() - Method in class org.drasyl.DrasylConfig
 
ATTRIBUTE_PUBLIC_KEY - Static variable in class org.drasyl.peer.connection.PeerChannelGroup
 
AutoloadablePlugin - Class in org.drasyl.plugins
This class must be extended by all DrasylPlugins that should be auto-loaded by drasyl.
AutoloadablePlugin(Pipeline, DrasylConfig, PluginEnvironment) - Constructor for class org.drasyl.plugins.AutoloadablePlugin
 
available(int) - Static method in class org.drasyl.util.NetworkUtil
Checks to see if a specific port is available.

B

beforeBufferStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
beforeExceptionStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
beforeFilterStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
beforeIdleStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
beforeMarshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.client.ClientChannelInitializer
 
beforeMarshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
beforeMarshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.server.DefaultServerChannelInitializer
 
beforePojoMarshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
beforeSslStage(SocketChannel) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
bind(ChannelHandlerContext, SocketAddress, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.ExceptionHandler
 
bind(ChannelHandlerContext, SocketAddress, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
 
bufferStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
Adds ChannelHandler for buffer strategies to the ChannelPipeline.
build() - Method in class org.drasyl.DrasylConfig.Builder
 
bytesToHex(byte[]) - Static method in class org.drasyl.crypto.HexUtil
Converts an array of bytes into a string.

C

channelRead0(ChannelHandlerContext, I) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
Is called for each message of type SimpleChannelDuplexHandler on inbound channel.
channelRead0(ChannelHandlerContext, FullHttpRequest) - Method in class org.drasyl.peer.connection.server.handler.ServerHttpHandler
 
channelRead0(ChannelHandlerContext, ChunkedMessage) - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageHandler
 
channelRead0(ChannelHandlerContext, ConnectionExceptionMessage) - Method in class org.drasyl.peer.connection.handler.ConnectionExceptionMessageHandler
 
channelRead0(ChannelHandlerContext, IamMessage) - Method in class org.drasyl.peer.connection.client.PublicKeyExchangeHandler
 
channelRead0(ChannelHandlerContext, Message) - Method in class org.drasyl.peer.connection.handler.PingPongHandler
 
channelRead0(ChannelHandlerContext, Message) - Method in class org.drasyl.peer.connection.handler.SignatureHandler
 
channelRead0(ChannelHandlerContext, Message) - Method in class org.drasyl.peer.connection.server.handler.ServerNewConnectionsGuard
 
channelRead0(ChannelHandlerContext, WhoAreYouMessage) - Method in class org.drasyl.peer.connection.server.handler.WhoAmIHandler
 
channelWrite0(ChannelHandlerContext, ApplicationMessage, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageHandler
 
channelWrite0(ChannelHandlerContext, Message, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SignatureHandler
 
channelWrite0(ChannelHandlerContext, RelayableMessage, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.RelayableMessageGuard
 
channelWrite0(ChannelHandlerContext, O, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
Is called for each message of type SimpleChannelDuplexHandler on the outbound channel.
channelWrite0(ChannelHandlerContext, O, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SimpleChannelOutboundHandler
Is called for each message of type SimpleChannelOutboundHandler on the outbound channel.
CHUNK_HANDLER - Static variable in class org.drasyl.peer.connection.handler.stream.ChunkedMessageHandler
 
CHUNK_SIZE - Static variable in class org.drasyl.peer.connection.handler.stream.ChunkedMessageHandler
 
CHUNKED_WRITER - Static variable in class org.drasyl.peer.connection.DefaultSessionInitializer
 
ChunkedMessage - Class in org.drasyl.peer.connection.message
Models a chunked application message that can be composed by the recipient to one final message.
ChunkedMessageHandler - Class in org.drasyl.peer.connection.handler.stream
This handler allows you to send messages that are too large for the underlying WebSocket transport layer.
ChunkedMessageHandler(int, CompressedPublicKey, Duration) - Constructor for class org.drasyl.peer.connection.handler.stream.ChunkedMessageHandler
 
ChunkedMessageInput - Class in org.drasyl.peer.connection.handler.stream
 
ChunkedMessageInput(ApplicationMessage, int) - Constructor for class org.drasyl.peer.connection.handler.stream.ChunkedMessageInput
Generates a ChunkedInput for the ChunkedWriteHandler from the given ApplicationMessage.
ChunkedMessageOutput - Class in org.drasyl.peer.connection.handler.stream
This class is responsible for merging incoming ChunkedMessages into one ApplicationMessage.
ChunkedMessageOutput(ChannelHandlerContext, CompressedPublicKey, CompressedPublicKey, int, String, MessageId, int, Runnable, long) - Constructor for class org.drasyl.peer.connection.handler.stream.ChunkedMessageOutput
Generates a new ChunkedMessageOutput with combines multiple ChunkedMessages into one ApplicationMessage.
cidr2Netmask(short, int) - Static method in class org.drasyl.util.NetworkUtil
Converts a given CIDR mask to valid IPv4 or IPv6 network mask.
CLASS_KEY_NAME - Static variable in class org.drasyl.pipeline.codec.ObjectHolder
 
clear() - Method in class org.drasyl.peer.connection.direct.DirectConnectionDemandsCache
Clears the cache.
CLIENT_CONNECTION_HANDLER - Static variable in class org.drasyl.peer.connection.client.ClientConnectionHandler
 
ClientChannelInitializer - Class in org.drasyl.peer.connection.client
Creates a newly configured ChannelPipeline for a connection to a node server.
ClientChannelInitializer(int, Duration, short, Endpoint) - Constructor for class org.drasyl.peer.connection.client.ClientChannelInitializer
Initialize a netty Channel for an outbound connection to a node server.
ClientConnectionHandler - Class in org.drasyl.peer.connection.client
This handler performs the handshake with the server and processes incoming messages during the session.
ClientConnectionHandler(ClientEnvironment) - Constructor for class org.drasyl.peer.connection.client.ClientConnectionHandler
 
ClientEnvironment - Class in org.drasyl.peer.connection.client
This class encapsulates all information needed by a ClientChannelInitializer.
ClientEnvironment(DrasylConfig, Identity, Endpoint, Messenger, PeerChannelGroup, PeersManager, Consumer<Event>, boolean, short, Duration, Duration) - Constructor for class org.drasyl.peer.connection.client.ClientEnvironment
 
ClientException - Exception in org.drasyl.peer.connection.client
A ClientException is thrown by the AbstractClient when errors occur.
ClientException(String) - Constructor for exception org.drasyl.peer.connection.client.ClientException
 
ClientException(Throwable) - Constructor for exception org.drasyl.peer.connection.client.ClientException
 
close() - Method in interface org.drasyl.DrasylNodeComponent
Stops the component.
close() - Method in class org.drasyl.monitoring.Monitoring
 
close() - Method in class org.drasyl.peer.connection.direct.DirectConnectionsManager
 
close() - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageInput
 
close() - Method in class org.drasyl.peer.connection.intravm.IntraVmDiscovery
 
close() - Method in class org.drasyl.peer.connection.localhost.LocalHostDiscovery
 
close() - Method in class org.drasyl.peer.connection.server.Server
Closes the server socket and all open client sockets.
close() - Method in class org.drasyl.plugins.PluginManager
Stops all plugins and removes them from the plugin list.
close() - Method in class org.drasyl.util.PortMappingUtil.PortMapping
Closes this port mapping.
close(ChannelHandlerContext, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.ExceptionHandler
 
close(ChannelHandlerContext, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
 
Codec<E,​D> - Class in org.drasyl.pipeline.codec
Standard interface for all codecs of the Pipeline.
Codec() - Constructor for class org.drasyl.pipeline.codec.Codec
 
communicationOccurred() - Method in class org.drasyl.messenger.Messenger
Returns an Observable, which emits the CompressedPublicKey of each peer a message is sent to.
compareTo(Endpoint) - Method in class org.drasyl.peer.Endpoint
Compares this Endpoint to another object, which must be a Endpoint.
completeOnAllOf(CompletableFuture<Void>, Collection<CompletableFuture<?>>) - Static method in class org.drasyl.util.FutureUtil
Completes future if all of the given futures are completed.
completeOnAllOf(CompletableFuture<Void>, CompletableFuture<?>...) - Static method in class org.drasyl.util.FutureUtil
Completes future if all of the given futures are completed.
completeOnAnyOfExceptionally(CompletableFuture<?>, Collection<CompletableFuture<?>>) - Static method in class org.drasyl.util.FutureUtil
Completes future exceptionally if one of the given futures are completed exceptionally.
completeOnAnyOfExceptionally(CompletableFuture<?>, CompletableFuture<?>...) - Static method in class org.drasyl.util.FutureUtil
Completes future exceptionally if one of the given futures are completed exceptionally.
compressedKey(PrivateKey) - Static method in class org.drasyl.crypto.Crypto
 
compressedKey(PublicKey) - Static method in class org.drasyl.crypto.Crypto
 
CompressedKeyPair - Class in org.drasyl.identity
This class is a simple holder for a compressed key pair (a CompressedPublicKey and a CompressedPrivateKey).
CompressedPrivateKey - Class in org.drasyl.identity
This interface models a compressed key that can be converted into a string and vice versa.
CompressedPrivateKey(String) - Constructor for class org.drasyl.identity.CompressedPrivateKey
 
CompressedPrivateKey(PrivateKey) - Constructor for class org.drasyl.identity.CompressedPrivateKey
 
CompressedPublicKey - Class in org.drasyl.identity
This interface models a compressed key that can be converted into a string and vice versa.
CompressedPublicKey(String) - Constructor for class org.drasyl.identity.CompressedPublicKey
 
CompressedPublicKey(PublicKey) - Constructor for class org.drasyl.identity.CompressedPublicKey
 
config - Variable in class org.drasyl.pipeline.DefaultPipeline
 
config - Variable in class org.drasyl.plugins.AutoloadablePlugin
 
config() - Method in interface org.drasyl.pipeline.HandlerContext
 
confirmSession(ChannelHandlerContext, O) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeClientHandler
 
connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.ExceptionHandler
 
connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
 
CONNECTION_ERROR_HANDSHAKE_REJECTED - org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
CONNECTION_ERROR_HANDSHAKE_TIMEOUT - org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
CONNECTION_ERROR_IDENTITY_COLLISION - org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
CONNECTION_ERROR_INITIALIZATION - org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
CONNECTION_ERROR_INTERNAL - org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
CONNECTION_ERROR_PING_PONG - org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
CONNECTION_ERROR_PROOF_OF_WORK_INVALID - org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
CONNECTION_ERROR_SUPER_PEER_DISCONNECTED - org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
CONNECTION_ERROR_WRONG_PUBLIC_KEY - org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
CONNECTION_GUARD - Static variable in class org.drasyl.peer.connection.server.handler.ServerNewConnectionsGuard
 
ConnectionExceptionMessage - Class in org.drasyl.peer.connection.message
A message representing an exception that refers to a connection.
ConnectionExceptionMessage(ConnectionExceptionMessage.Error) - Constructor for class org.drasyl.peer.connection.message.ConnectionExceptionMessage
Creates a new exception message.
ConnectionExceptionMessage.Error - Enum in org.drasyl.peer.connection.message
Specifies the type of the ConnectionExceptionMessage.
ConnectionExceptionMessageHandler - Class in org.drasyl.peer.connection.handler
Fires a channel wide close event, when a ConnectionExceptionMessage received.
contains(CompressedPublicKey) - Method in class org.drasyl.peer.connection.direct.DirectConnectionDemandsCache
 
context(String) - Method in class org.drasyl.pipeline.DefaultPipeline
 
context(String) - Method in interface org.drasyl.pipeline.Pipeline
Returns the context object of the Handler with the specified name in this pipeline.
createConnection(ChannelHandlerContext, O) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeClientHandler
 
createConnection(ChannelHandlerContext, JoinMessage) - Method in class org.drasyl.peer.connection.server.ServerConnectionHandler
 
createConnection(ChannelHandlerContext, WelcomeMessage) - Method in class org.drasyl.peer.connection.client.ClientConnectionHandler
 
createConnection(ChannelHandlerContext, R) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeServerHandler
 
createFirstChunk(CompressedPublicKey, CompressedPublicKey, MessageId, byte[], int, String) - Static method in class org.drasyl.peer.connection.message.ChunkedMessage
Creates the initial chunked message.
createFollowChunk(CompressedPublicKey, CompressedPublicKey, MessageId, byte[]) - Static method in class org.drasyl.peer.connection.message.ChunkedMessage
Creates a follow chunked message.
createInetAddress(String) - Static method in class org.drasyl.util.NetworkUtil
Creates a InetAddress by parsing the given string.
createLastChunk(CompressedPublicKey, CompressedPublicKey, MessageId) - Static method in class org.drasyl.peer.connection.message.ChunkedMessage
Creates the last chunked message.
createUri(String, String, int) - Static method in class org.drasyl.util.UriUtil
Creates a URI by parsing the given components.
createUrl(String) - Static method in class org.drasyl.util.UrlUtil
Creates a URL by parsing the given string.
Crypto - Class in org.drasyl.crypto
 
CryptoException - Exception in org.drasyl.crypto
A CryptoException is thrown by Crypto when errors occur.
CryptoException(Exception) - Constructor for exception org.drasyl.crypto.CryptoException
 
CryptoException(String, Exception) - Constructor for exception org.drasyl.crypto.CryptoException
 
currentExternalAddress() - Method in class org.drasyl.util.PortMappingUtil.PortMapping
Returns the external address of the port mapping.
customStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.client.DefaultClientChannelInitializer
 
customStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
Adds ChannelHandler to the ChannelPipeline, after the default initialization has taken place.
customStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.server.DefaultServerChannelInitializer
 

D

decode(ChannelHandlerContext, BinaryWebSocketFrame, List<Object>) - Method in class org.drasyl.peer.connection.handler.MessageDecoder
 
DEFAULT_CODEC - Static variable in class org.drasyl.pipeline.codec.DefaultCodec
 
DefaultClientChannelInitializer - Class in org.drasyl.peer.connection.client
Creates a newly configured ChannelPipeline for a ClientConnection to a node server.
DefaultClientChannelInitializer(ClientEnvironment) - Constructor for class org.drasyl.peer.connection.client.DefaultClientChannelInitializer
 
DefaultCodec - Class in org.drasyl.pipeline.codec
This default codec allows to encode/decode all supported objects by Jackson.
DefaultHandlerContext - Class in org.drasyl.pipeline
 
DefaultHandlerContext(String, Handler, DrasylConfig, Pipeline, Scheduler, Identity, TypeValidator) - Constructor for class org.drasyl.pipeline.DefaultHandlerContext
 
DefaultPipeline - Class in org.drasyl.pipeline
Abstract Pipeline implementation, that needs head and tail.
DefaultPipeline() - Constructor for class org.drasyl.pipeline.DefaultPipeline
 
DefaultServerChannelInitializer - Class in org.drasyl.peer.connection.server
Creates a newly configured ChannelPipeline for the node server.
DefaultServerChannelInitializer(ServerEnvironment) - Constructor for class org.drasyl.peer.connection.server.DefaultServerChannelInitializer
 
DefaultSessionInitializer - Class in org.drasyl.peer.connection
Creates a newly configured ChannelPipeline for a new channel for a connection to or from a the Server.
DefaultSessionInitializer(int, Duration, short) - Constructor for class org.drasyl.peer.connection.DefaultSessionInitializer
 
deleteIdentityFile(Path) - Static method in class org.drasyl.identity.IdentityManager
Deletes the identity file specified in the configuration.
deregister(ChannelHandlerContext, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.ExceptionHandler
 
deregister(ChannelHandlerContext, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
 
description() - Method in interface org.drasyl.plugins.DrasylPlugin
 
difference(Set<E>, E...) - Static method in class org.drasyl.util.SetUtil
Returns a set containing all elements from set a that are not b.
difference(Set<E>, Collection<E>) - Static method in class org.drasyl.util.SetUtil
Returns a set containing all elements from set a that are not in set b.
DirectClient - Class in org.drasyl.peer.connection.client
Used by DirectConnectionsManager to establish a direct connection to another peer.
DirectClient(DrasylConfig, Identity, PeersManager, Messenger, PeerChannelGroup, EventLoopGroup, Consumer<Event>, Supplier<Set<Endpoint>>, BooleanSupplier, Runnable, BooleanSupplier) - Constructor for class org.drasyl.peer.connection.client.DirectClient
 
DirectConnectionDemandsCache - Class in org.drasyl.peer.connection.direct
This class caches all peers for a direct connection has been demanded.
DirectConnectionDemandsCache(int, Duration) - Constructor for class org.drasyl.peer.connection.direct.DirectConnectionDemandsCache
Creates a new cache which automatically removes any entry after the duration specified in expireTime.
directConnectionsChannelInitializer(Class<? extends ChannelInitializer<SocketChannel>>) - Method in class org.drasyl.DrasylConfig.Builder
 
directConnectionsEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
directConnectionsHandshakeTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
directConnectionsIdleRetries(short) - Method in class org.drasyl.DrasylConfig.Builder
 
directConnectionsIdleTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
DirectConnectionsManager - Class in org.drasyl.peer.connection.direct
This class is responsible for establishing and managing direct connections with other drasyl nodes.
DirectConnectionsManager(DrasylConfig, Identity, PeersManager, Messenger, DrasylPipeline, PeerChannelGroup, EventLoopGroup, Consumer<Event>, BooleanSupplier, Set<Endpoint>, Observable<CompressedPublicKey>) - Constructor for class org.drasyl.peer.connection.direct.DirectConnectionsManager
 
directConnectionsMaxConcurrentConnections(int) - Method in class org.drasyl.DrasylConfig.Builder
 
directConnectionsRetryDelays(List<Duration>) - Method in class org.drasyl.DrasylConfig.Builder
 
disconnect(ChannelHandlerContext, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.ExceptionHandler
 
disconnect(ChannelHandlerContext, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
 
doHandshake(ChannelHandlerContext, Message) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeClientHandler
 
doHandshake(ChannelHandlerContext, Message) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeServerHandler
 
DRASYL_HANDSHAKE_AFTER_WEBSOCKET_HANDSHAKE - Static variable in class org.drasyl.peer.connection.client.DefaultClientChannelInitializer
 
DrasylBiFunction<T,​U,​R,​E extends Exception> - Interface in org.drasyl.util
BiFunction that can throw a Exception.
DrasylConfig - Class in org.drasyl
This class represents the configuration for a DrasylNode.
DrasylConfig() - Constructor for class org.drasyl.DrasylConfig
 
DrasylConfig(Config) - Constructor for class org.drasyl.DrasylConfig
Creates a new config for a drasyl node.
DrasylConfig.Builder - Class in org.drasyl
Builder class to create a DrasylConfig with custom values.
DrasylConsumer<T,​E extends DrasylException> - Interface in org.drasyl.util
Consumer that can throw a DrasylException.
DrasylException - Exception in org.drasyl
All checked exceptions in drasyl inherit from this exception class.
DrasylException(String) - Constructor for exception org.drasyl.DrasylException
 
DrasylException(Throwable) - Constructor for exception org.drasyl.DrasylException
 
DrasylFunction<T,​R,​E extends Exception> - Interface in org.drasyl.util
Function that can throw a Exception.
DrasylNode - Class in org.drasyl
Represents a node in the drasyl Overlay Network.
DrasylNode() - Constructor for class org.drasyl.DrasylNode
Creates a new drasyl Node.
DrasylNode(DrasylConfig) - Constructor for class org.drasyl.DrasylNode
Creates a new drasyl Node with the given config.
DrasylNode(DrasylConfig, Identity, PeersManager, PeerChannelGroup, Messenger, Set<Endpoint>, AtomicBoolean, DrasylPipeline, List<DrasylNodeComponent>, AtomicBoolean, CompletableFuture<Void>, CompletableFuture<Void>) - Constructor for class org.drasyl.DrasylNode
 
DrasylNodeComponent - Interface in org.drasyl
This interface describes components of the DrasylNode.
DrasylPipeline - Class in org.drasyl.pipeline
The default Pipeline implementation.
DrasylPipeline(Consumer<Event>, DrasylConfig, Identity) - Constructor for class org.drasyl.pipeline.DrasylPipeline
 
DrasylPlugin - Interface in org.drasyl.plugins
This interface is implemented by all drasyl plugins.
DrasylRuntimeException - Exception in org.drasyl
All unchecked exceptions in drasyl inherit from this exception class.
DrasylRuntimeException(String) - Constructor for exception org.drasyl.DrasylRuntimeException
 
DrasylRuntimeException(Throwable) - Constructor for exception org.drasyl.DrasylRuntimeException
 
DrasylScheduler - Class in org.drasyl.util
It is an intentional behavior that this scheduler ensures that the JVM is not automatically terminated once all sequential program flows have been processed.
DrasylSupplier<T,​E extends DrasylException> - Interface in org.drasyl.util
Supplier that can throw a DrasylException.

E

EmbeddedPipeline - Class in org.drasyl.pipeline
Embedded Pipeline implementation, that allows easy testing of Handlers.
EmbeddedPipeline(Identity, TypeValidator) - Constructor for class org.drasyl.pipeline.EmbeddedPipeline
 
EmbeddedPipeline(Identity, TypeValidator, Handler...) - Constructor for class org.drasyl.pipeline.EmbeddedPipeline
Creates a new embedded pipeline and adds all given handler to it.
encode(ChannelHandlerContext, Message, List<Object>) - Method in class org.drasyl.peer.connection.handler.MessageEncoder
 
Endpoint - Class in org.drasyl.peer
Represents an endpoint of a drasyl node.
endpoints - Variable in class org.drasyl.peer.PeerInformation
 
environment - Variable in class org.drasyl.peer.connection.server.DefaultServerChannelInitializer
 
environment - Variable in class org.drasyl.plugins.AutoloadablePlugin
 
equals(Object) - Method in class org.drasyl.crypto.Signature
 
equals(Object) - Method in class org.drasyl.DrasylConfig
 
equals(Object) - Method in exception org.drasyl.DrasylException
 
equals(Object) - Method in exception org.drasyl.DrasylRuntimeException
 
equals(Object) - Method in class org.drasyl.event.MessageEvent
 
equals(Object) - Method in class org.drasyl.event.Node
 
equals(Object) - Method in class org.drasyl.event.NodeUnrecoverableErrorEvent
 
equals(Object) - Method in class org.drasyl.event.Peer
 
equals(Object) - Method in class org.drasyl.identity.CompressedKeyPair
 
equals(Object) - Method in class org.drasyl.identity.Identity
 
equals(Object) - Method in class org.drasyl.identity.ProofOfWork
 
equals(Object) - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageOutput
 
equals(Object) - Method in class org.drasyl.peer.connection.message.AbstractMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.ApplicationMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.ChunkedMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.ConnectionExceptionMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.ExceptionMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.IamMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.IdentityMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.JoinMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.MessageId
 
equals(Object) - Method in class org.drasyl.peer.connection.message.QuitMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.RelayableMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.SignedMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.StatusMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.WelcomeMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.message.WhoisMessage
 
equals(Object) - Method in class org.drasyl.peer.connection.PeerChannelGroup
 
equals(Object) - Method in class org.drasyl.peer.Endpoint
 
equals(Object) - Method in class org.drasyl.peer.PeerInformation
 
equals(Object) - Method in class org.drasyl.pipeline.codec.ObjectHolder
 
equals(Object) - Method in class org.drasyl.util.Pair
 
equals(Object) - Method in class org.drasyl.util.Triple
 
ERROR_FORMAT - org.drasyl.peer.connection.message.ExceptionMessage.Error
 
ERROR_INTERNAL - org.drasyl.peer.connection.message.ExceptionMessage.Error
 
Event - Interface in org.drasyl.event
Describes an Event that provides the application with information about the local node, other peers, connections or incoming messages.
eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.AbstractEndHandler
 
eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.Handler
Gets called if a Event was emitted.
eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.HandlerAdapter
 
eventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.SimpleInboundHandler
 
EXCEPTION_HANDLER - Static variable in class org.drasyl.peer.connection.handler.ExceptionHandler
 
EXCEPTION_MESSAGE_HANDLER - Static variable in class org.drasyl.peer.connection.handler.ConnectionExceptionMessageHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.drasyl.peer.connection.handler.ExceptionHandler
 
exceptionCaught(HandlerContext, Exception) - Method in class org.drasyl.pipeline.AbstractEndHandler
 
exceptionCaught(HandlerContext, Exception) - Method in interface org.drasyl.pipeline.Handler
Gets called if a Exception was thrown.
exceptionCaught(HandlerContext, Exception) - Method in class org.drasyl.pipeline.HandlerAdapter
 
ExceptionHandler - Class in org.drasyl.peer.connection.handler
This handler listens to exceptions on the pipeline and sends them as ExceptionMessage to the peer.
ExceptionHandler() - Constructor for class org.drasyl.peer.connection.handler.ExceptionHandler
Exception handler that does not re-throw occurred Exceptions on ExceptionHandler.exceptionCaught(io.netty.channel.ChannelHandlerContext, java.lang.Throwable) to the next pipeline.
ExceptionHandler(boolean) - Constructor for class org.drasyl.peer.connection.handler.ExceptionHandler
Exception handler that does re-throw occurred Exceptions on ExceptionHandler.exceptionCaught(io.netty.channel.ChannelHandlerContext, java.lang.Throwable) to the next pipeline, if rethrowExceptions is true.
ExceptionMessage - Class in org.drasyl.peer.connection.message
A message representing an exception.
ExceptionMessage(ExceptionMessage.Error) - Constructor for class org.drasyl.peer.connection.message.ExceptionMessage
Creates a new exception message.
ExceptionMessage.Error - Enum in org.drasyl.peer.connection.message
Specifies the type of the ExceptionMessage.
exceptionStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.client.DefaultClientChannelInitializer
 
exceptionStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
Adds ChannelHandler for exception handling to the ChannelPipeline.
exceptionStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.server.DefaultServerChannelInitializer
 
expose(InetSocketAddress) - Static method in class org.drasyl.util.PortMappingUtil
Exposes address via PCP, NAT-PMP, or UPNP-IGD.
externalAddress() - Method in class org.drasyl.util.PortMappingUtil.PortMapping
Returns an Observable which emits the current and every future external addresses.

F

failed() - Method in class org.drasyl.peer.connection.client.DirectClient
Call onFailure if the client can permanently not establish a connection anymore.
filterStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
Adds ChannelHandler for filtering to the ChannelPipeline.
find(CompressedPublicKey) - Method in class org.drasyl.peer.connection.PeerChannelGroup
 
fireEventTriggered(Event, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.HandlerContext
Received an event.
fireExceptionCaught(Exception) - Method in interface org.drasyl.pipeline.HandlerContext
Received an Throwable in one of the inbound operations.
fireRead(CompressedPublicKey, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.HandlerContext
Received a message.
first() - Method in class org.drasyl.util.Pair
 
first() - Method in class org.drasyl.util.Triple
 
flush(ChannelHandlerContext) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
 
flushBufferSize(int) - Method in class org.drasyl.DrasylConfig.Builder
 
from(int) - Static method in enum org.drasyl.peer.connection.message.StatusMessage.Code
 
from(String) - Static method in enum org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
from(String) - Static method in enum org.drasyl.peer.connection.message.ExceptionMessage.Error
 
from(String) - Static method in enum org.drasyl.peer.connection.message.QuitMessage.CloseReason
 
fromString(String) - Static method in class org.drasyl.crypto.HexUtil
Converts a Hexadecimal String into the corresponding byte[]
FutureUtil - Class in org.drasyl.util
Utility class for future-related operations.

G

generateIdentity() - Static method in class org.drasyl.identity.IdentityManager
Generates a new random identity.
generateKeys() - Static method in class org.drasyl.crypto.Crypto
 
generateProofOfWork(CompressedPublicKey, short) - Static method in class org.drasyl.identity.ProofOfWork
 
generateSslContext(SocketChannel) - Method in class org.drasyl.peer.connection.client.DefaultClientChannelInitializer
 
generateSslContext(SocketChannel) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
Generates a SslHandler that can be added to the ChannelPipeline.
generateSslContext(SocketChannel) - Method in class org.drasyl.peer.connection.server.DefaultServerChannelInitializer
 
get() - Method in interface org.drasyl.util.DrasylSupplier
Gets a result.
get(String) - Method in class org.drasyl.pipeline.DefaultPipeline
 
get(String) - Method in interface org.drasyl.pipeline.Pipeline
Returns the Handler with the specified name in this pipeline.
getAcceptNewConnectionsSupplier() - Method in class org.drasyl.peer.connection.server.ServerEnvironment
 
getAddresses() - Static method in class org.drasyl.util.NetworkUtil
Returns a list of the IP addresses of all network interfaces of the local computer.
getBytes() - Method in class org.drasyl.crypto.Signature
Returns bytes of signature.
getChannelGroup() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getChannelGroup() - Method in class org.drasyl.peer.connection.server.ServerEnvironment
 
getChecksum() - Method in class org.drasyl.peer.connection.message.ChunkedMessage
 
getChildrenAndGrandchildren() - Method in class org.drasyl.peer.connection.message.JoinMessage
 
getChildrenAndGrandchildren() - Method in class org.drasyl.peer.PeersManager
 
getChildrenKeys() - Method in class org.drasyl.peer.PeersManager
 
getClazz() - Method in class org.drasyl.pipeline.codec.ObjectHolder
 
getClazz() - Method in class org.drasyl.plugins.PluginEnvironment
 
getClazzAsString() - Method in class org.drasyl.pipeline.codec.ObjectHolder
 
getCode() - Method in class org.drasyl.peer.connection.message.StatusMessage
Returns the HTTP status code.
getCompleteOnAllOf(Collection<CompletableFuture<?>>) - Static method in class org.drasyl.util.FutureUtil
Returns a completed future if all of the given futures are completed.
getCompleteOnAllOf(CompletableFuture<?>...) - Static method in class org.drasyl.util.FutureUtil
Returns a completed future if all of the given futures are completed.
getConfig() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getConfig() - Method in class org.drasyl.peer.connection.server.ServerEnvironment
 
getContent(CompressedPublicKey) - Static method in class org.drasyl.peer.connection.server.handler.ServerHttpHandler
 
getContentLength() - Method in class org.drasyl.peer.connection.message.ChunkedMessage
 
getCorrespondingId() - Method in class org.drasyl.peer.connection.message.IamMessage
 
getCorrespondingId() - Method in class org.drasyl.peer.connection.message.IdentityMessage
 
getCorrespondingId() - Method in interface org.drasyl.peer.connection.message.ResponseMessage
 
getCorrespondingId() - Method in class org.drasyl.peer.connection.message.WelcomeMessage
 
getDescription() - Method in enum org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
 
getDescription() - Method in enum org.drasyl.peer.connection.message.ExceptionMessage.Error
 
getDescription() - Method in enum org.drasyl.peer.connection.message.QuitMessage.CloseReason
 
getDirectConnectionsChannelInitializer() - Method in class org.drasyl.DrasylConfig
 
getDirectConnectionsHandshakeTimeout() - Method in class org.drasyl.DrasylConfig
 
getDirectConnectionsIdleRetries() - Method in class org.drasyl.DrasylConfig
 
getDirectConnectionsIdleTimeout() - Method in class org.drasyl.DrasylConfig
 
getDirectConnectionsMaxConcurrentConnections() - Method in class org.drasyl.DrasylConfig
 
getDirectConnectionsRetryDelays() - Method in class org.drasyl.DrasylConfig
 
getEndpoint() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getEndpoints() - Method in class org.drasyl.event.Node
 
getEndpoints() - Method in class org.drasyl.peer.connection.server.ServerEnvironment
 
getEndpoints() - Method in class org.drasyl.peer.PeerInformation
 
getError() - Method in class org.drasyl.event.NodeUnrecoverableErrorEvent
 
getError() - Method in class org.drasyl.peer.connection.message.ConnectionExceptionMessage
 
getError() - Method in class org.drasyl.peer.connection.message.ExceptionMessage
 
getEventConsumer() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getExternalIPv4Address() - Static method in class org.drasyl.util.NetworkUtil
Determines the external IPv4 address.
getExternalIPv6Address() - Static method in class org.drasyl.util.NetworkUtil
Determines the external IPv6 address.
getFlushBufferSize() - Method in class org.drasyl.DrasylConfig
 
getGrandchildrenRoutes() - Method in class org.drasyl.peer.PeersManager
 
getHandler() - Method in interface org.drasyl.plugins.DrasylPlugin
This method gets called when the plugin is added to drasyl and adds the given Handlers to the corresponding Pipeline.
getHandshakeTimeout() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getHeader(String) - Method in class org.drasyl.peer.connection.message.ApplicationMessage
Returns the value of header with name name, or null if this header does not exist.
getHeaders() - Method in class org.drasyl.peer.connection.message.ApplicationMessage
 
getHopCount() - Method in class org.drasyl.peer.connection.message.RelayableMessage
 
getHost() - Method in class org.drasyl.peer.Endpoint
Returns the host component of this endpoint.
getId() - Method in class org.drasyl.peer.connection.message.AbstractMessage
 
getId() - Method in interface org.drasyl.peer.connection.message.Message
 
getId() - Method in class org.drasyl.peer.connection.message.SignedMessage
 
getIdentity() - Method in class org.drasyl.event.Node
 
getIdentity() - Method in class org.drasyl.identity.IdentityManager
 
getIdentity() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getIdentity() - Method in class org.drasyl.peer.connection.server.ServerEnvironment
 
getIdentityPath() - Method in class org.drasyl.DrasylConfig
 
getIdentityPrivateKey() - Method in class org.drasyl.DrasylConfig
 
getIdentityProofOfWork() - Method in class org.drasyl.DrasylConfig
 
getIdentityPublicKey() - Method in class org.drasyl.DrasylConfig
 
getIdleRetries() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getIdleTimeout() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getInstanceHeavy() - Static method in class org.drasyl.util.DrasylScheduler
Use this Scheduler for slow and heavy task that does do longer computations.
getInstanceLight() - Static method in class org.drasyl.util.DrasylScheduler
Use this Scheduler for fast and light task that does not do heavy computations.
getKeyPair() - Method in class org.drasyl.identity.Identity
 
getKid() - Method in class org.drasyl.peer.connection.message.SignedMessage
 
getLocalHostDiscoveryLeaseTime() - Method in class org.drasyl.DrasylConfig
 
getLocalHostDiscoveryPath() - Method in class org.drasyl.DrasylConfig
 
getLocalHostName() - Static method in class org.drasyl.util.NetworkUtil
Returns the local host name.
getLogger() - Method in class org.drasyl.peer.connection.client.ClientConnectionHandler
 
getLogger() - Method in class org.drasyl.peer.connection.client.DirectClient
 
getLogger() - Method in class org.drasyl.peer.connection.client.SuperPeerClient
 
getLogger() - Method in class org.drasyl.peer.connection.server.ServerConnectionHandler
 
getLoglevel() - Method in class org.drasyl.DrasylConfig
 
getLogLevel() - Static method in class org.drasyl.DrasylNode
Return log level of loggers in org.drasyl package namespace.
getMarshallingAllowedPackages() - Method in class org.drasyl.DrasylConfig
 
getMarshallingAllowedTypes() - Method in class org.drasyl.DrasylConfig
 
getMessageComposedMessageTransferTimeout() - Method in class org.drasyl.DrasylConfig
 
getMessageHopLimit() - Method in class org.drasyl.DrasylConfig
 
getMessageMaxContentLength() - Method in class org.drasyl.DrasylConfig
 
getMessenger() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getMessenger() - Method in class org.drasyl.peer.connection.server.ServerEnvironment
 
getMonitoringInfluxDatabase() - Method in class org.drasyl.DrasylConfig
 
getMonitoringInfluxPassword() - Method in class org.drasyl.DrasylConfig
 
getMonitoringInfluxReportingFrequency() - Method in class org.drasyl.DrasylConfig
 
getMonitoringInfluxUri() - Method in class org.drasyl.DrasylConfig
 
getMonitoringInfluxUser() - Method in class org.drasyl.DrasylConfig
 
getNetworkPrefixLength(InetAddress) - Static method in class org.drasyl.util.NetworkUtil
Returns the network prefix length for given address.
getNode() - Method in interface org.drasyl.event.NodeEvent
 
getNonce() - Method in class org.drasyl.identity.ProofOfWork
 
getNumber() - Method in enum org.drasyl.peer.connection.message.StatusMessage.Code
 
getObject() - Method in class org.drasyl.pipeline.codec.ObjectHolder
 
getOptions() - Method in class org.drasyl.plugins.PluginEnvironment
 
getPayload() - Method in class org.drasyl.event.MessageEvent
 
getPayload() - Method in class org.drasyl.peer.connection.message.ApplicationMessage
 
getPayload() - Method in class org.drasyl.peer.connection.message.SignedMessage
 
getPeer() - Method in interface org.drasyl.event.PeerEvent
 
getPeer(CompressedPublicKey) - Method in class org.drasyl.peer.PeersManager
 
getPeerInformation() - Method in class org.drasyl.peer.connection.message.IdentityMessage
 
getPeerInformation() - Method in class org.drasyl.peer.connection.message.WelcomeMessage
 
getPeerInformation() - Method in class org.drasyl.peer.connection.message.WhoisMessage
 
getPeers() - Method in class org.drasyl.peer.PeersManager
 
getPeers(PeersManager) - Static method in class org.drasyl.peer.connection.server.handler.ServerHttpHandler
 
getPeersManager() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
getPeersManager() - Method in class org.drasyl.peer.connection.server.ServerEnvironment
 
getPluginEnvironments() - Method in class org.drasyl.DrasylConfig
 
getPort() - Method in class org.drasyl.peer.Endpoint
Returns the port of this endpoint.
getPrivateKey() - Method in class org.drasyl.identity.CompressedKeyPair
 
getPrivateKey() - Method in class org.drasyl.identity.Identity
 
getPrivateKey() - Method in class org.drasyl.identity.IdentityManager
 
getPrivateKeyFromBytes(byte[]) - Static method in class org.drasyl.crypto.Crypto
 
getProofOfWork() - Method in class org.drasyl.identity.Identity
 
getProofOfWork() - Method in class org.drasyl.identity.IdentityManager
 
getProofOfWork() - Method in class org.drasyl.peer.connection.message.JoinMessage
 
getPublicKey() - Method in class org.drasyl.event.Peer
 
getPublicKey() - Method in class org.drasyl.identity.CompressedKeyPair
 
getPublicKey() - Method in class org.drasyl.identity.Identity
 
getPublicKey() - Method in class org.drasyl.identity.IdentityManager
 
getPublicKey() - Method in class org.drasyl.peer.connection.message.IamMessage
 
getPublicKey() - Method in class org.drasyl.peer.connection.message.IdentityMessage
 
getPublicKey() - Method in class org.drasyl.peer.connection.message.JoinMessage
 
getPublicKey() - Method in class org.drasyl.peer.Endpoint
Returns the CompressedPublicKey of this Endpoint.
getPublicKeyFromBytes(byte[]) - Static method in class org.drasyl.crypto.Crypto
 
getReason() - Method in class org.drasyl.peer.connection.message.QuitMessage
 
getRecipient() - Method in class org.drasyl.peer.connection.message.RelayableMessage
 
getRequester() - Method in class org.drasyl.peer.connection.message.WhoisMessage
 
getSender() - Method in class org.drasyl.event.MessageEvent
 
getSender() - Method in class org.drasyl.peer.connection.message.ApplicationMessage
 
getServerBindHost() - Method in class org.drasyl.DrasylConfig
 
getServerBindPort() - Method in class org.drasyl.DrasylConfig
 
getServerChannelInitializer() - Method in class org.drasyl.DrasylConfig
 
getServerEndpoints() - Method in class org.drasyl.DrasylConfig
 
getServerHandshakeTimeout() - Method in class org.drasyl.DrasylConfig
 
getServerIdleRetries() - Method in class org.drasyl.DrasylConfig
 
getServerIdleTimeout() - Method in class org.drasyl.DrasylConfig
 
getServerSSLEnabled() - Method in class org.drasyl.DrasylConfig
 
getServerSSLProtocols() - Method in class org.drasyl.DrasylConfig
 
getSignableBytes() - Method in interface org.drasyl.crypto.Signable
Returns a byte representation of the object that can be used for signing the object.
getSignature() - Method in interface org.drasyl.crypto.Signable
Returns the signature this signable object was signed with.
getSignature() - Method in class org.drasyl.peer.connection.message.SignedMessage
 
getSuperPeer() - Method in class org.drasyl.peer.PeersManager
 
getSuperPeerChannelInitializer() - Method in class org.drasyl.DrasylConfig
 
getSuperPeerEndpoints() - Method in class org.drasyl.DrasylConfig
 
getSuperPeerHandshakeTimeout() - Method in class org.drasyl.DrasylConfig
 
getSuperPeerIdleRetries() - Method in class org.drasyl.DrasylConfig
 
getSuperPeerIdleTimeout() - Method in class org.drasyl.DrasylConfig
 
getSuperPeerKey() - Method in class org.drasyl.peer.PeersManager
 
getSuperPeerRetryDelays() - Method in class org.drasyl.DrasylConfig
 
getURI() - Method in class org.drasyl.peer.Endpoint
Returns the URI of this Endpoint.
getVersion() - Static method in class org.drasyl.DrasylNode
Returns the version of the node.

H

handler() - Method in class org.drasyl.pipeline.AbstractEndHandler
 
handler() - Method in class org.drasyl.pipeline.DefaultHandlerContext
 
handler() - Method in interface org.drasyl.pipeline.HandlerContext
 
Handler - Interface in org.drasyl.pipeline
Handles an I/O event or intercepts an I/O operation, and forwards it to its next handler in its Pipeline.
HandlerAdapter - Class in org.drasyl.pipeline
Skeleton implementation of a Handler.
HandlerAdapter() - Constructor for class org.drasyl.pipeline.HandlerAdapter
 
handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.peer.connection.client.ClientConnectionHandler
 
handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.peer.connection.client.PublicKeyExchangeHandler
 
handlerAdded(ChannelHandlerContext) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeClientHandler
 
handlerAdded(HandlerContext) - Method in class org.drasyl.pipeline.AbstractEndHandler
 
handlerAdded(HandlerContext) - Method in interface org.drasyl.pipeline.Handler
Gets called after the Handler was added to the actual context and it's ready to handle events.
handlerAdded(HandlerContext) - Method in class org.drasyl.pipeline.HandlerAdapter
Do nothing by default, sub-classes may override this method.
HandlerContext - Interface in org.drasyl.pipeline
Enables a Handler to interact with its Pipeline and other handlers.
handlerNames - Variable in class org.drasyl.pipeline.DefaultPipeline
 
handlerRemoved(HandlerContext) - Method in class org.drasyl.pipeline.AbstractEndHandler
 
handlerRemoved(HandlerContext) - Method in interface org.drasyl.pipeline.Handler
Gets called after the Handler was removed from the actual context and it doesn't handle events anymore.
handlerRemoved(HandlerContext) - Method in class org.drasyl.pipeline.HandlerAdapter
Do nothing by default, sub-classes may override this method.
hashCode() - Method in class org.drasyl.crypto.Signature
 
hashCode() - Method in class org.drasyl.DrasylConfig
 
hashCode() - Method in exception org.drasyl.DrasylException
 
hashCode() - Method in exception org.drasyl.DrasylRuntimeException
 
hashCode() - Method in class org.drasyl.event.MessageEvent
 
hashCode() - Method in class org.drasyl.event.Node
 
hashCode() - Method in class org.drasyl.event.NodeUnrecoverableErrorEvent
 
hashCode() - Method in class org.drasyl.event.Peer
 
hashCode() - Method in class org.drasyl.identity.CompressedKeyPair
 
hashCode() - Method in class org.drasyl.identity.Identity
 
hashCode() - Method in class org.drasyl.identity.ProofOfWork
 
hashCode() - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageOutput
 
hashCode() - Method in class org.drasyl.peer.connection.message.AbstractMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.ApplicationMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.ChunkedMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.ConnectionExceptionMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.ExceptionMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.IamMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.IdentityMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.JoinMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.MessageId
 
hashCode() - Method in class org.drasyl.peer.connection.message.QuitMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.RelayableMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.SignedMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.StatusMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.WelcomeMessage
 
hashCode() - Method in class org.drasyl.peer.connection.message.WhoisMessage
 
hashCode() - Method in class org.drasyl.peer.connection.PeerChannelGroup
 
hashCode() - Method in class org.drasyl.peer.Endpoint
 
hashCode() - Method in class org.drasyl.peer.PeerInformation
 
hashCode() - Method in class org.drasyl.pipeline.codec.ObjectHolder
 
hashCode() - Method in class org.drasyl.util.Pair
 
hashCode() - Method in class org.drasyl.util.Triple
 
hashCode2Hex(HashCode) - Static method in class org.drasyl.crypto.Hashing
 
Hashing - Class in org.drasyl.crypto
 
head - Variable in class org.drasyl.pipeline.DefaultPipeline
 
headers - Variable in class org.drasyl.peer.connection.message.ApplicationMessage
 
heavySchedulerCreated - Static variable in class org.drasyl.util.DrasylScheduler
 
HexUtil - Class in org.drasyl.crypto
 
HOP_COUNT_GUARD - Static variable in class org.drasyl.peer.connection.handler.RelayableMessageGuard
 
hopCount - Variable in class org.drasyl.peer.connection.message.RelayableMessage
 

I

IamMessage - Class in org.drasyl.peer.connection.message
This message is used as response to a WhoAreYouMessage and contains the public key of this peer.
IamMessage(CompressedPublicKey, MessageId) - Constructor for class org.drasyl.peer.connection.message.IamMessage
 
IamMessage(MessageId, CompressedPublicKey, MessageId) - Constructor for class org.drasyl.peer.connection.message.IamMessage
 
id - Variable in class org.drasyl.peer.connection.message.AbstractMessage
 
identity - Variable in class org.drasyl.pipeline.DefaultPipeline
 
identity() - Method in class org.drasyl.DrasylNode
Returns the Identity of this node.
identity() - Method in interface org.drasyl.pipeline.HandlerContext
 
Identity - Class in org.drasyl.identity
Represents the private identity of a peer (includes the proof of work, the public and private key).
Identity(int, String, String) - Constructor for class org.drasyl.identity.Identity
 
IdentityManager - Class in org.drasyl.identity
This class holds the identity of the node.
IdentityManager(DrasylConfig) - Constructor for class org.drasyl.identity.IdentityManager
Manages the identity at the specified file path.
IdentityManagerException - Exception in org.drasyl.identity
A IdentityManagerException is thrown by the IdentityManager when errors occur.
IdentityManagerException(String) - Constructor for exception org.drasyl.identity.IdentityManagerException
 
IdentityManagerException(Throwable) - Constructor for exception org.drasyl.identity.IdentityManagerException
 
IdentityMessage - Class in org.drasyl.peer.connection.message
This message is used as a response to a WhoisMessage and contains information about a peer (like public key and endpoints).
IdentityMessage(CompressedPublicKey, CompressedPublicKey, PeerInformation, MessageId) - Constructor for class org.drasyl.peer.connection.message.IdentityMessage
 
identityPath(Path) - Method in class org.drasyl.DrasylConfig.Builder
 
identityPrivateKey(CompressedPrivateKey) - Method in class org.drasyl.DrasylConfig.Builder
 
identityProofOfWork(ProofOfWork) - Method in class org.drasyl.DrasylConfig.Builder
 
identityPublicKey(CompressedPublicKey) - Method in class org.drasyl.DrasylConfig.Builder
 
IDLE_EVENT - Static variable in class org.drasyl.peer.connection.DefaultSessionInitializer
 
idleStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
Adds ChannelHandler for idle handling to the ChannelPipeline.
inboundEvents() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
inboundMessages() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
incNonce() - Method in class org.drasyl.identity.ProofOfWork
 
incrementHopCount() - Method in class org.drasyl.peer.connection.message.RelayableMessage
Increments the hop count value of this message.
initChannel(SocketChannel) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
 
initPointer() - Method in class org.drasyl.pipeline.DefaultPipeline
 
INSTANCE - Static variable in class org.drasyl.peer.connection.handler.ConnectionExceptionMessageHandler
 
INSTANCE - Static variable in class org.drasyl.peer.connection.handler.MessageDecoder
 
INSTANCE - Static variable in class org.drasyl.peer.connection.handler.MessageEncoder
 
INSTANCE - Static variable in class org.drasyl.pipeline.codec.DefaultCodec
 
INSTANCE - Static variable in class org.drasyl.pipeline.codec.ObjectHolder2ApplicationMessageHandler
 
IntraVmDiscovery - Class in org.drasyl.peer.connection.intravm
Uses shared memory to discover other drasyl nodes running on same JVM.
IntraVmDiscovery(CompressedPublicKey, Messenger, PeersManager, Consumer<Event>) - Constructor for class org.drasyl.peer.connection.intravm.IntraVmDiscovery
 
IntraVmDiscovery(CompressedPublicKey, Messenger, PeersManager, Path) - Constructor for class org.drasyl.peer.connection.intravm.IntraVmDiscovery
 
intraVmDiscoveryEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
irrevocablyTerminate() - Static method in class org.drasyl.DrasylNode
This method stops the shared threads (EventLoopGroups), but only if none DrasylNode is using them anymore.
isChildrenJoin() - Method in class org.drasyl.peer.connection.message.JoinMessage
 
isDisconnectedFromSuperPeer() - Method in class org.drasyl.peer.connection.server.ServerEnvironment
 
isEndOfInput() - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageInput
 
isInitialChunk() - Method in class org.drasyl.peer.connection.message.ChunkedMessage
 
isIntraVmDiscoveryEnabled() - Method in class org.drasyl.DrasylConfig
 
isLocalHostDiscoveryEnabled() - Method in class org.drasyl.DrasylConfig
 
isMarshallingAllowAllPrimitives() - Method in class org.drasyl.DrasylConfig
 
isMarshallingAllowArrayOfDefinedTypes() - Method in class org.drasyl.DrasylConfig
 
isMonitoringEnabled() - Method in class org.drasyl.DrasylConfig
 
isSecureEndpoint() - Method in class org.drasyl.peer.Endpoint
Returns true if endpoint uses WebSocket Secure protocol.
isServerEnabled() - Method in class org.drasyl.DrasylConfig
 
isServerExposeEnabled() - Method in class org.drasyl.DrasylConfig
 
isSuperPeerEnabled() - Method in class org.drasyl.DrasylConfig
 
isTypeOf(Class<?>, Class<?>) - Static method in class org.drasyl.pipeline.codec.TypeValidator
Checks if clazz is a subclass of superClass.
isValid() - Method in class org.drasyl.identity.Identity
Validates the identity by checking whether the proof of work matches the public key.
isValid(CompressedPublicKey, short) - Method in class org.drasyl.identity.ProofOfWork
 
isValidMessageId(CharSequence) - Static method in class org.drasyl.peer.connection.message.MessageId
Checks if id is a valid identifier.
isValidNonSpecialIPAddress(InetAddress) - Static method in class org.drasyl.util.NetworkUtil
Check if the given address is a normal IP address that is neither a loopback, link local nor multicast address.
isValidPort(int) - Static method in class org.drasyl.util.NetworkUtil
Checks if a port is valid or not.
isWebSocketNonSecureURI(URI) - Static method in class org.drasyl.util.WebSocketUtil
 
isWebSocketSecureURI(URI) - Static method in class org.drasyl.util.WebSocketUtil
 
isWebSocketURI(URI) - Static method in class org.drasyl.util.WebSocketUtil
 

J

JACKSON_MAPPER - Static variable in class org.drasyl.util.JSONUtil
 
JACKSON_READER - Static variable in class org.drasyl.util.JSONUtil
 
JACKSON_WRITER - Static variable in class org.drasyl.util.JSONUtil
 
joinAsChildren() - Method in class org.drasyl.peer.connection.client.ClientEnvironment
 
JoinMessage - Class in org.drasyl.peer.connection.message
A message representing a join to the node server.
JoinMessage(ProofOfWork, CompressedPublicKey, boolean, Set<CompressedPublicKey>) - Constructor for class org.drasyl.peer.connection.message.JoinMessage
Creates a new join message.
JoinMessage(ProofOfWork, CompressedPublicKey, Set<CompressedPublicKey>) - Constructor for class org.drasyl.peer.connection.message.JoinMessage
Creates a new join message.
JSONUtil - Class in org.drasyl.util
Holder for the JSON serializer and JSON deserializer.

K

KEY_AVAILABLE - org.drasyl.peer.connection.client.PublicKeyExchangeHandler.PublicKeyExchangeState
 

L

length() - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageInput
 
lightSchedulerCreated - Static variable in class org.drasyl.util.DrasylScheduler
 
loadOrCreateIdentity() - Method in class org.drasyl.identity.IdentityManager
Attempts to load the identity defined in the configuration: First it tries to read the key pair directly from the configuration.
LocalHostDiscovery - Class in org.drasyl.peer.connection.localhost
Uses the file system to discover other drasyl nodes running on the local computer.
LocalHostDiscovery(DrasylConfig, CompressedPublicKey, PeersManager, Set<Endpoint>, Observable<CompressedPublicKey>) - Constructor for class org.drasyl.peer.connection.localhost.LocalHostDiscovery
 
localHostDiscoveryEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
localHostDiscoveryLeaseTime(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
LoggingUtil - Class in org.drasyl.util
Utility class for logging-related operations.
loglevel(Level) - Method in class org.drasyl.DrasylConfig.Builder
 

M

makeKeyPair(byte[], byte[]) - Static method in class org.drasyl.crypto.Crypto
 
marshallingAllowAllPrimitives(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
marshallingAllowArrayOfDefinedTypes(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
marshallingAllowedPackages(List<String>) - Method in class org.drasyl.DrasylConfig.Builder
 
marshallingAllowedTypes(List<String>) - Method in class org.drasyl.DrasylConfig.Builder
 
marshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
Adds ChannelHandler for marshalling to the ChannelPipeline.
maskSecret(Object) - Static method in class org.drasyl.util.SecretUtil
This method replaces each character in the return of secret's Object.toString()-call with a asterisk.
matchedEventTriggered(HandlerContext, E, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.SimpleInboundHandler
Is called for each event of type SimpleInboundHandler.
matchedEventTriggered(HandlerContext, Event, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.codec.Codec
 
matchedRead(HandlerContext, CompressedPublicKey, E, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.codec.Codec
 
matchedRead(HandlerContext, CompressedPublicKey, I, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.SimpleInboundHandler
Is called for each message of type SimpleInboundHandler.
matchedWrite(HandlerContext, CompressedPublicKey, D, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.codec.Codec
 
matchedWrite(HandlerContext, CompressedPublicKey, ObjectHolder, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.codec.ObjectHolder2ApplicationMessageHandler
 
matchedWrite(HandlerContext, CompressedPublicKey, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.SimpleDuplexHandler
Is called for each message of type SimpleDuplexHandler.
matchedWrite(HandlerContext, CompressedPublicKey, O, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.SimpleOutboundHandler
Is called for each message of type SimpleOutboundHandler.
MAX_PORT_NUMBER - Static variable in class org.drasyl.util.NetworkUtil
The maximum server port number.
maxRetries - Variable in class org.drasyl.peer.connection.handler.PingPongHandler
 
merge(Set<E>, E...) - Static method in class org.drasyl.util.SetUtil
Returns a set containing all elements from a and the element b.
merge(Set<E>, Set<E>) - Static method in class org.drasyl.util.SetUtil
Returns a set containing all elements from set a and set b.
Message - Interface in org.drasyl.peer.connection.message
Describes messages that are sent by the Server or a client.
MESSAGE_DECODER - Static variable in class org.drasyl.peer.connection.handler.MessageDecoder
 
MESSAGE_ENCODER - Static variable in class org.drasyl.peer.connection.handler.MessageEncoder
 
messageComposedMessageTransferTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
MessageDecoder - Class in org.drasyl.peer.connection.handler
Decodes a String into a Message object.
MessageEncoder - Class in org.drasyl.peer.connection.handler
Encodes a Message into a String object.
MessageEvent - Class in org.drasyl.event
This event signals that the node has received a message addressed to it.
MessageEvent(CompressedPublicKey, Object) - Constructor for class org.drasyl.event.MessageEvent
 
messageHopLimit(short) - Method in class org.drasyl.DrasylConfig.Builder
 
MessageId - Class in org.drasyl.peer.connection.message
A Message is uniquely identified by its 24 lower-case hex digit identifier.
MessageId(String) - Constructor for class org.drasyl.peer.connection.message.MessageId
 
messageMaxContentLength(int) - Method in class org.drasyl.DrasylConfig.Builder
 
MessageSink - Interface in org.drasyl.messenger
Implement this interface and add the object to the Messenger to provide new communication paths for the node
MessageSinkException - Exception in org.drasyl.messenger
A MessageSinkException is thrown by the MessageSink when errors occur.
MessageSinkException(String) - Constructor for exception org.drasyl.messenger.MessageSinkException
 
MessageSinkException(Throwable) - Constructor for exception org.drasyl.messenger.MessageSinkException
 
Messenger - Class in org.drasyl.messenger
The Messenger is responsible for handling the outgoing message flow and sending messages to the recipient.
Messenger(MessageSink, PeersManager, PeerChannelGroup) - Constructor for class org.drasyl.messenger.Messenger
 
MessengerException - Exception in org.drasyl.messenger
A MessengerException is thrown by the Messenger when errors occur.
MessengerException(String) - Constructor for exception org.drasyl.messenger.MessengerException
 
MessengerException(Throwable) - Constructor for exception org.drasyl.messenger.MessengerException
 
MIN_PORT_NUMBER - Static variable in class org.drasyl.util.NetworkUtil
The minimum server port number.
Monitoring - Class in org.drasyl.monitoring
Monitors various states or events in the drasyl Node.
Monitoring(DrasylConfig, PeersManager, CompressedPublicKey, DrasylPipeline) - Constructor for class org.drasyl.monitoring.Monitoring
 
monitoringEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxDatabase(String) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxPassword(String) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxReportingFrequency(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxUri(String) - Method in class org.drasyl.DrasylConfig.Builder
 
monitoringInfluxUser(String) - Method in class org.drasyl.DrasylConfig.Builder
 
MURMUR3_128 - Static variable in class org.drasyl.crypto.Hashing
 
murmur3x64Hex(byte[]) - Static method in class org.drasyl.crypto.Hashing
 
murmur3x64Hex(String) - Static method in class org.drasyl.crypto.Hashing
 

N

name() - Method in interface org.drasyl.pipeline.HandlerContext
 
name() - Method in interface org.drasyl.plugins.DrasylPlugin
The plugin name must be unique.
NetworkUtil - Class in org.drasyl.util
Utility class for network-related operations.
newBuilder() - Static method in class org.drasyl.DrasylConfig
 
newBuilder(DrasylConfig) - Static method in class org.drasyl.DrasylConfig
 
Node - Class in org.drasyl.event
Used by Event to describe an event related to the local Node (e.g.
NodeDownEvent - Class in org.drasyl.event
This event signals that the node is shut down.
NodeDownEvent(Node) - Constructor for class org.drasyl.event.NodeDownEvent
 
NodeEvent - Interface in org.drasyl.event
Events that refer to a Node.
NodeNormalTerminationEvent - Class in org.drasyl.event
This events signals that the node has terminated normally.
NodeNormalTerminationEvent(Node) - Constructor for class org.drasyl.event.NodeNormalTerminationEvent
 
NodeOfflineEvent - Class in org.drasyl.event
This event signals that the node is currently not connected to a super peer.
NodeOfflineEvent(Node) - Constructor for class org.drasyl.event.NodeOfflineEvent
 
NodeOnlineEvent - Class in org.drasyl.event
This event signals that the node has successfully registered with the super peer.
NodeOnlineEvent(Node) - Constructor for class org.drasyl.event.NodeOnlineEvent
 
NodeUnrecoverableErrorEvent - Class in org.drasyl.event
This events signals that the node encountered an unrecoverable error.
NodeUnrecoverableErrorEvent(Node, Throwable) - Constructor for class org.drasyl.event.NodeUnrecoverableErrorEvent
 
NodeUpEvent - Class in org.drasyl.event
This event signals that the node has been started.
NodeUpEvent(Node) - Constructor for class org.drasyl.event.NodeUpEvent
 
NoPathToPublicKeyException - Exception in org.drasyl.messenger
Is thrown by MessageSink if it can be excluded that no path to the specified public key exists.
NoPathToPublicKeyException(CompressedPublicKey) - Constructor for exception org.drasyl.messenger.NoPathToPublicKeyException
 
nthElement(Set<E>, int) - Static method in class org.drasyl.util.SetUtil
Returns the n-th element from set set.

O

OBJECT_HOLDER2APP_MSG - Static variable in class org.drasyl.pipeline.codec.ObjectHolder2ApplicationMessageHandler
 
ObjectHolder - Class in org.drasyl.pipeline.codec
Simple class that holds a serialized object as byte array and the corresponding class of the deserialized object.
ObjectHolder2ApplicationMessageHandler - Class in org.drasyl.pipeline.codec
 
ObservableUtil - Class in org.drasyl.util
Utility class for operations on Observables.
of() - Static method in class org.drasyl.peer.PeerInformation
 
of(int) - Static method in class org.drasyl.identity.ProofOfWork
 
of(int, String, String) - Static method in class org.drasyl.identity.Identity
 
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(Class<?>, byte[]) - Static method in class org.drasyl.pipeline.codec.ObjectHolder
 
of(String) - Static method in class org.drasyl.identity.CompressedPrivateKey
Converts a String into a CompressedPrivateKey.
of(String) - Static method in class org.drasyl.identity.CompressedPublicKey
Converts a String into a CompressedPublicKey.
of(String) - Static method in class org.drasyl.peer.Endpoint
Converts a String to a Endpoint.
of(String, byte[]) - Static method in class org.drasyl.pipeline.codec.ObjectHolder
 
of(String, String) - Static method in class org.drasyl.identity.CompressedKeyPair
 
of(String, CompressedPublicKey) - Static method in class org.drasyl.peer.Endpoint
Converts an String and CompressedPublicKey into Endpoint.
of(URI) - Static method in class org.drasyl.peer.Endpoint
Converts an URI into Endpoint.
of(URI, CompressedPublicKey) - Static method in class org.drasyl.peer.Endpoint
Converts an URI and CompressedPublicKey into Endpoint.
of(KeyPair) - Static method in class org.drasyl.identity.CompressedKeyPair
 
of(PrivateKey) - Static method in class org.drasyl.identity.CompressedPrivateKey
Converts a PrivateKey into a CompressedPrivateKey.
of(PublicKey) - Static method in class org.drasyl.identity.CompressedPublicKey
Converts a PublicKey into a CompressedPublicKey.
of(PublicKey, PrivateKey) - Static method in class org.drasyl.identity.CompressedKeyPair
 
of(List<String>, List<String>, boolean, boolean) - Static method in class org.drasyl.pipeline.codec.TypeValidator
 
of(Set<Endpoint>) - Static method in class org.drasyl.peer.PeerInformation
 
of(DrasylConfig) - Static method in class org.drasyl.pipeline.codec.TypeValidator
 
of(CompressedPublicKey, short) - Static method in class org.drasyl.identity.ProofOfWork
 
of(CompressedPublicKey, CompressedPrivateKey) - Static method in class org.drasyl.identity.CompressedKeyPair
 
of(Identity) - Static method in class org.drasyl.event.Node
 
of(Identity, Set<Endpoint>) - Static method in class org.drasyl.event.Node
 
of(ProofOfWork, String, String) - Static method in class org.drasyl.identity.Identity
 
of(ProofOfWork, CompressedKeyPair) - Static method in class org.drasyl.identity.Identity
 
of(ProofOfWork, CompressedPublicKey, CompressedPrivateKey) - Static method in class org.drasyl.identity.Identity
 
offerSession(ChannelHandlerContext, JoinMessage) - Method in class org.drasyl.peer.connection.server.ServerConnectionHandler
 
offerSession(ChannelHandlerContext, R) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeServerHandler
 
onAdded() - Method in interface org.drasyl.plugins.DrasylPlugin
This method gets called when the plugin was added to drasyl.
onEvent(Event) - Method in class org.drasyl.DrasylNode
Sends event to the application and tells it information about the local node, other peers, connections or incoming messages.
onRemove() - Method in interface org.drasyl.plugins.DrasylPlugin
This method gets called when the plugin was removed from drasyl.
open() - Method in interface org.drasyl.DrasylNodeComponent
Starts the component.
open() - Method in class org.drasyl.monitoring.Monitoring
 
open() - Method in class org.drasyl.peer.connection.direct.DirectConnectionsManager
 
open() - Method in class org.drasyl.peer.connection.intravm.IntraVmDiscovery
 
open() - Method in class org.drasyl.peer.connection.localhost.LocalHostDiscovery
 
open() - Method in class org.drasyl.peer.connection.server.Server
Starts the server.
open() - Method in class org.drasyl.plugins.PluginManager
Automatically loads all plugins that are defined in the corresponding DrasylConfig.
org.drasyl - package org.drasyl
Core API that includes the DrasylNode and DrasylConfig.
org.drasyl.crypto - package org.drasyl.crypto
Classes for crypto-related operations.
org.drasyl.event - package org.drasyl.event
Contains events that inform the application about various states of the drasyl node, incoming communication, or connection type changes.
org.drasyl.identity - package org.drasyl.identity
Contains classes to manage the Identity of the drasyl node.
org.drasyl.messenger - package org.drasyl.messenger
Decides which path/peer is used to send outgoing messages.
org.drasyl.monitoring - package org.drasyl.monitoring
Monitors various states or events in the drasyl node.
org.drasyl.peer - package org.drasyl.peer
Package contains classes that are used for communicating with other peers.
org.drasyl.peer.connection - package org.drasyl.peer.connection
Provides classes to manage connections to other peers.
org.drasyl.peer.connection.client - package org.drasyl.peer.connection.client
Connects to super peer and other peers.
org.drasyl.peer.connection.direct - package org.drasyl.peer.connection.direct
Establishes direct connections to other peers.
org.drasyl.peer.connection.handler - package org.drasyl.peer.connection.handler
netty handlers for peer connections.
org.drasyl.peer.connection.handler.stream - package org.drasyl.peer.connection.handler.stream
Writes very large application messages asynchronously.
org.drasyl.peer.connection.intravm - package org.drasyl.peer.connection.intravm
Automatic discovery of other running drasyl nodes in the same JVM.
org.drasyl.peer.connection.localhost - package org.drasyl.peer.connection.localhost
 
org.drasyl.peer.connection.message - package org.drasyl.peer.connection.message
Contains all message types that drasyl uses to configure the overlay network and transfer application messages.
org.drasyl.peer.connection.server - package org.drasyl.peer.connection.server
Provides a server to which children and other peers can connect.
org.drasyl.peer.connection.server.handler - package org.drasyl.peer.connection.server.handler
netty handlers dedicated for the server.
org.drasyl.pipeline - package org.drasyl.pipeline
Link between application and drasyl overlay network.
org.drasyl.pipeline.codec - package org.drasyl.pipeline.codec
Package contains classes that are used for encoding/decoding objects.
org.drasyl.plugins - package org.drasyl.plugins
Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with user-defined settings.
org.drasyl.util - package org.drasyl.util
Utility classes used across multiple packages.
outboundMessages() - Method in class org.drasyl.pipeline.EmbeddedPipeline
 
overrideFragment(URI, String) - Static method in class org.drasyl.util.UriUtil
This method sets the fragment in uri to fragment and returns the resulting URI.
overridePort(URI, int) - Static method in class org.drasyl.util.UriUtil
This method sets the port in uri to port and returns the resulting URI.

P

Pair<A,​B> - Class in org.drasyl.util
A tuple of two elements.
pairWithPreviousObservable(Observable<T>) - Static method in class org.drasyl.util.ObservableUtil
Creates an Observable to pair up the current and previous items.
parseCompressedPrivateKey(byte[]) - Static method in class org.drasyl.crypto.Crypto
 
parseCompressedPublicKey(byte[]) - Static method in class org.drasyl.crypto.Crypto
 
parseFile(File) - Static method in class org.drasyl.DrasylConfig
 
parseHexBinary(String) - Static method in class org.drasyl.crypto.HexUtil
Converts the string argument into an array of bytes.
Path - Interface in org.drasyl.peer
Represents a path for sending messages to a specific Peer.
payload - Variable in class org.drasyl.peer.connection.message.ApplicationMessage
 
payloadAsByteBuf() - Method in class org.drasyl.peer.connection.message.ApplicationMessage
 
Peer - Class in org.drasyl.event
Used by Event to describe an event related to a Peer (e.g.
Peer(CompressedPublicKey) - Constructor for class org.drasyl.event.Peer
 
PeerChannelGroup - Class in org.drasyl.peer.connection
Special type of ChannelGroup, which has a lookup complexity of O(1) instead of O(n) for lookups by CompressedPublicKey.
PeerChannelGroup() - Constructor for class org.drasyl.peer.connection.PeerChannelGroup
 
PeerChannelGroup(EventExecutor) - Constructor for class org.drasyl.peer.connection.PeerChannelGroup
 
PeerDirectEvent - Class in org.drasyl.event
This event signals that the node has established a direct connection to a peer.
PeerDirectEvent(Peer) - Constructor for class org.drasyl.event.PeerDirectEvent
 
PeerEvent - Interface in org.drasyl.event
Events that refer to a Peer.
PeerInformation - Class in org.drasyl.peer
Contains information on a specific peer (e.g.
PeerInformation(Set<Endpoint>) - Constructor for class org.drasyl.peer.PeerInformation
 
PeerRelayEvent - Class in org.drasyl.event
This event signals that the node has established a connection via a super peer to a peer.
PeerRelayEvent(Peer) - Constructor for class org.drasyl.event.PeerRelayEvent
 
PeersManager - Class in org.drasyl.peer
This class contains information about other peers.
PeersManager(Consumer<Event>) - Constructor for class org.drasyl.peer.PeersManager
 
PING_PONG_HANDLER - Static variable in class org.drasyl.peer.connection.handler.PingPongHandler
 
PingMessage - Class in org.drasyl.peer.connection.message
A message representing a PING request.
PingMessage() - Constructor for class org.drasyl.peer.connection.message.PingMessage
 
PingPongHandler - Class in org.drasyl.peer.connection.handler
This handler acts as a health check for a connection.
PingPongHandler() - Constructor for class org.drasyl.peer.connection.handler.PingPongHandler
PingPongHandler with 3 retries, until channel is closed.
PingPongHandler(short) - Constructor for class org.drasyl.peer.connection.handler.PingPongHandler
PingPongHandler with retries retries, until channel is closed.
pipeline - Variable in class org.drasyl.plugins.AutoloadablePlugin
 
pipeline() - Method in class org.drasyl.DrasylNode
Returns the Pipeline to allow users to add own handlers.
pipeline() - Method in interface org.drasyl.pipeline.HandlerContext
 
Pipeline - Interface in org.drasyl.pipeline
A list of Handlers which handles or intercepts inbound events and outbound operations of a DrasylNode.
PipelineException - Exception in org.drasyl.pipeline
RuntimeException thrown by the Pipeline.
PipelineException(String) - Constructor for exception org.drasyl.pipeline.PipelineException
 
PipelineException(Throwable) - Constructor for exception org.drasyl.pipeline.PipelineException
 
PluginEnvironment - Class in org.drasyl.plugins
Models environment information of a DrasylPlugin that are required by the plugin or the PluginManager to automatically load the plugin.
PluginEnvironment(ConfigObject, Class<? extends AutoloadablePlugin>) - Constructor for class org.drasyl.plugins.PluginEnvironment
 
pluginEnvironments(List<PluginEnvironment>) - Method in class org.drasyl.DrasylConfig.Builder
 
PluginManager - Class in org.drasyl.plugins
 
PluginManager(Pipeline, DrasylConfig) - Constructor for class org.drasyl.plugins.PluginManager
 
pojoMarshalStage(ChannelPipeline) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
Adds ChannelHandler for POJO marshalling handling to the ChannelPipeline.
PongMessage - Class in org.drasyl.peer.connection.message
A message representing a PONG response.
PongMessage(MessageId) - Constructor for class org.drasyl.peer.connection.message.PongMessage
 
PongMessage(MessageId, MessageId) - Constructor for class org.drasyl.peer.connection.message.PongMessage
 
PortMapping(PortMapper, InetSocketAddress) - Constructor for class org.drasyl.util.PortMappingUtil.PortMapping
Attempts to create a port mapping for address at router mapper.
PortMappingUtil - Class in org.drasyl.util
Class for the creation of port mappings to make local services externally/publicly accessible.
PortMappingUtil.PortMapping - Class in org.drasyl.util
Represents a port mapping.
POW_DIFFICULTY - Static variable in class org.drasyl.identity.IdentityManager
 
processInbound(Event) - Method in class org.drasyl.pipeline.DefaultPipeline
 
processInbound(Event) - Method in interface org.drasyl.pipeline.Pipeline
Processes an inbound event by the pipeline.
processInbound(ApplicationMessage) - Method in class org.drasyl.pipeline.DefaultPipeline
 
processInbound(ApplicationMessage) - Method in interface org.drasyl.pipeline.Pipeline
Processes an inbound message by the pipeline.
processMessageAfterHandshake(ChannelHandlerContext, Message) - Method in class org.drasyl.peer.connection.server.ServerConnectionHandler
 
processOutbound(CompressedPublicKey, Object) - Method in class org.drasyl.pipeline.DefaultPipeline
 
processOutbound(CompressedPublicKey, Object) - Method in interface org.drasyl.pipeline.Pipeline
Processes an outbound message by the pipeline.
progress() - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageInput
 
ProofOfWork - Class in org.drasyl.identity
This class models the proof of work for a given public key.
ProofOfWork(int) - Constructor for class org.drasyl.identity.ProofOfWork
 
PUBLIC_KEY_EXCHANGE_HANDLER - Static variable in class org.drasyl.peer.connection.client.PublicKeyExchangeHandler
 
PublicKeyExchangeHandler - Class in org.drasyl.peer.connection.client
This handler obtains the PublicKey of the super peer so that a join proof can be issued later.
PublicKeyExchangeHandler(CompressedPublicKey, Duration) - Constructor for class org.drasyl.peer.connection.client.PublicKeyExchangeHandler
 
PublicKeyExchangeHandler.PublicKeyExchangeState - Enum in org.drasyl.peer.connection.client
 

Q

QuitMessage - Class in org.drasyl.peer.connection.message
A message representing a termination of a connection.
QuitMessage() - Constructor for class org.drasyl.peer.connection.message.QuitMessage
 
QuitMessage(QuitMessage.CloseReason) - Constructor for class org.drasyl.peer.connection.message.QuitMessage
 
QuitMessage.CloseReason - Enum in org.drasyl.peer.connection.message
Specifies the reason for closing the connection.

R

randomMessageId() - Static method in class org.drasyl.peer.connection.message.MessageId
Static factory to retrieve a randomly generated MessageId.
randomNumber(int) - Static method in class org.drasyl.crypto.Crypto
Generates a random number with the static SecureRandom of this class.
randomString(int) - Static method in class org.drasyl.crypto.Crypto
Generates a secure random HEX String with the given entropy of bytes.
read(ChannelHandlerContext) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
 
read(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.AbstractEndHandler
 
read(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.Handler
Gets called if a Object was received.
read(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.HandlerAdapter
 
read(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.SimpleInboundHandler
 
readChunk(ByteBufAllocator) - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageInput
 
readChunk(ChannelHandlerContext) - Method in class org.drasyl.peer.connection.handler.stream.ChunkedMessageInput
 
REASON_NEW_SESSION - org.drasyl.peer.connection.message.QuitMessage.CloseReason
 
REASON_SHUTTING_DOWN - org.drasyl.peer.connection.message.QuitMessage.CloseReason
 
REASON_UNDEFINED - org.drasyl.peer.connection.message.QuitMessage.CloseReason
 
recipient - Variable in class org.drasyl.peer.connection.message.RelayableMessage
 
RegisterGrandchildMessage - Class in org.drasyl.peer.connection.message
Used to register grandchildren at a super peer.
RegisterGrandchildMessage(Set<CompressedPublicKey>) - Constructor for class org.drasyl.peer.connection.message.RegisterGrandchildMessage
Creates a new register grandchild message.
RelayableMessage - Class in org.drasyl.peer.connection.message
Includes messages that can be relayed to their recipient via multiple hops.
RelayableMessage() - Constructor for class org.drasyl.peer.connection.message.RelayableMessage
 
RelayableMessage(CompressedPublicKey) - Constructor for class org.drasyl.peer.connection.message.RelayableMessage
 
RelayableMessage(CompressedPublicKey, short) - Constructor for class org.drasyl.peer.connection.message.RelayableMessage
 
RelayableMessage(MessageId, CompressedPublicKey, short) - Constructor for class org.drasyl.peer.connection.message.RelayableMessage
 
RelayableMessageGuard - Class in org.drasyl.peer.connection.handler
This handler ensures that RelayableMessages do not infinitely circulate in the network.
RelayableMessageGuard(short) - Constructor for class org.drasyl.peer.connection.handler.RelayableMessageGuard
 
remove(Object) - Method in class org.drasyl.peer.connection.PeerChannelGroup
 
remove(String) - Method in class org.drasyl.pipeline.DefaultPipeline
 
remove(String) - Method in interface org.drasyl.pipeline.Pipeline
Removes the Handler with the specified name from this pipeline.
remove(String) - Method in class org.drasyl.plugins.PluginManager
Removes a DrasylPlugin from the PluginManager and also from the Pipeline.
removeChildrenAndPath(CompressedPublicKey, Path) - Method in class org.drasyl.peer.PeersManager
 
removeClass(Class<?>) - Method in class org.drasyl.pipeline.codec.TypeValidator
Removes a class from the list.
removeFragment(URI) - Static method in class org.drasyl.util.UriUtil
This method removes the fragment in uri and returns the resulting URI.
removeGrandchildrenRoute(CompressedPublicKey) - Method in class org.drasyl.peer.PeersManager
 
removePackage(String) - Method in class org.drasyl.pipeline.codec.TypeValidator
Removes a package from the list.
removePath(CompressedPublicKey, Path) - Method in class org.drasyl.peer.PeersManager
 
replace(String, String, Handler) - Method in class org.drasyl.pipeline.DefaultPipeline
 
replace(String, String, Handler) - Method in interface org.drasyl.pipeline.Pipeline
Replaces the Handler of the specified name with a new handler in this pipeline.
RequestMessage - Interface in org.drasyl.peer.connection.message
Messages of this type represent a request.
RequestPeerInformationCache - Class in org.drasyl.peer.connection.direct
This class caches all peers for which information has been requested.
RequestPeerInformationCache(int, Duration) - Constructor for class org.drasyl.peer.connection.direct.RequestPeerInformationCache
Creates a new cache which automatically removes any entry after the duration specified in expireTime.
requestSession(ChannelHandlerContext) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeClientHandler
 
ResponseMessage<R extends RequestMessage> - Interface in org.drasyl.peer.connection.message
Messages of this type represent a response to a previously received RequestMessage.
retries - Variable in class org.drasyl.peer.connection.handler.PingPongHandler
 

S

sameNetwork(byte[], byte[], short) - Static method in class org.drasyl.util.NetworkUtil
Checks if two given addresses are in the same network.
sameNetwork(InetAddress, InetAddress, short) - Static method in class org.drasyl.util.NetworkUtil
Checks if two given addresses are in the same network.
sanitizeLogArg(Object) - Static method in class org.drasyl.util.LoggingUtil
Cleans obj from line breaks and returns them as \n or \r.
scheduler - Variable in class org.drasyl.pipeline.DefaultPipeline
 
scheduler() - Method in interface org.drasyl.pipeline.HandlerContext
Implementation Note: This method should always return a scheduler, that differs from the normal pipeline scheduler.
second() - Method in class org.drasyl.util.Pair
 
second() - Method in class org.drasyl.util.Triple
 
SecretUtil - Class in org.drasyl.util
Utility class for security-related operations.
send(String, Object) - Method in class org.drasyl.DrasylNode
Sends the content of payload to the identity recipient.
send(CompressedPublicKey, Object) - Method in class org.drasyl.DrasylNode
Sends the content of payload to the identity recipient.
send(Message) - Method in interface org.drasyl.peer.Path
Sends message via the defined path.
send(RelayableMessage) - Method in interface org.drasyl.messenger.MessageSink
Sends message to recipient.
send(RelayableMessage) - Method in class org.drasyl.messenger.Messenger
Sends message to the recipient defined in the message.
sender - Variable in class org.drasyl.peer.connection.message.ApplicationMessage
 
Server - Class in org.drasyl.peer.connection.server
The server binds to a defined port and thus allows the node to be discovered and contacted by other peers.
Server(Identity, Messenger, PeersManager, DrasylConfig, PeerChannelGroup, EventLoopGroup, EventLoopGroup, AtomicBoolean, BooleanSupplier, Set<Endpoint>) - Constructor for class org.drasyl.peer.connection.server.Server
Server for accepting connections from child peers and non-child peers.
Server(Identity, Messenger, PeersManager, DrasylConfig, PeerChannelGroup, EventLoopGroup, EventLoopGroup, Set<Endpoint>, BooleanSupplier) - Constructor for class org.drasyl.peer.connection.server.Server
 
SERVER_CONNECTION_HANDLER - Static variable in class org.drasyl.peer.connection.server.ServerConnectionHandler
 
serverBindHost(InetAddress) - Method in class org.drasyl.DrasylConfig.Builder
 
serverBindPort(int) - Method in class org.drasyl.DrasylConfig.Builder
 
serverChannelInitializer(Class<? extends ChannelInitializer<SocketChannel>>) - Method in class org.drasyl.DrasylConfig.Builder
 
ServerChannelInitializer - Class in org.drasyl.peer.connection.server
Creates a newly configured ChannelPipeline for every incoming connection to a node server.
ServerChannelInitializer(int, Duration, short) - Constructor for class org.drasyl.peer.connection.server.ServerChannelInitializer
 
ServerConnectionHandler - Class in org.drasyl.peer.connection.server
Acts as a guard for in- and outbound connections.
ServerConnectionHandler(ServerEnvironment) - Constructor for class org.drasyl.peer.connection.server.ServerConnectionHandler
 
serverEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
serverEndpoints(Set<Endpoint>) - Method in class org.drasyl.DrasylConfig.Builder
 
ServerEnvironment - Class in org.drasyl.peer.connection.server
This class encapsulates all information needed by a ServerChannelInitializer.
ServerEnvironment(DrasylConfig, Identity, PeersManager, Messenger, Set<Endpoint>, PeerChannelGroup, BooleanSupplier) - Constructor for class org.drasyl.peer.connection.server.ServerEnvironment
 
ServerException - Exception in org.drasyl.peer.connection.server
A ServerException is thrown by the Server when errors occur.
ServerException(String) - Constructor for exception org.drasyl.peer.connection.server.ServerException
 
ServerException(Throwable) - Constructor for exception org.drasyl.peer.connection.server.ServerException
 
serverExposeEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
serverHandshakeTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
ServerHttpHandler - Class in org.drasyl.peer.connection.server.handler
This handler returns an HTML error page if the HTTP request does not perform a Websocket upgrade.
ServerHttpHandler(CompressedPublicKey, PeersManager) - Constructor for class org.drasyl.peer.connection.server.handler.ServerHttpHandler
 
serverIdleRetries(short) - Method in class org.drasyl.DrasylConfig.Builder
 
serverIdleTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
ServerNewConnectionsGuard - Class in org.drasyl.peer.connection.server.handler
This handler acts as a channel creation guard.
ServerNewConnectionsGuard(BooleanSupplier) - Constructor for class org.drasyl.peer.connection.server.handler.ServerNewConnectionsGuard
 
serverSSLEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
serverSSLProtocols(Set<String>) - Method in class org.drasyl.DrasylConfig.Builder
 
setIntraVmSink(MessageSink) - Method in class org.drasyl.messenger.Messenger
 
setLogLevel(Level) - Static method in class org.drasyl.DrasylNode
Set log level of all drasyl loggers in org.drasyl package namespace.
setPeerInformation(CompressedPublicKey, PeerInformation) - Method in class org.drasyl.peer.PeersManager
 
setPeerInformationAndAddPath(CompressedPublicKey, PeerInformation, Path) - Method in class org.drasyl.peer.PeersManager
 
setPeerInformationAndAddPathAndChildren(CompressedPublicKey, PeerInformation, Path) - Method in class org.drasyl.peer.PeersManager
 
setPeerInformationAndAddPathAndSetSuperPeer(CompressedPublicKey, PeerInformation, Path) - Method in class org.drasyl.peer.PeersManager
 
setSignature(Signature) - Method in interface org.drasyl.crypto.Signable
Signs the object with the specified signature.
setSignature(Signature) - Method in class org.drasyl.peer.connection.message.SignedMessage
 
SetUtil - Class in org.drasyl.util
Utility class for operations on Sets.
SHA256 - Static variable in class org.drasyl.crypto.Hashing
 
sha256Hex(byte[]) - Static method in class org.drasyl.crypto.Hashing
 
sha256Hex(String) - Static method in class org.drasyl.crypto.Hashing
 
shouldRetry() - Method in class org.drasyl.peer.connection.client.DirectClient
Should only make a new connection attempt if there is still a demand for it.
shutdown() - Method in class org.drasyl.DrasylNode
Shut the drasyl node down.
shutdown() - Static method in class org.drasyl.util.DrasylScheduler
Shutdown the two schedulers.
SHUTDOWN_TIMEOUT - Static variable in class org.drasyl.util.DrasylScheduler
 
sign(PrivateKey, Signable) - Static method in class org.drasyl.crypto.Crypto
Signs the given signable with the Privatekey.
Signable - Interface in org.drasyl.crypto
Instances of classes that implement this interface are considered signable.
Signature - Class in org.drasyl.crypto
A signature.
Signature(byte[]) - Constructor for class org.drasyl.crypto.Signature
Signature
SIGNATURE_HANDLER - Static variable in class org.drasyl.peer.connection.handler.SignatureHandler
 
SignatureHandler - Class in org.drasyl.peer.connection.handler
Acts as a guard for in- and outbound messages.
SignatureHandler(Identity) - Constructor for class org.drasyl.peer.connection.handler.SignatureHandler
 
SignedMessage - Class in org.drasyl.peer.connection.message
Represents a container with a signature for the SignedMessage.payload.
SignedMessage(Message, CompressedPublicKey) - Constructor for class org.drasyl.peer.connection.message.SignedMessage
 
SignedMessage(Message, CompressedPublicKey, Signature) - Constructor for class org.drasyl.peer.connection.message.SignedMessage
 
signMessage(PrivateKey, byte[]) - Static method in class org.drasyl.crypto.Crypto
 
SimpleChannelDuplexHandler<I,​O> - Class in org.drasyl.peer.connection.handler
ChannelDuplexHandler which allows to explicit only handle a specific type of messages.
SimpleChannelDuplexHandler() - Constructor for class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
see SimpleChannelDuplexHandler(boolean, boolean, boolean) with true as boolean parameters.
SimpleChannelDuplexHandler(boolean, boolean, boolean) - Constructor for class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
Create a new instance which will try to detect the types to match out of the types parameter of the class.
SimpleChannelDuplexHandler(Class<? extends I>, Class<? extends O>) - Constructor for class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
SimpleChannelDuplexHandler(Class<? extends I>, Class<? extends O>, boolean, boolean, boolean) - Constructor for class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
Create a new instance
SimpleChannelOutboundHandler<O> - Class in org.drasyl.peer.connection.handler
ChannelOutboundHandlerAdapter which allows to explicit only handle a specific type of messages.
SimpleChannelOutboundHandler() - Constructor for class org.drasyl.peer.connection.handler.SimpleChannelOutboundHandler
see SimpleChannelOutboundHandler(boolean, boolean) with false as boolean parameters.
SimpleChannelOutboundHandler(boolean, boolean) - Constructor for class org.drasyl.peer.connection.handler.SimpleChannelOutboundHandler
Create a new instance which will try to detect the types to match out of the type parameter of the class.
SimpleChannelOutboundHandler(Class<? extends O>) - Constructor for class org.drasyl.peer.connection.handler.SimpleChannelOutboundHandler
see SimpleChannelOutboundHandler(Class, boolean, boolean) with false as boolean parameters.
SimpleChannelOutboundHandler(Class<? extends O>, boolean, boolean) - Constructor for class org.drasyl.peer.connection.handler.SimpleChannelOutboundHandler
Create a new instance.
SimpleDuplexHandler<I,​E,​O> - Class in org.drasyl.pipeline
HandlerAdapter which allows to explicit only handle a specific type of messages and events.
SimpleDuplexHandler() - Constructor for class org.drasyl.pipeline.SimpleDuplexHandler
 
SimpleDuplexHandler(Class<? extends I>, Class<? extends E>, Class<? extends O>) - Constructor for class org.drasyl.pipeline.SimpleDuplexHandler
 
SimpleInboundHandler<I,​E> - Class in org.drasyl.pipeline
HandlerAdapter which allows to explicit only handle a specific type of messages and events.
SimpleInboundHandler() - Constructor for class org.drasyl.pipeline.SimpleInboundHandler
Create a new instance which will try to detect the types to match out of the type parameter of the class.
SimpleInboundHandler(Class<? extends I>, Class<? extends E>) - Constructor for class org.drasyl.pipeline.SimpleInboundHandler
Create a new instance
SimpleOutboundHandler<O> - Class in org.drasyl.pipeline
HandlerAdapter which allows to explicit only handle a specific type of messages.
SimpleOutboundHandler() - Constructor for class org.drasyl.pipeline.SimpleOutboundHandler
Create a new instance which will try to detect the types to match out of the type parameter of the class.
SimpleOutboundHandler(Class<? extends O>) - Constructor for class org.drasyl.pipeline.SimpleOutboundHandler
Create a new instance
SRND - Static variable in class org.drasyl.crypto.Crypto
 
sslStage(SocketChannel) - Method in class org.drasyl.peer.connection.DefaultSessionInitializer
At this stage the SslHandler is added to the pipeline.
start() - Method in class org.drasyl.DrasylNode
Start the drasyl node.
STATUS_ACCEPTED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_BAD_GATEWAY - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_BAD_REQUEST - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_CONFLICT - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_CONTINUE - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_CREATED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_EXPECTATION_FAILED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_FORBIDDEN - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_FOUND - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_GATEWAY_TIMEOUT - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_GONE - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_HTTP_VERSION_NOT_SUPPORTED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_IM_A_TEAPOT - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_INTERNAL_SERVER_ERROR - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_INVALID_SIGNATURE - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_LENGTH_REQUIRED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_METHOD_NOT_ALLOWED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_MOVED_PERMANENTLY - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_MULTIPLE_CHOICES - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_NO_CONTENT - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_NON_AUTHORITATIVE_INFORMATION - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_NOT_ACCEPTABLE - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_NOT_FOUND - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_NOT_IMPLEMENTED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_NOT_MODIFIED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_OK - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_PARTIAL_CONTENT - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_PAYLOAD_TOO_LARGE - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_PAYMENT_REQUIRED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_PRECONDITION_FAILED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_PROXY_AUTHENTICATION_REQUIRED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_RANGE_NOT_SATISFIABLE - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_REQUEST_TIMEOUT - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_RESET_CONTENT - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_SEE_OTHER - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_SERVICE_UNAVAILABLE - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_SWITCHING_PROTOCOLS - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_TEMPORARY_REDIRECT - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_UNAUTHORIZED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_UNSUPPORTED_MEDIA_TYPE - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_UPGRADE_REQUIRED - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_URI_TOO_LONG - org.drasyl.peer.connection.message.StatusMessage.Code
 
STATUS_USE_PROXY - org.drasyl.peer.connection.message.StatusMessage.Code
 
StatusMessage - Class in org.drasyl.peer.connection.message
Status that representing a HTTP/1.1 response status code, defined in RFC 7231 section 6 (https://tools.ietf.org/html/rfc7231#section-6).
StatusMessage(int, MessageId) - Constructor for class org.drasyl.peer.connection.message.StatusMessage
 
StatusMessage(StatusMessage.Code, MessageId) - Constructor for class org.drasyl.peer.connection.message.StatusMessage
Creates an immutable code object.
StatusMessage.Code - Enum in org.drasyl.peer.connection.message
 
superPeerChannelInitializer(Class<? extends ChannelInitializer<SocketChannel>>) - Method in class org.drasyl.DrasylConfig.Builder
 
SuperPeerClient - Class in org.drasyl.peer.connection.client
This class represents the link between DrasylNode and the super peer.
SuperPeerClient(DrasylConfig, EventLoopGroup, BooleanSupplier, DrasylFunction<Endpoint, Bootstrap, ClientException>) - Constructor for class org.drasyl.peer.connection.client.SuperPeerClient
 
SuperPeerClient(DrasylConfig, Identity, PeersManager, Messenger, PeerChannelGroup, EventLoopGroup, Consumer<Event>, BooleanSupplier) - Constructor for class org.drasyl.peer.connection.client.SuperPeerClient
 
superPeerEnabled(boolean) - Method in class org.drasyl.DrasylConfig.Builder
 
superPeerEndpoints(Set<Endpoint>) - Method in class org.drasyl.DrasylConfig.Builder
 
superPeerHandshakeTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
superPeerIdleRetries(short) - Method in class org.drasyl.DrasylConfig.Builder
 
superPeerIdleTimeout(Duration) - Method in class org.drasyl.DrasylConfig.Builder
 
superPeerRetryDelays(List<Duration>) - Method in class org.drasyl.DrasylConfig.Builder
 

T

tail - Variable in class org.drasyl.pipeline.DefaultPipeline
 
target - Variable in class org.drasyl.peer.connection.client.ClientChannelInitializer
 
third() - Method in class org.drasyl.util.Triple
 
timeoutFuture - Variable in class org.drasyl.peer.connection.client.PublicKeyExchangeHandler
 
toFuture(Future<T>) - Static method in class org.drasyl.util.FutureUtil
Translates the Netty Future to a CompletableFuture.
toString() - Method in class org.drasyl.crypto.Signature
 
toString() - Method in class org.drasyl.DrasylConfig
 
toString() - Method in class org.drasyl.event.MessageEvent
 
toString() - Method in class org.drasyl.event.Node
 
toString() - Method in class org.drasyl.event.NodeDownEvent
 
toString() - Method in class org.drasyl.event.NodeNormalTerminationEvent
 
toString() - Method in class org.drasyl.event.NodeOfflineEvent
 
toString() - Method in class org.drasyl.event.NodeOnlineEvent
 
toString() - Method in class org.drasyl.event.NodeUnrecoverableErrorEvent
 
toString() - Method in class org.drasyl.event.NodeUpEvent
 
toString() - Method in class org.drasyl.event.Peer
 
toString() - Method in class org.drasyl.event.PeerDirectEvent
 
toString() - Method in class org.drasyl.event.PeerRelayEvent
 
toString() - Method in class org.drasyl.identity.CompressedKeyPair
 
toString() - Method in class org.drasyl.identity.Identity
 
toString() - Method in class org.drasyl.identity.ProofOfWork
 
toString() - Method in class org.drasyl.peer.connection.message.AbstractMessage
 
toString() - Method in class org.drasyl.peer.connection.message.ApplicationMessage
 
toString() - Method in class org.drasyl.peer.connection.message.ChunkedMessage
 
toString() - Method in class org.drasyl.peer.connection.message.ConnectionExceptionMessage
 
toString() - Method in class org.drasyl.peer.connection.message.ExceptionMessage
 
toString() - Method in class org.drasyl.peer.connection.message.IamMessage
 
toString() - Method in class org.drasyl.peer.connection.message.IdentityMessage
 
toString() - Method in class org.drasyl.peer.connection.message.JoinMessage
 
toString() - Method in class org.drasyl.peer.connection.message.MessageId
 
toString() - Method in class org.drasyl.peer.connection.message.PingMessage
 
toString() - Method in class org.drasyl.peer.connection.message.PongMessage
 
toString() - Method in class org.drasyl.peer.connection.message.QuitMessage
 
toString() - Method in class org.drasyl.peer.connection.message.RegisterGrandchildMessage
 
toString() - Method in class org.drasyl.peer.connection.message.SignedMessage
 
toString() - Method in class org.drasyl.peer.connection.message.StatusMessage
 
toString() - Method in class org.drasyl.peer.connection.message.UnregisterGrandchildMessage
 
toString() - Method in class org.drasyl.peer.connection.message.WelcomeMessage
 
toString() - Method in class org.drasyl.peer.connection.message.WhoAreYouMessage
 
toString() - Method in class org.drasyl.peer.connection.message.WhoisMessage
 
toString() - Method in class org.drasyl.peer.Endpoint
 
toString() - Method in class org.drasyl.peer.PeerInformation
 
toString() - Method in class org.drasyl.peer.PeersManager
 
toString() - Method in class org.drasyl.pipeline.codec.ObjectHolder
 
toString() - Method in class org.drasyl.util.Pair
 
toString() - Method in class org.drasyl.util.PortMappingUtil.PortMapping
 
toString() - Method in class org.drasyl.util.Triple
 
toString(byte[]) - Static method in class org.drasyl.crypto.HexUtil
Converts a byte[] into a string representation
toUncompressedKey() - Method in class org.drasyl.identity.CompressedPrivateKey
 
toUncompressedKey() - Method in class org.drasyl.identity.CompressedPublicKey
 
toUncompressedKeyPair() - Method in class org.drasyl.identity.CompressedKeyPair
 
Triple<A,​B,​C> - Class in org.drasyl.util
A tuple of three elements.
TypeValidator - Class in org.drasyl.pipeline.codec
The TypeValidator allows to define which classes and packages may be handled by a codec.

U

UnregisterGrandchildMessage - Class in org.drasyl.peer.connection.message
Used to unregister grandchildren at a super peer.
UnregisterGrandchildMessage(Set<CompressedPublicKey>) - Constructor for class org.drasyl.peer.connection.message.UnregisterGrandchildMessage
Creates a new unregister grandchild message.
unsetIntraVmSink() - Method in class org.drasyl.messenger.Messenger
 
unsetSuperPeer() - Method in class org.drasyl.peer.PeersManager
 
unsetSuperPeerAndRemovePath(Path) - Method in class org.drasyl.peer.PeersManager
 
unwrapArrayComponentType(Class<?>) - Static method in class org.drasyl.pipeline.codec.TypeValidator
Returns the Class representing the component type of an array.
UriUtil - Class in org.drasyl.util
Utility class for operations on URIs.
UrlUtil - Class in org.drasyl.util
Utility class for operations on URLs.
userEventTriggered(ChannelHandlerContext, Object) - Method in class org.drasyl.peer.connection.handler.PingPongHandler
 

V

validate(Class<?>) - Method in class org.drasyl.pipeline.codec.TypeValidator
Validates a given Class if it is allowed or not.
validateSessionOffer(O) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeClientHandler
This method validates the session offered by the server and must return an ConnectionExceptionMessage.Error in case of error.
validateSessionOffer(WelcomeMessage) - Method in class org.drasyl.peer.connection.client.ClientConnectionHandler
 
validateSessionRequest(JoinMessage) - Method in class org.drasyl.peer.connection.server.ServerConnectionHandler
 
validateSessionRequest(R) - Method in class org.drasyl.peer.connection.handler.AbstractThreeWayHandshakeServerHandler
 
validator - Variable in class org.drasyl.pipeline.DefaultPipeline
 
validator() - Method in interface org.drasyl.pipeline.HandlerContext
 
valueOf(String) - Static method in enum org.drasyl.peer.connection.client.PublicKeyExchangeHandler.PublicKeyExchangeState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.peer.connection.message.ExceptionMessage.Error
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.peer.connection.message.QuitMessage.CloseReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.drasyl.peer.connection.message.StatusMessage.Code
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.drasyl.peer.connection.client.PublicKeyExchangeHandler.PublicKeyExchangeState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.peer.connection.message.ConnectionExceptionMessage.Error
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.peer.connection.message.ExceptionMessage.Error
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.peer.connection.message.QuitMessage.CloseReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.drasyl.peer.connection.message.StatusMessage.Code
Returns an array containing the constants of this enum type, in the order they are declared.
verifySignature(byte[], byte[], byte[]) - Static method in class org.drasyl.crypto.Crypto
 
verifySignature(PublicKey, byte[], byte[]) - Static method in class org.drasyl.crypto.Crypto
 
verifySignature(PublicKey, Signable) - Static method in class org.drasyl.crypto.Crypto
 

W

webSocketPort(URI) - Static method in class org.drasyl.util.WebSocketUtil
 
WebSocketUtil - Class in org.drasyl.util
Utility class for operations on websocket URIs (e.g.
WelcomeMessage - Class in org.drasyl.peer.connection.message
A message representing the welcome message of the node server, including fallback information..
WelcomeMessage(PeerInformation, MessageId) - Constructor for class org.drasyl.peer.connection.message.WelcomeMessage
Creates new welcome message.
WHO_AM_I - Static variable in class org.drasyl.peer.connection.server.handler.WhoAmIHandler
 
WhoAmIHandler - Class in org.drasyl.peer.connection.server.handler
This handler returns the public key of this peer to an empty WhoisMessage.getRequester().
WhoAmIHandler(CompressedPublicKey) - Constructor for class org.drasyl.peer.connection.server.handler.WhoAmIHandler
 
WhoAreYouMessage - Class in org.drasyl.peer.connection.message
This message is used to request information the public key of the current communication partner.
WhoAreYouMessage() - Constructor for class org.drasyl.peer.connection.message.WhoAreYouMessage
 
WhoisMessage - Class in org.drasyl.peer.connection.message
This message is used to request information (like public key and endpoints) for a specific identity.
WhoisMessage(CompressedPublicKey, CompressedPublicKey, PeerInformation) - Constructor for class org.drasyl.peer.connection.message.WhoisMessage
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.ExceptionHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SimpleChannelDuplexHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.drasyl.peer.connection.handler.SimpleChannelOutboundHandler
 
write(CompressedPublicKey, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.HandlerContext
Request to write a message via this HandlerContext through the Pipeline.
write(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.AbstractEndHandler
 
write(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in interface org.drasyl.pipeline.Handler
Gets called if a Object was send from the application to a recipient.
write(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.HandlerAdapter
 
write(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.SimpleDuplexHandler
 
write(HandlerContext, CompressedPublicKey, Object, CompletableFuture<Void>) - Method in class org.drasyl.pipeline.SimpleOutboundHandler
 
writeAndFlush(CompressedPublicKey, Object) - Method in class org.drasyl.peer.connection.PeerChannelGroup
 
writeFieldsTo(OutputStream) - Method in interface org.drasyl.crypto.Signable
Write any content into the passed output-stream to have them included in the signing process.
writeFieldsTo(OutputStream) - Method in class org.drasyl.peer.connection.message.SignedMessage
 
WS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
 
WSS_PORT - Static variable in class org.drasyl.util.WebSocketUtil
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages