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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface jist.swans.route.RouteInterface
RouteInterface.Aodv, RouteInterface.Dsr, RouteInterface.Zrp
 
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.
 
Methods inherited from interface jist.swans.route.RouteInterface
peek, send
 
Methods inherited from interface jist.swans.net.NetInterface.NetHandler
receive
 
Methods inherited from interface jist.swans.misc.Protocol
start
 

Method Detail

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 send
destMacAddr - next hop mac address