public class MainThread extends RConThread
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.net.SocketAddress,ClientThread> |
clientThreads |
private java.lang.String |
hostname |
private java.lang.String |
rconPassword |
private int |
rconPort |
private java.net.ServerSocket |
serverSocket |
maxStopWait, rconThread, running, server, serverSocketList, socketList, threadName
Constructor and Description |
---|
MainThread(IServer p_i1538_1_) |
Modifier and Type | Method and Description |
---|---|
private void |
cleanClientThreadsMap() |
void |
func_219591_b() |
private void |
initClientThreadList() |
void |
run() |
void |
startThread() |
closeAllSockets_do, closeAllSockets, closeServerSocket_do, closeServerSocket, closeSocket, getNumberOfPlayers, isRunning, logDebug, logInfo, logSevere, logWarning, registerSocket
private final int rconPort
private java.lang.String hostname
private java.net.ServerSocket serverSocket
private final java.lang.String rconPassword
private java.util.Map<java.net.SocketAddress,ClientThread> clientThreads
public MainThread(IServer p_i1538_1_)
private void initClientThreadList()
private void cleanClientThreadsMap()
public void run()
public void startThread()
startThread
in class RConThread
public void func_219591_b()
func_219591_b
in class RConThread