add method to ask SendPacketHandler if any retransmissions queued

This commit is contained in:
Marten Seemann
2016-05-13 12:56:58 +07:00
parent 16cb525dc4
commit f8dc78967a
4 changed files with 21 additions and 1 deletions

View File

@@ -27,6 +27,10 @@ func (h *mockSentPacketHandler) DequeuePacketForRetransmission() (packet *ackhan
return nil
}
func (h *mockSentPacketHandler) HasPacketForRetransmission() bool {
return false
}
func (h *mockSentPacketHandler) BytesInFlight() protocol.ByteCount {
return 0
}