com.mindbright.ssh2
Class SSH2RetryingTCPChannel

java.lang.Object
  |
  +--com.mindbright.ssh2.SSH2Channel
        |
        +--com.mindbright.ssh2.SSH2StreamChannel
              |
              +--com.mindbright.ssh2.SSH2TCPChannel
                    |
                    +--com.mindbright.ssh2.SSH2RetryingTCPChannel

public class SSH2RetryingTCPChannel
extends SSH2TCPChannel


Field Summary
 
Fields inherited from class com.mindbright.ssh2.SSH2TCPChannel
endpoint, originAddr, originPort, remoteAddr, remotePort
 
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
SSH2RetryingTCPChannel(int channelType, SSH2Connection connection, java.lang.Object creator, java.net.Socket endpoint, java.lang.String remoteAddr, int remotePort, java.lang.String originAddr, int originPort)
           
 
Method Summary
protected  boolean openFailureImpl(int reasonCode, java.lang.String reasonText, java.lang.String langTag)
           
protected  void setRetries(int numOfRetries)
           
 void setRetryDelay(long retryDelayTime)
           
 
Methods inherited from class com.mindbright.ssh2.SSH2TCPChannel
getAddress, getOriginAddress, getOriginPort, getPort, getRemoteAddress, getRemotePort, outputClosed, toString
 
Methods inherited from class com.mindbright.ssh2.SSH2StreamChannel
applyFilter, closeImpl, createStreams, data, eofImpl, handleRequestImpl, openConfirmationImpl, startStreams, waitUntilClosed, windowAdjustImpl
 
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, wait, wait, wait
 

Constructor Detail

SSH2RetryingTCPChannel

public SSH2RetryingTCPChannel(int channelType,
                              SSH2Connection connection,
                              java.lang.Object creator,
                              java.net.Socket endpoint,
                              java.lang.String remoteAddr,
                              int remotePort,
                              java.lang.String originAddr,
                              int originPort)
                       throws java.io.IOException
Method Detail

setRetries

protected void setRetries(int numOfRetries)

setRetryDelay

public void setRetryDelay(long retryDelayTime)

openFailureImpl

protected boolean openFailureImpl(int reasonCode,
                                  java.lang.String reasonText,
                                  java.lang.String langTag)
Overrides:
openFailureImpl in class SSH2TCPChannel