Uses of Annotation Type
org.drasyl.util.internal.NonNull
Package
Description
The protocol used for communication with remote peers.
Contains classes to manage the
Identity
of the drasyl node.Contains
DrasylNode
.Describes
DrasylNode
s as finite state machines.Contains events that inform about various states of the
DrasylNode
(started, stopped, etc.) or overlay network events (messages, peer discovery, etc.)Utility classes used across multiple packages.
-
Uses of NonNull in org.drasyl.handler.remote.protocol
-
Uses of NonNull in org.drasyl.identity
Modifier and TypeMethodDescriptionabstract P
KeyPair.getPublicKey()
abstract S
KeyPair.getSecretKey()
-
Uses of NonNull in org.drasyl.node
Modifier and TypeMethodDescriptionabstract String
PeerEndpoint.getHost()
Returns the hostname of this endpoint.abstract IdentityPublicKey
PeerEndpoint.getIdentityPublicKey()
Returns theIdentityPublicKey
of thisEndpoint
.abstract int
PeerEndpoint.getPort()
Returns the port of this endpoint.DrasylNode.identity()
Returns theIdentity
of this node.CompletionStage<io.netty.channel.Channel>
Creates a future containing aChannel
for communication withaddress
.CompletionStage<io.netty.channel.Channel>
DrasylNode.resolve
(DrasylAddress address) Creates a future containing aChannel
for communication withaddress
.Sends the content ofpayload
to the identityrecipient
.DrasylNode.send
(DrasylAddress recipient, Object payload) Sends the content ofpayload
to the identityrecipient
.DrasylNode.shutdown()
Shut the drasyl node down.DrasylNode.start()
Start the drasyl node.Modifier and TypeMethodDescriptionabstract void
Sendsevent
to the application and tells it information about the local node, other peers, connections or incoming messages.CompletionStage<io.netty.channel.Channel>
Creates a future containing aChannel
for communication withaddress
.CompletionStage<io.netty.channel.Channel>
DrasylNode.resolve
(DrasylAddress address) Creates a future containing aChannel
for communication withaddress
.Sends the content ofpayload
to the identityrecipient
.DrasylNode.send
(DrasylAddress recipient, Object payload) Sends the content ofpayload
to the identityrecipient
. -
Uses of NonNull in org.drasyl.node.behaviour
-
Uses of NonNull in org.drasyl.node.event
-
Uses of NonNull in org.drasyl.util
Modifier and TypeMethodDescriptionstatic boolean
InetSocketAddressUtil.equalSocketAddress
(InetSocketAddress a, InetSocketAddress b) Checks equality ofa
andb
.static boolean
InetSocketAddressUtil.equalSocketAddress
(InetSocketAddress a, InetSocketAddress b) Checks equality ofa
andb
.static InetSocketAddress
InetSocketAddressUtil.socketAddressFromString
(String s) Convert aString
to aInetSocketAddress
.static String
InetSocketAddressUtil.socketAddressToString
(InetSocketAddress s) Convert aInetSocketAddress
to aString
.