public class SocksProxy extends CloseableUtils.AbstractCloseable implements IoHandler
| Modifier and Type | Class and Description |
|---|---|
class |
SocksProxy.Proxy |
class |
SocksProxy.Socks4 |
class |
SocksProxy.Socks5 |
CloseableUtils.AbstractCloseable.StatecloseFuture, lock, statelog| Constructor and Description |
|---|
SocksProxy(ConnectionService service) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(IoSession session,
Throwable cause) |
void |
messageReceived(IoSession session,
Readable message) |
void |
sessionClosed(IoSession session) |
void |
sessionCreated(IoSession session) |
builder, close, doCloseGracefully, doCloseImmediately, isClosed, isClosing, preCloseclose, isOpenpublic SocksProxy(ConnectionService service)
public void sessionCreated(IoSession session) throws Exception
sessionCreated in interface IoHandlerExceptionpublic void sessionClosed(IoSession session) throws Exception
sessionClosed in interface IoHandlerExceptionpublic void messageReceived(IoSession session, Readable message) throws Exception
messageReceived in interface IoHandlerExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.