Class NativeDiagnosticProbeAttempt
java.lang.Object
org.cloudburstmc.netty.signaling.diagnostic.NativeDiagnosticProbeAttempt
- All Implemented Interfaces:
AutoCloseable
One caller-authorized diagnostic attempt; no workload authentication, retry scheduler or game protocol.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordTrusted local job input, NOT signed-job or target-ownership evidence.static enumstatic final recordOwned exact fully gathered offer.static final recordSuccess requires the original ping to be echoed by the pinned host.static interfaceTrusted provider HTTPS exchange. -
Constructor Summary
ConstructorsConstructorDescriptionNativeDiagnosticProbeAttempt(NativeDiagnosticProbeAttempt.Job job, InetSocketAddress bind, BooleanSupplier authorized) NativeDiagnosticProbeAttempt(NativeDiagnosticProbeAttempt.Job job, InetSocketAddress bind, BooleanSupplier authorized, InetSocketAddress stunServer) Optional explicitly configured numeric discovery server, used only for the proactive profile. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Native termination is observable even if the trusted signaling callback blocks before returning its stage.run(NativeDiagnosticProbeAttempt.Signaling signaling) Runs on one caller-owned bounded worker, never a native callback/event-loop thread.
-
Constructor Details
-
NativeDiagnosticProbeAttempt
public NativeDiagnosticProbeAttempt(NativeDiagnosticProbeAttempt.Job job, InetSocketAddress bind, BooleanSupplier authorized) -
NativeDiagnosticProbeAttempt
public NativeDiagnosticProbeAttempt(NativeDiagnosticProbeAttempt.Job job, InetSocketAddress bind, BooleanSupplier authorized, InetSocketAddress stunServer) Optional explicitly configured numeric discovery server, used only for the proactive profile.
-
-
Method Details
-
termination
-
run
Runs on one caller-owned bounded worker, never a native callback/event-loop thread. One invocation only. -
close
public void close()Native termination is observable even if the trusted signaling callback blocks before returning its stage.- Specified by:
closein interfaceAutoCloseable
-