|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Thread
org.mbari.siam.core.RemoteSerialPortServer
public class RemoteSerialPortServer
Base class for thread which implements remote control of serial port
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static int |
_DEFAULT_TIMEOUT
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
RemoteSerialPortServer(InstrumentPort instPort)
|
|
RemoteSerialPortServer(InstrumentPort instPort,
DeviceService deviceService)
|
|
RemoteSerialPortServer(InstrumentPort instPort,
int sockPort)
|
|
| Method Summary | |
|---|---|
java.net.InetAddress |
getServerInetAddress()
|
int |
getServerPort()
|
int |
getTimeout()
|
void |
run()
Wait for and accept new client connection. |
void |
setTimeout(int timeout)
|
void |
shutdown()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, 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 |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int _DEFAULT_TIMEOUT
| Constructor Detail |
|---|
public RemoteSerialPortServer(InstrumentPort instPort,
int sockPort)
throws java.io.IOException
java.io.IOException
public RemoteSerialPortServer(InstrumentPort instPort)
throws java.io.IOException
java.io.IOException
public RemoteSerialPortServer(InstrumentPort instPort,
DeviceService deviceService)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public int getServerPort()
public java.net.InetAddress getServerInetAddress()
throws java.net.UnknownHostException
java.net.UnknownHostExceptionpublic int getTimeout()
public void setTimeout(int timeout)
throws RangeException
RangeExceptionpublic void shutdown()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||