|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILQRPEventListener
Interface implemented by classes that want to receive notifications when the node initiates a routing event
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,
long lastHop,
int hopCount,
double routeCost)
Method called when a RREP is received |
void |
RREPSent(long originator,
long destination,
int hopCount,
double routeCost)
Method called when a RREP is sent |
void |
RREQReceived(long originator,
long destination,
long lastHop,
int hopCount,
double routeCost)
Method called when a RREQ is received |
void |
RREQSent(long originator,
long destination,
int hopCount,
double routeCost)
Method called when a RREQ is sent |
Method Detail |
---|
void RREQSent(long originator, long destination, int hopCount, double routeCost)
originator
- Route Request originatordestination
- Route Request destination/targethopCount
- number of hops to the destinationrouteCost
- cost to the destinationvoid RREPSent(long originator, long destination, int hopCount, double routeCost)
originator
- Route Request originatordestination
- Route Request destination/targethopCount
- number of hops to the destinationrouteCost
- cost to the destinationvoid RERRSent(long originator, long destination)
originator
- Route Request originatordestination
- Route Request destination/targetvoid RREQReceived(long originator, long destination, long lastHop, int hopCount, double routeCost)
originator
- Route Request originatordestination
- Route Request destination/targethopCount
- number of hops to the destinationrouteCost
- cost to the destinationvoid RREPReceived(long originator, long destination, long lastHop, int hopCount, double routeCost)
originator
- Route Request originatordestination
- Route Request destination/targethopCount
- number of hops to the destinationrouteCost
- cost to the destinationvoid RERRReceived(long originator, long destination)
originator
- Route Request originatordestination
- Route Request destination/target
|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |