public class

LocalPortForwarder

extends Object
java.lang.Object
   ↳ com.trilead.ssh2.LocalPortForwarder

Class Overview

A LocalPortForwarder forwards TCP/IP connections to a local port via the secure tunnel to another host (which may or may not be identical to the remote SSH-2 server). Checkout createLocalPortForwarder(int, String, int) on how to create one.

Summary

Fields
ChannelManager cm
String host_to_connect
LocalAcceptThread lat
int port_to_connect
Public Methods
void close()
Stop TCP/IP forwarding of newly arriving connections.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

String host_to_connect

int port_to_connect

Public Methods

public void close ()

Stop TCP/IP forwarding of newly arriving connections.

Throws
IOException