net.schmizz.sshj.connection.channel.direct
Class LocalPortForwarder
java.lang.Object
net.schmizz.sshj.connection.channel.direct.LocalPortForwarder
public class LocalPortForwarder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalPortForwarder
public LocalPortForwarder(Connection conn,
LocalPortForwarder.Parameters parameters,
ServerSocket serverSocket)
openChannel
protected LocalPortForwarder.DirectTCPIPChannel openChannel(Socket socket)
throws TransportException,
ConnectionException
- Throws:
TransportException
ConnectionException
listen
public void listen()
throws IOException
- Start listening for incoming connections and forward to remote host as a channel.
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.