Package net.minecraft.src
Class NetworkListenThread
java.lang.Object
net.minecraft.src.NetworkListenThread
- Direct Known Subclasses:
DedicatedServerListenThread,IntegratedServerListenThread
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanWhether the network listener object is listening. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlayer(NetServerHandler par1NetServerHandler) adds this connection to the list of currently connected playersvoidprocesses packets and pending connectionsvoid
-
Field Details
-
isListening
public volatile boolean isListeningWhether the network listener object is listening.
-
-
Constructor Details
-
NetworkListenThread
- Throws:
IOException
-
-
Method Details
-
addPlayer
adds this connection to the list of currently connected players -
stopListening
public void stopListening() -
handleNetworkListenThread
public void handleNetworkListenThread()processes packets and pending connections -
getServer
-