com.mindbright.ssh
Class SSHRxChannel

java.lang.Object
  extended by java.lang.Thread
      extended by com.mindbright.ssh.SSHChannel
          extended by com.mindbright.ssh.SSHRxChannel
All Implemented Interfaces:
java.lang.Runnable

public class SSHRxChannel
extends SSHChannel


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  java.io.InputStream in
           
protected  SSHPdu pduFactory
           
 
Fields inherited from class com.mindbright.ssh.SSHChannel
channelId, listener
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SSHRxChannel(java.io.InputStream in, int channelId)
           
 
Method Summary
 void forceClose()
           
 void serviceLoop()
           
 void setSSHPduFactory(SSHPdu pduFactory)
           
 
Methods inherited from class com.mindbright.ssh.SSHChannel
close, getChannelId, run, setSSHChannelListener
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

in

protected java.io.InputStream in

pduFactory

protected SSHPdu pduFactory
Constructor Detail

SSHRxChannel

public SSHRxChannel(java.io.InputStream in,
                    int channelId)
Method Detail

setSSHPduFactory

public void setSSHPduFactory(SSHPdu pduFactory)

serviceLoop

public void serviceLoop()
                 throws java.lang.Exception
Specified by:
serviceLoop in class SSHChannel
Throws:
java.lang.Exception

forceClose

public void forceClose()