public void send(Message mess) {
   mess.getSource().incrementerNbMessSend();
   if (mess.getSource().getMomentAvaiableToSend() > mess.getDate()) {
     mess.setDate(mess.getSource().getMomentAvaiableToSend());
   }
   mess.getSource()
       .setMomentAvaiableToSend(
           mess.getDate() + mess.getTaille() / mess.getSource().getCapacCarte());
   getSequencer().addMessToBuffer(mess);
 }
 public void sendMulticast(
     Machine source, List<Machine> destinations, double taille, double date) {
   source.incrementerNbMessSend();
   Message mess = new Message(source, destinations, TypeMessage.MULTICAST, taille, date);
   // Kiem tra may co ranh de cho gui hay khong
   if (source.getMomentAvaiableToSend() > mess.getDate()) { // ko ranh
     mess.setDate(source.getMomentAvaiableToSend());
   }
   source.setMomentAvaiableToSend(mess.getDate() + mess.getTaille() / source.getCapacCarte());
   getSequencer().addMessToBuffer(mess);
 }