protected class UdpKernel.HostThread
extends java.lang.Thread
| Constructor and Description |
|---|
HostThread() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect() |
protected java.net.DatagramSocket |
getSocket() |
void |
run() |
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, yieldprotected java.net.DatagramSocket getSocket()
public void connect()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread