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, yield
protected java.net.DatagramSocket getSocket()
public void connect() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread