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.State
closeFuture, lock, log, state
Constructor and Description |
---|
SocksProxy(ConnectionService service) |
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(IoSession ioSession,
Throwable cause) |
void |
messageReceived(IoSession session,
Readable message) |
void |
sessionClosed(IoSession session) |
void |
sessionCreated(IoSession session) |
builder, close, doCloseGracefully, doCloseImmediately, isClosed, isClosing, preClose
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.