java.lang.Object
java.lang.Thread
mindbright.ssh.SSHChannel
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- SSHListenChannel, SSHRxChannel, SSHTxChannel
- public abstract class SSHChannel
- extends java.lang.Thread
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| 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 |
channelId
protected int channelId
listener
protected SSHChannelListener listener
SSHChannel
public SSHChannel(int channelId)
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.