|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--iglu.net.PortServerThread
A simple wrapper for PortServer. Makes it a thread without adding any additional functionality. It extends thread and uses delegation to implement PortServer functionality.
PortServer
Field Summary | |
PortServer |
psvr
The PortServer it is using. |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
PortServerThread(java.net.InetAddress addr,
java.lang.Integer port,
ClientCreator ncc)
Sets up the server for use. |
Method Summary | |
void |
run()
Starts the thread simply by starting the server. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public PortServer psvr
Constructor Detail |
public PortServerThread(java.net.InetAddress addr, java.lang.Integer port, ClientCreator ncc)
addr
- The internet address the server will run on.port
- The port to listen to.ncc
- The ClientCreator for the new server.Method Detail |
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |