Package dev.relism.flash.transport
Class AcceptLoop
java.lang.Object
dev.relism.flash.transport.AcceptLoop
Single accept-loop body — runs on each of a listener's accept threads. All threads for the
same listener block on the same
ServerSocket; the JVM ensures only one wakes
per incoming connection (no thundering herd). Other listeners' accept threads are entirely
independent.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidrun(BoundListener listener, ConnectionRunner runner, BooleanSupplier stopped)
-
Method Details
-
run
-