|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjist.swans.route.RouteAodv.RreqBufferEntry
private static class RouteAodv.RreqBufferEntry
A single entry of the RREQ Buffer.
Field Summary | |
---|---|
private NetAddress |
originIp
Net address of node that originating the RREQ message. |
private int |
rreqId
RREQ id of RREQ message sent. |
private long |
timeSent
Time (simulation time) that this entry was created. |
Constructor Summary | |
---|---|
RouteAodv.RreqBufferEntry(int rreqId,
NetAddress originIp)
Constructs a RREQ Buffer Entry object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Checks whether given RreqBufferEntry is equal to this one. |
long |
getTimeSent()
Returns timestamp for creation of this entry. |
int |
hashCode()
Returns a hash code. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int rreqId
private NetAddress originIp
private long timeSent
Constructor Detail |
---|
public RouteAodv.RreqBufferEntry(int rreqId, NetAddress originIp)
rreqId
- RREQ id of RREQ messageoriginIp
- Net address of node that originated the RREQ messageMethod Detail |
---|
public long getTimeSent()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- An object of type RreqBufferEntry
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |