urv.olsr.core
Class OLSRThread

java.lang.Object
  extended by java.lang.Thread
      extended by urv.olsr.core.OLSRThread
All Implemented Interfaces:
java.lang.Runnable

public class OLSRThread
extends java.lang.Thread

This class is used to execute the OLSR tasks periodically

Author:
Gerard Paris Aixala

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static int HELLO_MESSAGE_VALIDITY_TIME
           
static int TC_MESSAGE_VALIDITY_TIME
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
OLSRThread(OLSRMessageSender sender, NeighborTable neighborTable, MprComputationController mprComputationController, RoutingTableComputationController routingTableComputationController, MprSelectorSet mprSelectorSet, OLSRPacketFactory olsrPacketFactory, TopologyInformationBaseTable topologyTable, DuplicateTable duplicateTable, TopologyInformationSender controllerUpper, MulticastNetworkGraphComputationController multicastNetworkGraphComputationController, MulticastGroupsTable multicastGroupsTable, OLSRNode localNode)
           
 
Method Summary
 void run()
           
 void setExtraTCMessage(boolean value)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

TC_MESSAGE_VALIDITY_TIME

public static final int TC_MESSAGE_VALIDITY_TIME
See Also:
Constant Field Values

HELLO_MESSAGE_VALIDITY_TIME

public static final int HELLO_MESSAGE_VALIDITY_TIME
See Also:
Constant Field Values
Constructor Detail

OLSRThread

public OLSRThread(OLSRMessageSender sender,
                  NeighborTable neighborTable,
                  MprComputationController mprComputationController,
                  RoutingTableComputationController routingTableComputationController,
                  MprSelectorSet mprSelectorSet,
                  OLSRPacketFactory olsrPacketFactory,
                  TopologyInformationBaseTable topologyTable,
                  DuplicateTable duplicateTable,
                  TopologyInformationSender controllerUpper,
                  MulticastNetworkGraphComputationController multicastNetworkGraphComputationController,
                  MulticastGroupsTable multicastGroupsTable,
                  OLSRNode localNode)
Method Detail

run

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

setExtraTCMessage

public void setExtraTCMessage(boolean value)