closedSeqs.add(seq);
} else {
try {
source.getHandler().getProxy().lastMessage(seq);
} catch (IOException ex) {
Message msg = new Message("LAST_MESSAGE_SEND_EXC", LOG, seq);
LOG.log(Level.WARNING, msg.toString(), ex);
}
}
}
if (closedSeqs.size() > 0) {
try {
source.getHandler().getProxy().requestAcknowledgment(seqs);
} catch (IOException ex) {
Message msg = new Message("ACK_REQUESTED_SEND_EXC", LOG);
LOG.log(Level.WARNING, msg.toString(), ex);
}
}
}