Package org.apache.sshd.common.forward
Class SocksProxy
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.closeable.IoBaseCloseable
org.apache.sshd.common.util.closeable.AbstractCloseable
org.apache.sshd.common.forward.SocksProxy
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,Closeable
,IoHandler
SOCKS proxy server, supporting simple socks4/5 protocols.
- Author:
- Apache MINA SSHD Project
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
class
class
Nested classes/interfaces inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
AbstractCloseable.State
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
closeFuture, futureLock, state
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exceptionCaught
(IoSession session, Throwable cause) void
messageReceived
(IoSession session, Readable message) void
sessionClosed
(IoSession session) void
sessionCreated
(IoSession session) Methods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
addCloseFutureListener, builder, close, doCloseGracefully, doCloseImmediately, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListener
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Constructor Details
-
SocksProxy
-
-
Method Details
-
sessionCreated
- Specified by:
sessionCreated
in interfaceIoHandler
- Throws:
Exception
-
sessionClosed
- Specified by:
sessionClosed
in interfaceIoHandler
- Throws:
Exception
-
messageReceived
- Specified by:
messageReceived
in interfaceIoHandler
- Throws:
Exception
-
exceptionCaught
- Specified by:
exceptionCaught
in interfaceIoHandler
- Throws:
Exception
-