List packet set roundRobin (to verify)

This commit is contained in:
iboyeau 2023-03-17 10:28:07 +01:00
parent b5691cb6d0
commit e90ad76510

View File

@ -38,8 +38,9 @@ public class RoundRobin extends Scheduler {
users.remove(index); users.remove(index);
}else{ }else{
//sub the packet send need Set packet //TO Verify sub the packet send need Set packet
users.get(index).getPacketsToSend(); 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)); frame[Ts][Sp].setUser(UserSelection(Ts, Sp, users));