Class SocksProxy.Socks5

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    SocksProxy

    public class SocksProxy.Socks5
    extends SocksProxy.Proxy
    See Also:
    SOCKS5
    • Field Detail

      • authMethods

        private byte[] authMethods
      • response

        private Buffer response
    • Constructor Detail

      • Socks5

        public Socks5​(IoSession session)
    • Method Detail

      • onMessage

        protected void onMessage​(Buffer buffer)
                          throws java.io.IOException
        Overrides:
        onMessage in class SocksProxy.Proxy
        Throws:
        java.io.IOException
      • onChannelOpened

        protected void onChannelOpened​(OpenFuture future)
      • getBLString

        protected java.lang.String getBLString​(Buffer buffer)