Class AESocksProxyState

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean connect​(java.nio.channels.SocketChannel sc)  
      protected boolean connectSupport​(java.nio.channels.SocketChannel sc)  
      java.lang.String getStateName()  
      boolean read​(java.nio.channels.SocketChannel sc)  
      protected boolean readSupport​(java.nio.channels.SocketChannel sc)  
      protected void trace()  
      boolean write​(java.nio.channels.SocketChannel sc)  
      protected boolean writeSupport​(java.nio.channels.SocketChannel sc)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGID

        private static final LogIDs LOGID
      • buffer

        protected java.nio.ByteBuffer buffer
    • Method Detail

      • read

        public final boolean read​(java.nio.channels.SocketChannel sc)
                           throws java.io.IOException
        Specified by:
        read in interface AEProxyState
        Throws:
        java.io.IOException
      • readSupport

        protected boolean readSupport​(java.nio.channels.SocketChannel sc)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public final boolean write​(java.nio.channels.SocketChannel sc)
                            throws java.io.IOException
        Specified by:
        write in interface AEProxyState
        Throws:
        java.io.IOException
      • writeSupport

        protected boolean writeSupport​(java.nio.channels.SocketChannel sc)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • connect

        public final boolean connect​(java.nio.channels.SocketChannel sc)
                              throws java.io.IOException
        Specified by:
        connect in interface AEProxyState
        Throws:
        java.io.IOException
      • connectSupport

        protected boolean connectSupport​(java.nio.channels.SocketChannel sc)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • trace

        protected void trace()