Package net.minecraft.network.rcon
Class RConThread
- java.lang.Object
-
- net.minecraft.network.rcon.RConThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
ClientThread
,MainThread
,QueryThread
public abstract class RConThread extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
LOGGER
protected java.lang.String
name
protected boolean
running
protected java.lang.Thread
thread
private static java.util.concurrent.atomic.AtomicInteger
UNIQUE_THREAD_ID
-
Constructor Summary
Constructors Modifier Constructor Description protected
RConThread(java.lang.String p_i231426_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRunning()
boolean
start()
void
stop()
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
UNIQUE_THREAD_ID
private static final java.util.concurrent.atomic.AtomicInteger UNIQUE_THREAD_ID
-
running
protected volatile boolean running
-
name
protected final java.lang.String name
-
thread
@Nullable protected java.lang.Thread thread
-
-