Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

mindbright.ssh
Class SSHChannel  view SSHChannel download SSHChannel.java

java.lang.Object
  extended byjava.lang.Thread
      extended bymindbright.ssh.SSHChannel
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
SSHListenChannel, SSHRxChannel, SSHTxChannel

public abstract class SSHChannel
extends java.lang.Thread


Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  int channelId
           
protected  SSHChannelListener listener
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SSHChannel(int channelId)
           
 
Method Summary
 void close()
           
 int getId()
          Returns the unique identifier for this thread.
 void run()
          The method of Thread that will be run if there is no Runnable object associated with the Thread.
abstract  void serviceLoop()
           
 void setSSHChannelListener(SSHChannelListener listener)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getName, getPriority, 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

channelId

protected int channelId

listener

protected SSHChannelListener listener
Constructor Detail

SSHChannel

public SSHChannel(int channelId)
Method Detail

setSSHChannelListener

public void setSSHChannelListener(SSHChannelListener listener)

getId

public int getId()
Description copied from class: java.lang.Thread
Returns the unique identifier for this thread. This ID is generated on thread creation, and may be re-used on its death.


serviceLoop

public abstract void serviceLoop()
                          throws java.lang.Exception

close

public void close()

run

public void run()
Description copied from class: java.lang.Thread
The method of Thread that will be run if there is no Runnable object associated with the Thread. Thread's implementation does nothing at all.