public class SocksProxy extends AbstractCloseable implements IoHandler
Modifier and Type | Class and Description |
---|---|
class |
SocksProxy.Proxy |
class |
SocksProxy.Socks4 |
class |
SocksProxy.Socks5 |
AbstractCloseable.State
closeFuture, lock, state
log
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, preClose
close, isOpen
public SocksProxy(ConnectionService service)
public void sessionCreated(IoSession session) throws Exception
sessionCreated
in interface IoHandler
Exception
public void sessionClosed(IoSession session) throws Exception
sessionClosed
in interface IoHandler
Exception
public void messageReceived(IoSession session, Readable message) throws Exception
messageReceived
in interface IoHandler
Exception
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.