|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--MicroTAPAS.mobility.AddressMonitor
Simple class that runs a thread that checks if the terminal has moved (i.e received a new (ip-)address).
| Field Summary | |
private boolean |
isActive
|
private MicroPingClient |
parent
|
private long |
timer
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
AddressMonitor(MicroPingClient pParent,
long pTimer)
|
|
| Method Summary | |
void |
destroy()
|
void |
loop()
|
void |
run()
|
Item |
status()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, 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 |
private boolean isActive
private MicroPingClient parent
private long timer
| Constructor Detail |
public AddressMonitor(MicroPingClient pParent,
long pTimer)
| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void destroy()
destroy in class java.lang.Threadpublic void loop()
public Item status()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||