|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindbright.ssh2.SSH2SocksChannel
public class SSH2SocksChannel
This class together with SSH2SocksListener
implements
a simple SOCKS proxy server that open port forwards for each CONNECT
packet. Only TCP is supported.
SSH2SocksListener
Constructor Summary | |
---|---|
SSH2SocksChannel(java.net.Socket s,
SSH2Connection connection)
Create a channel object for the specified socket that speaks (a subset of) SOCKS. |
Method Summary | |
---|---|
void |
run()
|
void |
terminate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSH2SocksChannel(java.net.Socket s, SSH2Connection connection)
s
- The socket to use.connection
- The connection to use.Method Detail |
---|
public void terminate()
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |