37.5 Loss Recovery Objects

In the last section, we described the agent behavior when it receives a message. Timers are used to control when any particular control message is to be sent. The SRM agent uses a separate SRM../ns-2/srm.tcl to do the timer based processing. In this section, we describe the basics if the class SRM, and the loss recovery objects. The following section will describe how the class SRM is used for sending periodic session messages. An SRM agent will instantiate one object to recover from one lost data packet. Agents that detect the loss will instantiate an object in the SRM/request../ns-2/srm.tcl; agents that receive a request and have the required data will instantiate an object in the SRM/repair../ns-2/srm.tcl.


Tom Henderson 2011-11-05