|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--GestoreNomi.DemonLive
Questo Thread deve comunicare con il successore, monitorando che non ci siano problemi. Se si verifica un problema ci sono due casi: 1) il successivo è caduto, ma un altro slave successivo ha già sistemato la situazione prendendo il suo posto 2) il successivo è caduto ed era l'ultimo della catena: occorre segnalare l'accaduto al Gestore nomi che far partire l'attesa di un nuovo slave.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
DemonLive(GestoreNomi g,
java.net.DatagramSocket d)
|
|
| Method Summary | |
void |
run()
|
| 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 |
| Constructor Detail |
public DemonLive(GestoreNomi g,
java.net.DatagramSocket d)
| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||