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
DrasylNodes 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 PKeyPair.getPublicKey()abstract SKeyPair.getSecretKey() -
Uses of NonNull in org.drasyl.node
Methods in org.drasyl.node with annotations of type NonNullModifier and TypeMethodDescriptionabstract StringPeerEndpoint.getHost()Returns the hostname of this endpoint.abstract IdentityPublicKeyPeerEndpoint.getIdentityPublicKey()Returns theIdentityPublicKeyof thisEndpoint.abstract intPeerEndpoint.getPort()Returns the port of this endpoint.DrasylNode.identity()Returns theIdentityof this node.CompletionStage<io.netty.channel.Channel>Creates a future containing aChannelfor communication withaddress.CompletionStage<io.netty.channel.Channel>DrasylNode.resolve(DrasylAddress address) Creates a future containing aChannelfor communication withaddress.Sends the content ofpayloadto the identityrecipient.DrasylNode.send(DrasylAddress recipient, Object payload) Sends the content ofpayloadto 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 voidSendseventto 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 aChannelfor communication withaddress.CompletionStage<io.netty.channel.Channel>DrasylNode.resolve(DrasylAddress address) Creates a future containing aChannelfor communication withaddress.Sends the content ofpayloadto the identityrecipient.DrasylNode.send(DrasylAddress recipient, Object payload) Sends the content ofpayloadto 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 booleanInetSocketAddressUtil.equalSocketAddress(InetSocketAddress a, InetSocketAddress b) Checks equality ofaandb.static booleanInetSocketAddressUtil.equalSocketAddress(InetSocketAddress a, InetSocketAddress b) Checks equality ofaandb.static InetSocketAddressInetSocketAddressUtil.socketAddressFromString(String s) Convert aStringto aInetSocketAddress.static StringInetSocketAddressUtil.socketAddressToString(InetSocketAddress s) Convert aInetSocketAddressto aString.