private void expectAck(PEQMessage msg) { // Add the ACK info to the ACK Table and create a timer event to kill // the neighbor entry upon ACK failure. PEQTableEntryMessageAck ackEntry = new PEQTableEntryMessageAck(msg._SequenceNumber, msg._DestinationID, msg); _tableAck.Add(ackEntry); PEQTimerAck ackTimer = new PEQTimerAck(_eventManager.CurrentClock + _physicalProcessor.MaximumRange * _TIMER_ACK / _physicalProcessor.PropagationSpeed, this, ackEntry); _eventManager.AddEvent(ackTimer); }
public PEQTimerAck(double time, INode node, PEQTableEntryMessageAck AckInfo) { this.Time = time; this.node = node; _AckInfo = AckInfo; }