benedekh / WeLoveClouds

Repository for submissions on the CloudDB course.
0 stars 1 forks source link

PacketResendService cannot be used in [Concurrent]CommunicationService with resend strategy that expects for a response #156

Closed benedekh closed 7 years ago

benedekh commented 7 years ago

because the resend is integrated into the send method which is on a lower level, compared to when we know we expext for a response too. It means that in the latter case we call the CCS's send function, but in the send function we use the resend strategy again. It results in bad consequences because if the outer resender resends the request then it does not respect if a resend strategy is already going on on the lower layers. Somehow they have to be separated.