public abstract class NetworkListenThread extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
isListening
Whether the network listener object is listening.
|
Constructor and Description |
---|
NetworkListenThread(MinecraftServer par1MinecraftServer) |
Modifier and Type | Method and Description |
---|---|
void |
addPlayer(NetServerHandler par1NetServerHandler)
adds this connection to the list of currently connected players
|
MinecraftServer |
getServer() |
void |
networkTick()
processes packets and pending connections
|
void |
stopListening() |
public volatile boolean isListening
public NetworkListenThread(MinecraftServer par1MinecraftServer) throws IOException
IOException
public void addPlayer(NetServerHandler par1NetServerHandler)
public void stopListening()
public void networkTick()
public MinecraftServer getServer()