Uses of Class
org.drasyl.annotation.NonNull
-
Packages that use NonNull Package Description org.drasyl Core API that includes theDrasylNode
andDrasylConfig
.org.drasyl.behaviour DescribesDrasylNode
s as finite state machines.org.drasyl.event Contains events that inform the application about various states of the drasyl node, incoming communication, or connection type changes.org.drasyl.remote.protocol The protocol used for communication with remote nodes.org.drasyl.util Utility classes used across multiple packages.org.drasyl.util.scheduler Provides theDrasylScheduler
. -
-
Uses of NonNull in org.drasyl
Methods in org.drasyl with annotations of type NonNull Modifier and Type Method Description Identity
DrasylNode. identity()
Returns theIdentity
of this node.Pipeline
DrasylNode. pipeline()
Returns thePipeline
to allow users to add own handlers.CompletableFuture<Void>
DrasylNode. send(String recipient, Object payload)
Sends the content ofpayload
to the identityrecipient
.CompletableFuture<Void>
DrasylNode. send(CompressedPublicKey recipient, Object payload)
Sends the content ofpayload
to the identityrecipient
.CompletableFuture<Void>
DrasylNode. shutdown()
Shut the drasyl node down.CompletableFuture<Void>
DrasylNode. start()
Start the drasyl node.Method parameters in org.drasyl with annotations of type NonNull Modifier and Type Method Description abstract void
DrasylNode. onEvent(Event event)
Sendsevent
to the application and tells it information about the local node, other peers, connections or incoming messages.CompletableFuture<Void>
DrasylNode. send(String recipient, Object payload)
Sends the content ofpayload
to the identityrecipient
. -
Uses of NonNull in org.drasyl.behaviour
Method parameters in org.drasyl.behaviour with annotations of type NonNull Modifier and Type Method Description void
BehavioralDrasylNode. onEvent(Event event)
-
Uses of NonNull in org.drasyl.event
Methods in org.drasyl.event with annotations of type NonNull Modifier and Type Method Description Throwable
NodeUnrecoverableErrorEvent. getError()
Returns the exception that crashed the node.Identity
Node. getIdentity()
Returns the node's identity.Node
NodeEvent. getNode()
Returns the node to which this event refers.Peer
PeerEvent. getPeer()
Returns the peer to which this event refers.CompressedPublicKey
Peer. getPublicKey()
Returns the peer's public key. -
Uses of NonNull in org.drasyl.remote.protocol
Method parameters in org.drasyl.remote.protocol with annotations of type NonNull Modifier and Type Method Description static MessageId
MessageId. of(byte[] id)
static MessageId
MessageId. of(String id)
-
Uses of NonNull in org.drasyl.util
Methods in org.drasyl.util with annotations of type NonNull Modifier and Type Method Description static io.netty.channel.EventLoopGroup
NettyUtil. getBestEventLoopGroup(int nThreads)
Returns theEventLoopGroup
that fits best to the current environment.Method parameters in org.drasyl.util with annotations of type NonNull Modifier and Type Method Description static InetSocketAddressWrapper
InetSocketAddressUtil. socketAddressFromString(String s)
Convertss
to anInetSocketAddressWrapper
. -
Uses of NonNull in org.drasyl.util.scheduler
Methods in org.drasyl.util.scheduler with annotations of type NonNull Modifier and Type Method Description io.reactivex.rxjava3.core.Scheduler.Worker
DrasylScheduler. createWorker()
io.reactivex.rxjava3.disposables.Disposable
DrasylScheduler. scheduleDirect(Runnable run)
io.reactivex.rxjava3.disposables.Disposable
DrasylScheduler. scheduleDirect(Runnable run, long delay, TimeUnit unit)
io.reactivex.rxjava3.disposables.Disposable
DrasylScheduler. schedulePeriodicallyDirect(Runnable run, long initialDelay, long period, TimeUnit unit)
<S extends io.reactivex.rxjava3.core.Scheduler & io.reactivex.rxjava3.disposables.Disposable>
SDrasylScheduler. when(io.reactivex.rxjava3.functions.Function<io.reactivex.rxjava3.core.Flowable<io.reactivex.rxjava3.core.Flowable<io.reactivex.rxjava3.core.Completable>>,io.reactivex.rxjava3.core.Completable> combine)
Method parameters in org.drasyl.util.scheduler with annotations of type NonNull Modifier and Type Method Description long
DrasylScheduler. now(TimeUnit unit)
io.reactivex.rxjava3.disposables.Disposable
DrasylScheduler. scheduleDirect(Runnable run)
io.reactivex.rxjava3.disposables.Disposable
DrasylScheduler. scheduleDirect(Runnable run, long delay, TimeUnit unit)
io.reactivex.rxjava3.disposables.Disposable
DrasylScheduler. scheduleDirect(Runnable run, long delay, TimeUnit unit)
io.reactivex.rxjava3.disposables.Disposable
DrasylScheduler. schedulePeriodicallyDirect(Runnable run, long initialDelay, long period, TimeUnit unit)
io.reactivex.rxjava3.disposables.Disposable
DrasylScheduler. schedulePeriodicallyDirect(Runnable run, long initialDelay, long period, TimeUnit unit)
<S extends io.reactivex.rxjava3.core.Scheduler & io.reactivex.rxjava3.disposables.Disposable>
SDrasylScheduler. when(io.reactivex.rxjava3.functions.Function<io.reactivex.rxjava3.core.Flowable<io.reactivex.rxjava3.core.Flowable<io.reactivex.rxjava3.core.Completable>>,io.reactivex.rxjava3.core.Completable> combine)
-