|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.spot.peripheral.radio.mhrp.aodv.messages.AODVMessage com.sun.spot.peripheral.radio.mhrp.aodv.messages.RERR
public class RERR
Field Summary |
---|
Fields inherited from class com.sun.spot.peripheral.radio.mhrp.aodv.messages.AODVMessage |
---|
destAddress, destSeqNum, origAddress, origSeqNum, type |
Constructor Summary | |
---|---|
RERR(byte[] newMessage)
constructs a new route error message |
|
RERR(long originator,
long destination)
constructs a new route error message |
Method Summary | |
---|---|
int |
getDestSeqNum()
get the destination sequence number of this message. |
int |
getOrigSeqNum()
get the originator sequence number. |
byte[] |
writeMessage()
writes the properties into the appropriate bytes of the buffer |
Methods inherited from class com.sun.spot.peripheral.radio.mhrp.aodv.messages.AODVMessage |
---|
getDestAddress, getOrigAddress, getType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RERR(long originator, long destination)
originator
- destination
- public RERR(byte[] newMessage)
newMessage
- Method Detail |
---|
public byte[] writeMessage()
writeMessage
in class AODVMessage
public int getOrigSeqNum()
AODVMessage
getOrigSeqNum
in class AODVMessage
public int getDestSeqNum()
AODVMessage
getDestSeqNum
in class AODVMessage
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |