|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindbright.ssh2.SSH2Channel
com.mindbright.ssh2.SSH2StreamChannel
com.mindbright.ssh2.SSH2InternalChannel
Implements an internal channel which is connected ot a pair of pipes.
Field Summary | |
protected InputStreamPipe |
rxPipe
|
protected OutputStreamPipe |
txPipe
|
Fields inherited from class com.mindbright.ssh2.SSH2StreamChannel |
in, out, receiver, rxCounter, rxQueue, transmitter, txCounter |
Fields inherited from class com.mindbright.ssh2.SSH2Channel |
channelId, channelType, closeListeners, closeReceived, closeSent, connection, creator, deleted, eofReceived, eofSent, openMonitor, openStatus, peerChanId, rxCurrWinSz, rxInitWinSz, rxMaxPktSz, STATUS_CLOSED, STATUS_FAILED, STATUS_OPEN, STATUS_UNDEFINED, txCurrWinSz, txInitWinSz, txMaxPktSz |
Constructor Summary | |
SSH2InternalChannel(int channelType,
SSH2Connection connection)
Create a new internal channel of the given type. |
Method Summary | |
java.io.InputStream |
getInputStream()
Get the input stream of the channel. |
java.io.OutputStream |
getOutputStream()
Get the output stream of the channel. |
Methods inherited from class com.mindbright.ssh2.SSH2StreamChannel |
applyFilter, checkRxWindowSize, closeImpl, createStreams, data, eofImpl, handleRequestImpl, openConfirmationImpl, openFailureImpl, outputClosed, startStreams, waitUntilClosed, windowAdjustImpl |
Methods inherited from class com.mindbright.ssh2.SSH2Channel |
addCloseListener, close, extData, getChannelId, getConnection, getCreator, getPeerId, getType, handleRequest, init, openConfirmation, openFailure, openStatus, recvClose, recvEOF, removeCloseListener, requestFailure, requestSuccess, sendClose, sendEOF, transmit, windowAdjust |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected InputStreamPipe rxPipe
protected OutputStreamPipe txPipe
Constructor Detail |
public SSH2InternalChannel(int channelType, SSH2Connection connection)
SSH2Connection
and starts with
CH_TYPE
.
channelType
- Type of channel to create.connection
- The ssh connection to associate the channel with.Method Detail |
public java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |