SunSPOT API V3.0


com.sun.spot.peripheral.radio.mhrp.interfaces
Interface IRoutingManager


Deprecated. Use IRoutingManager

public interface IRoutingManager

This interface defines a routing manager

Version:
0.1
Author:
Allen Ajit George

Method Summary
 void deregisterEventListener(IMHEventListener listener)
          Deprecated. Deregisters an application etc. that was registered for route events
 boolean findRoute(long address, RouteEventClient eventClient, Object uniqueKey)
          Deprecated. this method triggers a new route request
 RouteInfo getRouteInfo(long address)
          Deprecated. this method can be called to obtain a route info for an address
 void initialize(long ourAddress, ILowPan lowPanLayer)
          Deprecated. for the initialization the routing manager must know a low pan instance to interoperate with
 boolean invalidateRoute(long originator, long destination)
          Deprecated. invalidate a route that is reported to be broken
 void registerEventListener(IMHEventListener listener)
          Deprecated. Registers an application etc. that is notified when this node initiates/receives supported route events
 

Method Detail

initialize

void initialize(long ourAddress,
                ILowPan lowPanLayer)
Deprecated. 
for the initialization the routing manager must know a low pan instance to interoperate with

Parameters:
ourAddress -
lowPanLayer -

getRouteInfo

RouteInfo getRouteInfo(long address)
Deprecated. 
this method can be called to obtain a route info for an address

Parameters:
address -

findRoute

boolean findRoute(long address,
                  RouteEventClient eventClient,
                  Object uniqueKey)
Deprecated. 
this method triggers a new route request


invalidateRoute

boolean invalidateRoute(long originator,
                        long destination)
Deprecated. 
invalidate a route that is reported to be broken


registerEventListener

void registerEventListener(IMHEventListener listener)
Deprecated. 
Registers an application etc. that is notified when this node initiates/receives supported route events

Parameters:
listener - object that is notified when route events occur

deregisterEventListener

void deregisterEventListener(IMHEventListener listener)
Deprecated. 
Deregisters an application etc. that was registered for route events

Parameters:
listener - object that is notified when route events occur

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.