Package org.drasyl.cli.command.perf
Class PerfTestReceiver
- java.lang.Object
-
- org.drasyl.cli.command.perf.PerfTestReceiver
-
public class PerfTestReceiver extends Object
Represents the receiving node in a performance test.- See Also:
PerfTestSender
-
-
Field Summary
Fields Modifier and Type Field Description static Duration
SESSION_PROGRESS_INTERVAL
static Duration
SESSION_TIMEOUT
-
Constructor Summary
Constructors Constructor Description PerfTestReceiver(IdentityPublicKey sender, SessionRequest session, io.reactivex.rxjava3.core.Scheduler scheduler, PrintStream printStream, BiFunction<IdentityPublicKey,Object,CompletionStage<Void>> sendMethod, Supplier<Behavior> successBehavior, Function<Exception,Behavior> failureBehavior)
-
-
-
Constructor Detail
-
PerfTestReceiver
public PerfTestReceiver(IdentityPublicKey sender, SessionRequest session, io.reactivex.rxjava3.core.Scheduler scheduler, PrintStream printStream, BiFunction<IdentityPublicKey,Object,CompletionStage<Void>> sendMethod, Supplier<Behavior> successBehavior, Function<Exception,Behavior> failureBehavior)
-
-
Method Detail
-
run
public Behavior run()
-
-