|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread universe.base.Server<Msg>
public class Server<Msg extends java.io.Serializable>
Nested Class Summary | |
---|---|
static class |
Server.WorldImp
|
static class |
Server.WorldImpObj
Transfer using Object Streams... |
static class |
Server.WorldImpSExp
Transfer with SExpressions... |
static class |
Server.WorldPred
|
static class |
Server.WorldShell
|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
---|---|
void |
addMessage(WithWorld m)
Add a Message to the Queue |
void |
addServant(universe.base.Server.ServantThread t)
Add a Servant Thread to the List |
void |
addWorld(Server.WorldImp w)
Add a Message to the Queue |
boolean |
hasMessage()
Is there a message in the Queue |
WithWorld |
nextMessage()
Get the next Message |
int |
numServants()
Remove a Servant Thread from the List |
void |
processMail(Mail<Msg> m,
IWorld from)
|
void |
removeWorld(IWorld w)
|
void |
run()
Run!! |
void |
shutdown()
Add a Servant Thread to the List |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, 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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void shutdown()
public void addServant(universe.base.Server.ServantThread t)
public void addMessage(WithWorld m)
public boolean hasMessage()
public WithWorld nextMessage()
public void addWorld(Server.WorldImp w)
public int numServants()
public void processMail(Mail<Msg> m, IWorld from)
public void removeWorld(IWorld w)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |