32 ackPDU(dtpState, dtcpState, seqNum);
42 bool startTrue =
false;
47 endSeqNum = startSeqNum;
50 std::vector<DTCPRxExpiryTimer*>* rxQ = dtcpState->
getRxQ();
51 std::vector<DTCPRxExpiryTimer*>::iterator it;
53 for (
unsigned int index = 0; index < rxQ->size(); )
56 unsigned int seqNum =(timer->
getPdu())->getSeqNum();
59 if ((seqNum >= startSeqNum || startTrue) && seqNum <= endSeqNum + gap)
Register_Class(SenderAckPolicyTCP)
virtual DTPDU_p & getPdu()
void ackPDU(DTPState *dtpState, DTCPState *dtcpState, unsigned int startSeqNum, unsigned int endSeqNum=0)
const QoSCube * getQoSCube() const
virtual ~SenderAckPolicyTCP()
const PDU * getCurrentPdu() const
void updateSndLWE(unsigned int seqNum)
std::vector< DTCPRxExpiryTimer * > * getRxQ()
void deleteRxTimer(unsigned int seqNum)
void setClosedWindow(bool closedWindow)
virtual bool run(DTPState *dtpState, DTCPState *dtcpState)
int getMaxAllowGap() const
Gets Maximum Allowable Gap in SDUs parameter.