public abstract static class SocksProxy.Proxy
extends java.lang.Object
implements java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
protected TcpipClientChannel |
channel |
protected 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) |
protected IoSession session
protected TcpipClientChannel channel
protected Proxy(IoSession session)
protected void onMessage(Buffer buffer) throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionprotected int getUByte(Buffer buffer)
protected int getUShort(Buffer buffer)