Class SocksProxy.Proxy
java.lang.Object
org.apache.sshd.common.forward.SocksProxy.Proxy
- All Implemented Interfaces:
Closeable, AutoCloseable
- Direct Known Subclasses:
SocksProxy.Socks4, SocksProxy.Socks5
- Enclosing class:
SocksProxy
- Author:
- Apache MINA SSHD Project
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TcpipClientChannelprotected org.apache.sshd.common.io.IoSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidonMessage(org.apache.sshd.common.util.buffer.Buffer buffer) protected voidsendReply(org.apache.sshd.common.util.buffer.Buffer message, boolean success, LocalWindow window, long windowSize)
-
Field Details
-
session
protected org.apache.sshd.common.io.IoSession session -
channel
-
-
Constructor Details
-
Proxy
protected Proxy(org.apache.sshd.common.io.IoSession session)
-
-
Method Details
-
onMessage
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
sendReply
protected void sendReply(org.apache.sshd.common.util.buffer.Buffer message, boolean success, LocalWindow window, long windowSize)
-