|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.bluesock.bluemud.driver.Server
Skeleton server that executes as a daemon thread and listens on a given port, binding connected sockets to Communicator and, ultimately, User objects. A ConnectEvent is then generated. Note: There's almost zero error handling at this point. Most errors are ignored.
Fields inherited from class java.lang.Thread |
inheritableThreadLocals, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, threadLocals |
Constructor Summary | |
(package private) |
Server(int desiredPort)
Constructor |
Method Summary | |
void |
run()
Enters a loop listening for new connections on the master socket on the listening port. |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
Server(int desiredPort)
desiredPort
- - The port on which this server should
listen.Method Detail |
public void run()
run
in class java.lang.Thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |