Class TcpConnection.Receiver

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    TcpConnection

    protected class TcpConnection.Receiver
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Detail

      • recv

        protected final java.lang.Thread recv
      • receiving

        protected volatile boolean receiving
      • buffer

        protected byte[] buffer
    • Method Detail

      • isRunning

        public boolean isRunning()
      • canRun

        public boolean canRun()
      • bufferSize

        public int bufferSize()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable