SunSPOT API V5.0


com.sun.spot.peripheral.radio
Interface IDataEventListener


public interface IDataEventListener

Applications that implement this interface are notified when their physical node is used to forward mesh packets

Version:
0.1
Author:
Allen Ajit George

Method Summary
 void notifyForward(long lastHop, long nextHop, long originator, long destination)
          Method that is called when data is forwarded through this physical node
 

Method Detail

notifyForward

void notifyForward(long lastHop,
                   long nextHop,
                   long originator,
                   long destination)
Method that is called when data is forwarded through this physical node

Parameters:
lastHop - previous node on the multi hop path from which the packet was received
nextHop - next node on the multi hop path to which the packet is sent
originator - original sender of the packet
destination - final destination of the packet

SunSPOT API V5.0


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