SunSPOT API V5.0


com.sun.spot.peripheral.radio.mhrp.lqrp.routing
Class RoutingNeighbor

java.lang.Object
  extended by java.lang.Thread
      extended by com.sun.spot.peripheral.radio.mhrp.lqrp.routing.RoutingNeighbor
All Implemented Interfaces:
Runnable

public class RoutingNeighbor
extends Thread

Version:
1.0
Author:
Pete St. Pierre

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RoutingNeighbor(ILowPan lp, long address)
          Constructs a new routing table advertiser
 
Method Summary
 void run()
          Periodically broadcast a new route advertisement (RREP) to keep our route active in neighbors.
 void stopThread()
           
 
Methods inherited from class java.lang.Thread
activeCount, currentThread, getName, getPriority, interrupt, isAlive, join, setPriority, sleep, start, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoutingNeighbor

public RoutingNeighbor(ILowPan lp,
                       long address)
Constructs a new routing table advertiser

Method Detail

run

public void run()
Periodically broadcast a new route advertisement (RREP) to keep our route active in neighbors.

Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Thread.start(), Runnable.run()

stopThread

public void stopThread()

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.