SunSPOT API V5.0


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


public interface IMHEventListener

Interface implemented by classes that want to receive notifications when the node initiates a routing event

Version:
0.1
Author:
Pete St. Pierre

Method Summary
 void RERRReceived(long originator, long destination)
          Method called when a RERR is received
 void RERRSent(long originator, long destination)
          Method called when a RERR is sent
 void RREPReceived(long originator, long destination, int hopCount)
          Method called when a RREP is received
 void RREPSent(long originator, long destination, int hopCount)
          Method called when a RREP is sent
 void RREQReceived(long originator, long destination, int hopCount)
          Method called when a RREQ is received
 void RREQSent(long originator, long destination, int hopCount)
          Method called when a RREQ is sent
 

Method Detail

RREQSent

void RREQSent(long originator,
              long destination,
              int hopCount)
Method called when a RREQ is sent

Parameters:
originator - Route Request originator
destination - Route Request destination/target
hopCount - number of hops to the destination

RREPSent

void RREPSent(long originator,
              long destination,
              int hopCount)
Method called when a RREP is sent

Parameters:
originator - Route Request originator
destination - Route Request destination/target
hopCount - number of hops to the destination

RERRSent

void RERRSent(long originator,
              long destination)
Method called when a RERR is sent

Parameters:
originator - Route Request originator
destination - Route Request destination/target

RREQReceived

void RREQReceived(long originator,
                  long destination,
                  int hopCount)
Method called when a RREQ is received

Parameters:
originator - Route Request originator
destination - Route Request destination/target
hopCount - number of hops to the destination

RREPReceived

void RREPReceived(long originator,
                  long destination,
                  int hopCount)
Method called when a RREP is received

Parameters:
originator - Route Request originator
destination - Route Request destination/target
hopCount - number of hops to the destination

RERRReceived

void RERRReceived(long originator,
                  long destination)
Method called when a RERR is received

Parameters:
originator - Route Request originator
destination - Route Request destination/target

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.