Package com.toxi.nio
Class UDPServer
java.lang.Object
java.lang.Thread
com.toxi.nio.UDPServer
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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
-
Field Details
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
MAX_PACKET_SIZE
public static final int MAX_PACKET_SIZE- See Also:
-
-
Constructor Details
-
UDPServer
public UDPServer(int numClients, int fps) -
UDPServer
public UDPServer(int port, int numClients, int maxPacketSize, int fps)
-
-
Method Details