|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRouteEventListener
Interface implemented by classes that want to receive notifications when the node initiates a routing event
Method Summary | |
---|---|
void |
routeRequestMade(long destination)
Method that is called whenever the node initiates a route request |
void |
routeResponseReceived(long destination,
int hopCount,
boolean success)
Method that is called whenever the node receives a response to a route request sent out |
Method Detail |
---|
void routeRequestMade(long destination)
destination
- final destination for which a route needs to be foundvoid routeResponseReceived(long destination, int hopCount, boolean success)
destination
- final destination for which a route needs to be foundhopCount
- number of hops to the destinationsuccess
- indicates whether a path was found (true indicates success,
false indicates failure)
|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |