|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRoutingPolicyManager
Method Summary | |
---|---|
boolean |
bridgeBroadcasts()
return true if we pass broadcasts without decrementing hop count |
boolean |
isEndNode()
return true if we are only a route consumer |
boolean |
maySleep()
return true if we allow deepSleep |
void |
policyHasChanged(RoutingPolicy newPolicy)
Notify the policy manager that a policy has changed |
boolean |
routeAlways()
return true if this routing policy requires us not to go to sleep |
Method Detail |
---|
void policyHasChanged(RoutingPolicy newPolicy)
newPolicy
- the policy to start enforcingboolean routeAlways()
boolean isEndNode()
boolean maySleep()
boolean bridgeBroadcasts()
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |