Package com.trilead.ssh2.channel
Class LocalAcceptThread
java.lang.Object
java.lang.Thread
com.trilead.ssh2.channel.LocalAcceptThread
- All Implemented Interfaces:
Runnable
public class LocalAcceptThread extends Thread
LocalAcceptThread.
- Version:
- $Id: LocalAcceptThread.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
-
Constructor Summary
Constructors Constructor Description LocalAcceptThread(ChannelManager cm, int local_port, String host_to_connect, int port_to_connect)LocalAcceptThread(ChannelManager cm, InetSocketAddress localAddress, String host_to_connect, int port_to_connect) -
Method Summary
Modifier and Type Method Description intgetLocalPort()voidrun()voidstopWorking()Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
LocalAcceptThread
public LocalAcceptThread(ChannelManager cm, int local_port, String host_to_connect, int port_to_connect) throws IOException- Throws:
IOException
-
LocalAcceptThread
public LocalAcceptThread(ChannelManager cm, InetSocketAddress localAddress, String host_to_connect, int port_to_connect) throws IOException- Throws:
IOException
-
-
Method Details
-
run
public void run() -
stopWorking
public void stopWorking() -
getLocalPort
public int getLocalPort()
-