|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.maverick.sshd.Channel
com.maverick.sshd.ForwardingChannel
An abstract forwarding channel implementation for use with both local and remote forwarding operations.
A forwarding channel acts as a tunnel , connections are listened for at the tunnel start point and any data is forwarded from the start point through the ssh connection and then onto the end point. Local forwards have the tunnel start point on the client, and the data flows from the start point through the client, along the ssh connection to the server, out to the endpoint which can be anywhere. Remote forwards have the tunnel start point on the Server, and the data flows from the start point through the server, along the ssh connection to the client, out to the endpoint which can be anywhere.
| Nested Class Summary |
| Nested classes inherited from class com.maverick.sshd.Channel |
Channel.QueuedData |
| Field Summary | |
protected java.lang.String |
hostToConnect
Tunnel endpoint hostname |
protected java.lang.String |
originatingHost
Tunnel startpoint hostname |
protected int |
originatingPort
Tunnel startpoint port number |
protected int |
portToConnect
Tunnel endpoint port number |
| Fields inherited from class com.maverick.sshd.Channel |
connection, localwindow, localWindowLock |
| Constructor Summary | |
ForwardingChannel(java.lang.String channelType,
int maximumPacketSize,
int initialWindowSize)
Construct the forwarding channel. |
|
| Method Summary | |
java.lang.String |
getHost()
The hostname of the endpoint of tunnel. |
java.lang.String |
getOriginatingHost()
The hostname of the startpoint of tunnel. |
int |
getOriginatingPort()
The port number of the startpoint of tunnel. |
int |
getPort()
The port number of the endpoint of tunnel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String hostToConnect
protected int portToConnect
protected java.lang.String originatingHost
protected int originatingPort
| Constructor Detail |
public ForwardingChannel(java.lang.String channelType,
int maximumPacketSize,
int initialWindowSize)
channelType - StringChannel.Channel(String channelType, int maximumPacketSize, int initialWindowSize)| Method Detail |
public java.lang.String getHost()
public int getPort()
public java.lang.String getOriginatingHost()
public int getOriginatingPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||