diff --git a/src/main/java/fr/ntr/scheduler/RoundRobin.java b/src/main/java/fr/ntr/scheduler/RoundRobin.java index 2e806fe..163e1c0 100644 --- a/src/main/java/fr/ntr/scheduler/RoundRobin.java +++ b/src/main/java/fr/ntr/scheduler/RoundRobin.java @@ -38,8 +38,9 @@ public class RoundRobin extends Scheduler { users.remove(index); }else{ - //sub the packet send need Set packet - users.get(index).getPacketsToSend(); + //TO Verify sub the packet send need Set packet + users.get(index).getPacketsSent().add(users.get(index).getPacketsToSend().get(0)); + users.get(index).getPacketsToSend().remove(users.get(index).getPacketsToSend().get(0)); } frame[Ts][Sp].setUser(UserSelection(Ts, Sp, users));