/** Add the ACK to hashtable.sender.sent_msgs */
private void handleAckReceived(Address sender, long seqno) {
Entry entry;
AckSenderWindow win;
if(log.isTraceEnabled())
log.trace(new StringBuilder().append(local_addr).append(" <-- ACK(").append(sender).
append(": #").append(seqno).append(')'));
synchronized(connections) {
entry=connections.get(sender);
}
if(entry == null || entry.sent_msgs == null)
return;
win=entry.sent_msgs;
win.ack(seqno); // removes message from retransmission
num_acks_received++;
}