public class ClientThread extends RConThread
Modifier and Type | Field and Description |
---|---|
private byte[] |
buffer |
private java.net.Socket |
clientSocket |
private boolean |
loggedIn |
private static org.apache.logging.log4j.Logger |
LOGGER |
private java.lang.String |
rconPassword |
maxStopWait, rconThread, running, server, serverSocketList, socketList, threadName
Constructor and Description |
---|
ClientThread(IServer p_i50687_1_,
java.lang.String p_i50687_2_,
java.net.Socket p_i50687_3_) |
Modifier and Type | Method and Description |
---|---|
private void |
closeSocket() |
void |
func_219591_b() |
void |
run() |
private void |
sendLoginFailedResponse() |
private void |
sendMultipacketResponse(int p_72655_1_,
java.lang.String p_72655_2_) |
private void |
sendResponse(int p_72654_1_,
int p_72654_2_,
java.lang.String message) |
closeAllSockets_do, closeAllSockets, closeServerSocket_do, closeServerSocket, closeSocket, getNumberOfPlayers, isRunning, logDebug, logInfo, logSevere, logWarning, registerSocket, startThread
private static final org.apache.logging.log4j.Logger LOGGER
private boolean loggedIn
private java.net.Socket clientSocket
private final byte[] buffer
private final java.lang.String rconPassword
ClientThread(IServer p_i50687_1_, java.lang.String p_i50687_2_, java.net.Socket p_i50687_3_)
public void run()
private void sendResponse(int p_72654_1_, int p_72654_2_, java.lang.String message) throws java.io.IOException
java.io.IOException
private void sendLoginFailedResponse() throws java.io.IOException
java.io.IOException
private void sendMultipacketResponse(int p_72655_1_, java.lang.String p_72655_2_) throws java.io.IOException
java.io.IOException
public void func_219591_b()
func_219591_b
in class RConThread
private void closeSocket()