|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRoutingManager
This interface defines a routing manager
| Field Summary |
|---|
| Fields inherited from interface com.sun.spot.service.IService |
|---|
PAUSED, PAUSING, RESUMING, RUNNING, STARTING, STOPPED, STOPPING |
| Method Summary | |
|---|---|
void |
deregisterEventListener(IMHEventListener listener)
Deregisters an application etc. that was registered for route events |
boolean |
findRoute(long address,
RouteEventClient eventClient,
Object uniqueKey)
This method triggers a new route request. |
RouteInfo |
getRouteInfo(long address)
this method can be called to obtain a route info for an address |
RouteTable |
getRoutingTable()
returns a copy of the routing table |
void |
initialize(long ourAddress,
ILowPan lowPanLayer)
for the initialization the routing manager must know a low pan instance to interoperate with |
boolean |
invalidateRoute(long originator,
long destination)
invalidate a route that is reported to be broken |
void |
registerEventListener(IMHEventListener listener)
Registers an application etc. that is notified when this node initiates/receives supported route events |
| Methods inherited from interface com.sun.spot.service.IService |
|---|
getEnabled, getServiceName, getStatus, isRunning, pause, resume, setEnabled, setServiceName, start, stop |
| Method Detail |
|---|
void initialize(long ourAddress,
ILowPan lowPanLayer)
ourAddress - lowPanLayer - RouteInfo getRouteInfo(long address)
address -
boolean findRoute(long address,
RouteEventClient eventClient,
Object uniqueKey)
throws NoRouteException
NoRouteExceptionRouteTable getRoutingTable()
boolean invalidateRoute(long originator,
long destination)
void registerEventListener(IMHEventListener listener)
listener - object that is notified when route events occurvoid deregisterEventListener(IMHEventListener listener)
listener - object that is notified when route events occur
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||