|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--galaxy.server.ServerCreationThread | +--galaxy.server.ListenerThread
This thread accepts clients connections and creates server threads to handle the client requests ("server per client connection" model). It also manages connections to outgoing brokers.
Fields inherited from class galaxy.server.ServerCreationThread |
CLIENT, in, isRunning, LISTENER, mainServer, out, thread, threadType, tooManyServers |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ListenerThread(MainServer mainServer)
Constructor |
Method Summary | |
protected boolean |
listenerHasPort()
Tests if this listener has acquired a port. |
void |
run()
This is the thread's main routine. |
Methods inherited from class galaxy.server.ServerCreationThread |
createServer, error, error, isRunning, log, startServer, stopThread |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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 |
Constructor Detail |
public ListenerThread(MainServer mainServer)
mainServer
- the MainServer
that created this listenerMethod Detail |
protected boolean listenerHasPort()
public void run()
ServerCreationThread.stopThread
, accepting client
connections and creating servers to serve the clients.run
in class ServerCreationThread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |