Fix packets sent
This commit is contained in:
parent
9914fd4e82
commit
e627cf7397
@ -24,9 +24,9 @@ public abstract class Scheduler {
|
|||||||
}else {
|
}else {
|
||||||
p.setDurationSending(ticks);
|
p.setDurationSending(ticks);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
userMax.getPacketsSent().add(p);
|
userMax.getPacketsSent().add(p);
|
||||||
userMax.getPacketsToSend().remove(p);
|
userMax.getPacketsToSend().remove(p);
|
||||||
|
}
|
||||||
frame[ts][sp].setUser(userMax);
|
frame[ts][sp].setUser(userMax);
|
||||||
frame[ts][sp].setBandwidth(userMax.getBandwidthTable()[ts][sp]);
|
frame[ts][sp].setBandwidth(userMax.getBandwidthTable()[ts][sp]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user