Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.1.12
-
None
-
Novice
Description
In the RetransmissionQueueImpl, cacheUnacknowledged() method, line 350, the resend candidate is created with constructor directly:
candidate = new ResendCandidate(message);
I see there is a method createResendCandidate, which can be extended, but its used only for tests. As I need custom logic in the resend candidate, but I want to reuse the rest of the functionality, it would be good if this method is used instead of the constructor directly.