|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SshTunnel
Interface defining the contract for SSH forwarding channels.
Forwarding channels can either be local or remote. Local forwarding transfers data from the local computer to the remote side where it is delivered to the specified host. Remote forwarding is when the remote computer forwards data to the local side.
| Method Summary | |
|---|---|
java.lang.String |
getListeningAddress()
The source ip address of the connection that is being forwarded. |
int |
getListeningPort()
The source port of the connection being forwarded. |
java.lang.String |
getOriginatingHost()
The host that made the initial connection to the listening address. |
int |
getOriginatingPort()
The port of the initial connection. |
int |
getPort()
The port to which the data is being forwarded. |
SshTransport |
getTransport()
The connection being forwarded (local forwarding) or the destination of the forwarding (remote forwarding). |
boolean |
isLocal()
Determines the type of forwarding channel. |
boolean |
isX11()
Determine if this channel is an X11 forwarding channel. |
| Methods inherited from interface com.maverick.ssh.SshChannel |
|---|
addChannelEventListener, getChannelId, getMessageRouter, isClosed, setAutoConsumeInput |
| Methods inherited from interface com.maverick.ssh.SshTransport |
|---|
duplicate, getHost |
| Methods inherited from interface com.maverick.ssh.SshIO |
|---|
close, getInputStream, getOutputStream |
| Method Detail |
|---|
int getPort()
getPort in interface SshTransportjava.lang.String getListeningAddress()
int getListeningPort()
java.lang.String getOriginatingHost()
int getOriginatingPort()
boolean isLocal()
boolean isX11()
SshTransport getTransport()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||