Package org.apache.sshd.common.forward
Class SocksProxy.Proxy
- java.lang.Object
-
- org.apache.sshd.common.forward.SocksProxy.Proxy
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
SocksProxy.Socks4,SocksProxy.Socks5
- Enclosing class:
- SocksProxy
public abstract static class SocksProxy.Proxy extends Object implements Closeable
-
-
Field Summary
Fields Modifier and Type Field Description protected TcpipClientChannelchannelprotected IoSessionsession
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected intgetUByte(Buffer buffer)protected intgetUShort(Buffer buffer)protected voidonMessage(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 IOException
- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getUByte
protected int getUByte(Buffer buffer)
-
getUShort
protected int getUShort(Buffer buffer)
-
-