Class SocksProxy.Proxy

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    SocksProxy.Socks4, SocksProxy.Socks5
    Enclosing class:
    SocksProxy

    public abstract static class SocksProxy.Proxy
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Detail

      • Proxy

        protected Proxy​(IoSession session)
    • Method Detail

      • onMessage

        protected void onMessage​(Buffer buffer)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • getUByte

        protected int getUByte​(Buffer buffer)
      • getUShort

        protected int getUShort​(Buffer buffer)