Package net.minecraft.network.rcon
Class ClientThread
- java.lang.Object
-
- net.minecraft.network.rcon.RConThread
-
- net.minecraft.network.rcon.ClientThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class ClientThread extends RConThread
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
authed
private byte[]
buf
private java.net.Socket
client
private static org.apache.logging.log4j.Logger
LOGGER
private java.lang.String
rconPassword
private IServer
serverInterface
-
Fields inherited from class net.minecraft.network.rcon.RConThread
name, running, thread
-
-
Constructor Summary
Constructors Constructor Description ClientThread(IServer p_i50687_1_, java.lang.String p_i50687_2_, java.net.Socket p_i50687_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
closeSocket()
void
run()
private void
send(int p_72654_1_, int p_72654_2_, java.lang.String p_72654_3_)
private void
sendAuthFailure()
private void
sendCmdResponse(int p_72655_1_, java.lang.String p_72655_2_)
void
stop()
-
Methods inherited from class net.minecraft.network.rcon.RConThread
isRunning, start
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
authed
private boolean authed
-
client
private final java.net.Socket client
-
buf
private final byte[] buf
-
rconPassword
private final java.lang.String rconPassword
-
serverInterface
private final IServer serverInterface
-
-
Constructor Detail
-
ClientThread
ClientThread(IServer p_i50687_1_, java.lang.String p_i50687_2_, java.net.Socket p_i50687_3_)
-
-
Method Detail
-
run
public void run()
-
send
private void send(int p_72654_1_, int p_72654_2_, java.lang.String p_72654_3_) throws java.io.IOException
- Throws:
java.io.IOException
-
sendAuthFailure
private void sendAuthFailure() throws java.io.IOException
- Throws:
java.io.IOException
-
sendCmdResponse
private void sendCmdResponse(int p_72655_1_, java.lang.String p_72655_2_) throws java.io.IOException
- Throws:
java.io.IOException
-
stop
public void stop()
- Overrides:
stop
in classRConThread
-
closeSocket
private void closeSocket()
-
-