}
private final IUniqueObject messageReadyReceived(Connection conn,
MessageReadyToReceive obj) {
IUniqueObject reply = null;
Encaps sended = sendingObject.get(new SendingKey(obj.getId(), conn));
if (sended == null) {
System.out.println("impossible d'envoyer " + obj.getId());
}
if (sended.isFinish()) {
reply = sended.getEndChunk();
sendingObject.remove(new SendingKey(obj.getId(), conn));
System.gc();
} else {
reply = sended.getNextChunk();
}