Class Courier
java.lang.Object
java.lang.Thread
com.codinglitch.simpleradio.core.central.Executor
com.codinglitch.simpleradio.radio.Courier
- All Implemented Interfaces:
Runnable
Thread that handles the delivery of messages along routers with a delay not bounded by ticks.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.codinglitch.simpleradio.core.central.Executor
Executor.MonitorStateNested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
fatalTime
public static int fatalTime -
queuedMessages
-
-
Constructor Details
-
Courier
public Courier(net.minecraft.server.MinecraftServer server)
-
-
Method Details
-
run
public void run() -
execute
- Specified by:
executein classExecutor- Throws:
InterruptedException
-
tick
public void tick() -
send
-
cancel
-
getFatalTime
public int getFatalTime()- Specified by:
getFatalTimein classExecutor
-
open
-