MicroTAPAS.mobility
Class AddressMonitor

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--MicroTAPAS.mobility.AddressMonitor
All Implemented Interfaces:
java.lang.Runnable

final class AddressMonitor
extends java.lang.Thread

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

isActive

private boolean isActive

parent

private MicroPingClient parent

timer

private long timer
Constructor Detail

AddressMonitor

public AddressMonitor(MicroPingClient pParent,
                      long pTimer)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

destroy

public void destroy()
Overrides:
destroy in class java.lang.Thread

loop

public void loop()

status

public Item status()


The Telematics Architecture for Plug-and-Play Systems (TAPAS) is a research project undertaken by the Norwegian University of Science and Technology's Telematics department which aims at developing an architecture for network-based service systems with a) flexibility and adaptability, b) robustness and survivability, and c) QoS awareness and resource control.

More information can be found at the project's homepage at http://tapas.item.ntnu.no and the project manager, Professor Finn Arve Aagesen, can be reached at finn.arve.aagesen@item.ntnu.no.