Class DedicatedLanServerPinger
java.lang.Object
java.lang.Thread
net.neoforged.neoforge.server.dedicated.DedicatedLanServerPinger
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final org.slf4j.Loggerprivate final Stringprivate static final Stringprivate final Stringprivate final DatagramSocketprivate static final AtomicIntegerFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
UNIQUE_THREAD_ID
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MULTICAST_GROUP
-
motd
-
socket
-
isRunning
private boolean isRunning -
serverAddress
-
-
Constructor Details
-
DedicatedLanServerPinger
- Throws:
IOException
-
-
Method Details
-
run
-
interrupt
-
createPingString
-