Class NetworkListenThread

java.lang.Object
net.minecraft.src.NetworkListenThread
Direct Known Subclasses:
DedicatedServerListenThread, IntegratedServerListenThread

public abstract class NetworkListenThread extends Object
  • Field Details

    • isListening

      public volatile boolean isListening
      Whether the network listener object is listening.
  • Constructor Details

  • Method Details

    • addPlayer

      public void addPlayer(NetServerHandler par1NetServerHandler)
      adds this connection to the list of currently connected players
    • stopListening

      public void stopListening()
    • handleNetworkListenThread

      public void handleNetworkListenThread()
      processes packets and pending connections
    • getServer

      public MinecraftServer getServer()