Package org.apache.sshd.common.forward
Class SocksProxy.Proxy
- java.lang.Object
-
- org.apache.sshd.common.forward.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
-
-
Field Summary
Fields Modifier and Type Field Description protected TcpipClientChannel
channel
protected IoSession
session
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected int
getUByte(Buffer buffer)
protected int
getUShort(Buffer buffer)
protected void
onMessage(Buffer buffer)
-
-
-
Field Detail
-
session
protected IoSession session
-
channel
protected TcpipClientChannel channel
-
-
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 interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
getUByte
protected int getUByte(Buffer buffer)
-
getUShort
protected int getUShort(Buffer buffer)
-
-