Uses of Annotation Type
org.drasyl.annotation.NonNull
Packages that use 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
Method parameters in org.drasyl.handler.remote.protocol with annotations of type NonNull -
Uses of NonNull in org.drasyl.identity
Methods in org.drasyl.identity with annotations of type NonNullModifier and TypeMethodDescriptionabstract P
KeyPair.getPublicKey()
abstract S
KeyPair.getSecretKey()
-
Uses of NonNull in org.drasyl.node
Methods in org.drasyl.node with annotations of type NonNullModifier 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.Method parameters in org.drasyl.node with annotations of type NonNullModifier 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
Method parameters in org.drasyl.node.behaviour with annotations of type NonNull -
Uses of NonNull in org.drasyl.node.event
Methods in org.drasyl.node.event with annotations of type NonNull -
Uses of NonNull in org.drasyl.util
Method parameters in org.drasyl.util with annotations of type NonNullModifier and TypeMethodDescriptionstatic InetSocketAddress
InetSocketAddressUtil.socketAddressFromString
(String s) Convert aString
to aInetSocketAddress
.static String
InetSocketAddressUtil.socketAddressToString
(InetSocketAddress s) Convert aInetSocketAddress
to aString
.