jist.swans.route
Interface RouteInterface.Aodv
- All Superinterfaces:
- JistAPI.Proxiable, JistAPI.Timeless, NetInterface.NetHandler, Protocol, RouteInterface
- All Known Implementing Classes:
- RouteAodv
- Enclosing interface:
- RouteInterface
public static interface RouteInterface.Aodv
- extends RouteInterface, Protocol
AODV routing entity interface.
Method Summary |
void |
RREQtimeout(java.lang.Object rreqObj)
This event is called periodically after a route request is originated, until
a route has been found. |
void |
sendIpMsg(NetMessage.Ip ipMsg,
MacAddress destMacAddr)
Sends IP message after transmission delay, and renews precursor list entry. |
void |
timeout()
AODV Timeout event, which gets called periodically. |
timeout
void timeout()
- AODV Timeout event, which gets called periodically.
Clears expired RREQ buffer entries.
Sends hello messages.
Updates wait counters, and checks for idle outgoing-nodes
RREQtimeout
void RREQtimeout(java.lang.Object rreqObj)
- This event is called periodically after a route request is originated, until
a route has been found.
Each time it is called, it rebroadcasts the route request message with a new
rreq id and incremented TTL.
- Parameters:
rreqObj
- RouteRequest object
sendIpMsg
void sendIpMsg(NetMessage.Ip ipMsg,
MacAddress destMacAddr)
- Sends IP message after transmission delay, and renews precursor list entry.
- Parameters:
ipMsg
- IP message to senddestMacAddr
- next hop mac address