com.mindbright.ssh2
Class SSH2StreamChannel
java.lang.Object
|
+--com.mindbright.ssh2.SSH2Channel
|
+--com.mindbright.ssh2.SSH2StreamChannel
- Direct Known Subclasses:
- SSH2InternalChannel, SSH2TCPChannel
- public class SSH2StreamChannel
- extends SSH2Channel
| 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 |
protected |
SSH2StreamChannel(int channelType,
SSH2Connection connection,
java.lang.Object creator,
java.io.InputStream in,
java.io.OutputStream out)
|
| Methods inherited from class com.mindbright.ssh2.SSH2Channel |
addCloseListener, close, extData, getConnection, getCreator, getId, 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 |
in
protected java.io.InputStream in
out
protected java.io.OutputStream out
transmitter
protected java.lang.Thread transmitter
receiver
protected java.lang.Thread receiver
rxQueue
protected Queue rxQueue
txCounter
protected long txCounter
rxCounter
protected long rxCounter
SSH2StreamChannel
protected SSH2StreamChannel(int channelType,
SSH2Connection connection,
java.lang.Object creator,
java.io.InputStream in,
java.io.OutputStream out)
applyFilter
public void applyFilter(SSH2StreamFilter filter)
data
protected void data(SSH2TransportPDU pdu)
- Overrides:
data in class SSH2Channel
openConfirmationImpl
protected void openConfirmationImpl(SSH2TransportPDU pdu)
- Specified by:
openConfirmationImpl in class SSH2Channel
openFailureImpl
protected boolean openFailureImpl(int reasonCode,
java.lang.String reasonText,
java.lang.String langTag)
- Specified by:
openFailureImpl in class SSH2Channel
windowAdjustImpl
protected void windowAdjustImpl(int inc)
- Specified by:
windowAdjustImpl in class SSH2Channel
eofImpl
protected void eofImpl()
- Specified by:
eofImpl in class SSH2Channel
closeImpl
protected void closeImpl()
- Specified by:
closeImpl in class SSH2Channel
outputClosed
protected void outputClosed()
handleRequestImpl
protected void handleRequestImpl(java.lang.String type,
boolean wantReply,
SSH2TransportPDU pdu)
- Specified by:
handleRequestImpl in class SSH2Channel
createStreams
protected void createStreams()
startStreams
protected void startStreams()
waitUntilClosed
public void waitUntilClosed()
- Overrides:
waitUntilClosed in class SSH2Channel