|
Secure iNet Factory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jscape.inet.ssh.connection.channels.Channel
com.jscape.inet.ssh.connection.channels.TcpChannel
public class TcpChannel
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jscape.inet.ssh.connection.channels.Channel |
|---|
Channel.ChannelClosedListener, Channel.DataOutputStream, Channel.Parameters |
| Method Summary | |
|---|---|
static TcpChannel |
createDirect(long windowSize,
long packetSize,
ConnectionParameters connectionParams,
ConnectionParameters originatorParams,
Connection connection)
Creates a new direct TCP channel. |
static TcpChannel |
createForwarded(long windowSize,
long packetSize,
com.jscape.inet.ssh.connection.messages.SshMsgChannelOpen request,
Connection connection)
Creates a new direct TCP channel. |
java.lang.String |
getConnectionHost()
Obtains the connected host name. |
int |
getConnectionPort()
Obtains the connected port value. |
java.lang.String |
getOriginatorHost()
Obtains the origiantor host address. |
int |
getOriginatorPort()
Obtains the origiantor port value. |
| Methods inherited from class com.jscape.inet.ssh.connection.channels.Channel |
|---|
close, getConnection, getIncomingWindow, getInputStream, getLocalNo, getOutputStream, getParameters, getReadTimeout, getRemoteNo, getType, hashCode, isClosed, onMessage, sendRequest, setChannelClosedListener, setReadTimeout |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TcpChannel createDirect(long windowSize,
long packetSize,
ConnectionParameters connectionParams,
ConnectionParameters originatorParams,
Connection connection)
throws java.io.IOException,
ConnectionException
windowSize - the channel initial window sizepacketSize - the max packet siseconnectionParams - the target connection parametersoriginatorParams - the connection originator parametersconnection - the underlayed SSH connection
java.io.IOException - if an I/O error occurs
ConnectionException - if the channel cannot be opened
public static TcpChannel createForwarded(long windowSize,
long packetSize,
com.jscape.inet.ssh.connection.messages.SshMsgChannelOpen request,
Connection connection)
throws java.io.IOException
windowSize - the channel initial window sizepacketSize - the max packet siserequest - the open channel requestconnection - the underlayed SSH connection
java.io.IOException - if an I/O error occurspublic java.lang.String getConnectionHost()
public int getConnectionPort()
public java.lang.String getOriginatorHost()
public int getOriginatorPort()
|
Secure iNet Factory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||