|
SunSPOT API V6.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRoutingPolicyManager
| Field Summary |
|---|
| Fields inherited from interface com.sun.spot.service.IService |
|---|
PAUSED, PAUSING, READY, RESUMING, RUNNING, STARTING, STOPPED, STOPPING |
| 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 |
| Methods inherited from interface com.sun.spot.service.IService |
|---|
getEnabled, getServiceName, getStatus, isRunning, pause, resume, setEnabled, setServiceName, start, stop |
| Methods inherited from interface com.sun.spot.resources.IResource |
|---|
addTag, getTags, getTagValue, hasTag, removeTag |
| Method Detail |
|---|
void policyHasChanged(RoutingPolicy newPolicy)
newPolicy - the policy to start enforcingboolean routeAlways()
boolean isEndNode()
boolean maySleep()
boolean bridgeBroadcasts()
|
SunSPOT API V6.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||