Package net.minecraft.network.rcon
Class ClientThread
java.lang.Object
net.minecraft.network.rcon.RConThread
net.minecraft.network.rcon.ClientThread
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final byte[]private final Socketprivate static final org.apache.logging.log4j.Loggerprivate final Stringprivate final IServerFields inherited from class net.minecraft.network.rcon.RConThread
name, running, thread -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidrun()private voidprivate voidprivate voidsendCmdResponse(int p_72655_1_, String p_72655_2_) voidstop()Methods inherited from class net.minecraft.network.rcon.RConThread
isRunning, start
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
authed
private boolean authed -
client
-
buf
private final byte[] buf -
rconPassword
-
serverInterface
-
-
Constructor Details
-
ClientThread
-
-
Method Details
-
run
public void run() -
send
- Throws:
IOException
-
sendAuthFailure
- Throws:
IOException
-
sendCmdResponse
- Throws:
IOException
-
stop
public void stop()- Overrides:
stopin classRConThread
-
closeSocket
private void closeSocket()
-