Package net.minecraft.src
Class RConThreadBase
- java.lang.Object
-
- net.minecraft.src.RConThreadBase
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
RConThreadClient
,RConThreadMain
,RConThreadQuery
public abstract class RConThreadBase extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description protected int
field_40415_d
protected java.lang.Thread
rconThread
protected boolean
running
protected IServer
server
protected java.util.List<java.net.ServerSocket>
serverSocketList
protected java.util.List<java.net.DatagramSocket>
socketList
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clos(boolean var1)
protected void
closeAllSockets()
protected boolean
closeServerSocket(java.net.ServerSocket var1)
protected boolean
closeServerSocket_do(java.net.ServerSocket serverSocket, boolean var2)
protected boolean
closeSocket(java.net.DatagramSocket datagramSocket, boolean var2)
protected int
getNumberOfPlayers()
boolean
isRunning()
protected void
log(java.lang.String var1)
protected void
logInfo(java.lang.String var1)
protected void
logSevere(java.lang.String var1)
protected void
logWarning(java.lang.String var1)
protected void
registerSocket(java.net.DatagramSocket var1)
void
startThread()
-
-
-
Field Detail
-
running
protected boolean running
-
server
protected IServer server
-
rconThread
protected java.lang.Thread rconThread
-
field_40415_d
protected int field_40415_d
-
socketList
protected java.util.List<java.net.DatagramSocket> socketList
-
serverSocketList
protected java.util.List<java.net.ServerSocket> serverSocketList
-
-
Method Detail
-
startThread
public void startThread()
-
isRunning
public boolean isRunning()
-
logInfo
protected void logInfo(java.lang.String var1)
-
log
protected void log(java.lang.String var1)
-
logWarning
protected void logWarning(java.lang.String var1)
-
logSevere
protected void logSevere(java.lang.String var1)
-
getNumberOfPlayers
protected int getNumberOfPlayers()
-
registerSocket
protected void registerSocket(java.net.DatagramSocket var1)
-
closeSocket
protected boolean closeSocket(java.net.DatagramSocket datagramSocket, boolean var2)
-
closeServerSocket
protected boolean closeServerSocket(java.net.ServerSocket var1)
-
closeServerSocket_do
protected boolean closeServerSocket_do(java.net.ServerSocket serverSocket, boolean var2)
-
closeAllSockets
protected void closeAllSockets()
-
clos
protected void clos(boolean var1)
-
-