com.mindbright.ssh2
public final class SSH2TelnetProxyListener extends java.lang.Object implements java.lang.Runnable
Constructor and Description |
---|
SSH2TelnetProxyListener(java.lang.String localAddr,
int localPort,
SSH2Connection connection) |
SSH2TelnetProxyListener(java.lang.String localAddr,
int localPort,
SSH2Connection connection,
java.lang.String prompt) |
public SSH2TelnetProxyListener(java.lang.String localAddr, int localPort, SSH2Connection connection) throws java.io.IOException
localAddr
- Local address to bind listener to.localPort
- Port to listen at.connection
- The ssh connection to use.java.io.IOException
public SSH2TelnetProxyListener(java.lang.String localAddr, int localPort, SSH2Connection connection, java.lang.String prompt) throws java.io.IOException
localAddr
- Local address to bind listener to.localPort
- Port to listen at.connection
- The ssh connection to use.prompt
- The prompt to use.java.io.IOException