Class NetworkManager


  • public class NetworkManager
    extends java.lang.Object
    • Field Detail

      • threadSyncObject

        public static final java.lang.Object threadSyncObject
      • numReadThreads

        public static int numReadThreads
      • numWriteThreads

        public static int numWriteThreads
      • timeSinceLastRead

        public int timeSinceLastRead
      • field_28145_d

        public static int[] field_28145_d
      • field_28144_e

        public static int[] field_28144_e
      • chunkDataSendCounter

        public int chunkDataSendCounter
      • backedUpSendQueue

        @Client
        public @net.minecraft.modding.api.Side.Client int backedUpSendQueue
    • Constructor Detail

      • NetworkManager

        public NetworkManager​(java.net.Socket var1,
                              java.lang.String var2,
                              NetHandler var3)
                       throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • setNetHandler

        public void setNetHandler​(NetHandler var1)
      • addToSendQueue

        public void addToSendQueue​(Packet var1)
      • wakeThreads

        public void wakeThreads()
      • networkShutdown

        public void networkShutdown​(java.lang.String var1,
                                    java.lang.Object... var2)
      • processReadPackets

        public void processReadPackets()
      • getRemoteAddress

        public java.net.SocketAddress getRemoteAddress()
      • serverShutdown

        public void serverShutdown()
      • getNumChunkDataPackets

        public int getNumChunkDataPackets()
      • getSocket

        public java.net.Socket getSocket()