mam.internetworking
Class RouteRefresher

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--mam.internetworking.RouteRefresher

public class RouteRefresher
extends Thread


Field Summary
 (package private) final static intDEFAULT_SLEEP_INTERVAL
           
 (package private) booleanm_debug
           
 (package private) Nodem_localNode
           
 (package private) booleanm_quit
           
 (package private) intm_sleepInterval
           

Fields inherited from class java.lang.Thread
MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY

Constructor Summary
RouteRefresher(Node localNode)
           
RouteRefresher(Node localNode, int sleepInterval)
           

Method Summary
 (package private) intgetSleepInterval()
           
 (package private) synchronized voidrefreshRoutes()
           
 voidrun()
           
 (package private) synchronized voidsetSleepInterval(int sleepInterval)
           
 voidsignalQuit()
           
 StringtoDebugString()
           

Methods inherited from class java.lang.Thread
currentThread, yield, sleep, sleep, start, stop, stop, interrupt, interrupted, isInterrupted, destroy, isAlive, suspend, resume, setPriority, getPriority, setName, getName, getThreadGroup, activeCount, enumerate, countStackFrames, join, join, join, dumpStack, setDaemon, isDaemon, checkAccess, toString, getContextClassLoader, setContextClassLoader

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize

Field Detail

DEFAULT_SLEEP_INTERVAL

final static int DEFAULT_SLEEP_INTERVAL

m_debug

boolean m_debug

m_localNode

Node m_localNode

m_quit

boolean m_quit

m_sleepInterval

int m_sleepInterval
Constructor Detail

RouteRefresher

public RouteRefresher(Node localNode)

RouteRefresher

public RouteRefresher(Node localNode, int sleepInterval)
Method Detail

getSleepInterval

int getSleepInterval()

refreshRoutes

synchronized void refreshRoutes()

run

public void run()

setSleepInterval

synchronized void setSleepInterval(int sleepInterval)

signalQuit

public void signalQuit()

toDebugString

public String toDebugString()