public abstract static class SocksProxy.Proxy
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Field and Description |
---|---|
(package private) TcpipClientChannel |
channel |
(package private) IoSession |
session |
Modifier | Constructor and Description |
---|---|
protected |
Proxy(IoSession session) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected int |
getUByte(Buffer buffer) |
protected int |
getUShort(Buffer buffer) |
protected void |
onMessage(Buffer buffer) |
IoSession session
TcpipClientChannel channel
protected Proxy(IoSession session)
protected void onMessage(Buffer buffer) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
protected int getUByte(Buffer buffer)
protected int getUShort(Buffer buffer)