|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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, isClosed, setAutoConsumeInput |
Methods inherited from interface com.maverick.ssh.SshIO |
close, getInputStream, getOutputStream |
Methods inherited from interface com.maverick.ssh.SshTransport |
duplicate, getHost |
Method Detail |
public int getPort()
getPort
in interface SshTransport
public java.lang.String getListeningAddress()
public int getListeningPort()
public java.lang.String getOriginatingHost()
public int getOriginatingPort()
public boolean isLocal()
public boolean isX11()
public SshTransport getTransport()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |