public class LocalPortForwarder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LocalPortForwarder.DirectTCPIPChannel |
static class |
LocalPortForwarder.Parameters |
| Constructor and Description |
|---|
LocalPortForwarder(Connection conn,
LocalPortForwarder.Parameters parameters,
ServerSocket serverSocket) |
| Modifier and Type | Method and Description |
|---|---|
void |
listen()
Start listening for incoming connections and forward to remote host as a channel.
|
protected LocalPortForwarder.DirectTCPIPChannel |
openChannel(Socket socket) |
public LocalPortForwarder(Connection conn, LocalPortForwarder.Parameters parameters, ServerSocket serverSocket)
protected LocalPortForwarder.DirectTCPIPChannel openChannel(Socket socket) throws TransportException, ConnectionException
public void listen()
throws IOException
IOExceptionCopyright © 2009–2014. All rights reserved.