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 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 java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
getUByte
protected int getUByte(Buffer buffer)
-
getUShort
protected int getUShort(Buffer buffer)
-
-