Uses of Class
org.drasyl.annotation.NonNull
-
Packages that use NonNull Package Description org.drasyl Core API that includes theDrasylNodeandDrasylConfig.org.drasyl.behaviour DescribesDrasylNodes 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 IdentityDrasylNode. identity()Returns theIdentityof this node.PipelineDrasylNode. pipeline()Returns thePipelineto allow users to add own handlers.CompletableFuture<Void>DrasylNode. send(String recipient, Object payload)Sends the content ofpayloadto the identityrecipient.CompletableFuture<Void>DrasylNode. send(CompressedPublicKey recipient, Object payload)Sends the content ofpayloadto 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 voidDrasylNode. onEvent(Event event)Sendseventto 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 ofpayloadto 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 voidBehavioralDrasylNode. 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 ThrowableNodeUnrecoverableErrorEvent. getError()Returns the exception that crashed the node.IdentityNode. getIdentity()Returns the node's identity.NodeNodeEvent. getNode()Returns the node to which this event refers.PeerPeerEvent. getPeer()Returns the peer to which this event refers.CompressedPublicKeyPeer. 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 MessageIdMessageId. of(byte[] id)static MessageIdMessageId. 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.EventLoopGroupNettyUtil. getBestEventLoopGroup(int nThreads)Returns theEventLoopGroupthat fits best to the current environment.Method parameters in org.drasyl.util with annotations of type NonNull Modifier and Type Method Description static InetSocketAddressWrapperInetSocketAddressUtil. socketAddressFromString(String s)Convertssto 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.WorkerDrasylScheduler. createWorker()io.reactivex.rxjava3.disposables.DisposableDrasylScheduler. scheduleDirect(Runnable run)io.reactivex.rxjava3.disposables.DisposableDrasylScheduler. scheduleDirect(Runnable run, long delay, TimeUnit unit)io.reactivex.rxjava3.disposables.DisposableDrasylScheduler. 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 longDrasylScheduler. now(TimeUnit unit)io.reactivex.rxjava3.disposables.DisposableDrasylScheduler. scheduleDirect(Runnable run)io.reactivex.rxjava3.disposables.DisposableDrasylScheduler. scheduleDirect(Runnable run, long delay, TimeUnit unit)io.reactivex.rxjava3.disposables.DisposableDrasylScheduler. scheduleDirect(Runnable run, long delay, TimeUnit unit)io.reactivex.rxjava3.disposables.DisposableDrasylScheduler. schedulePeriodicallyDirect(Runnable run, long initialDelay, long period, TimeUnit unit)io.reactivex.rxjava3.disposables.DisposableDrasylScheduler. 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)
-