Merge branch 'master' of https://gitlab.istic.univ-rennes1.fr/18008147/ntr.git
This commit is contained in:
commit
436fd8ec82
@ -1,4 +1,16 @@
|
|||||||
package fr.ntr;
|
package fr.ntr;
|
||||||
|
|
||||||
public class Packets {
|
public class Packets {
|
||||||
|
static final int packetSize = 100;
|
||||||
|
private int creationTime;
|
||||||
|
private int endTimeSending;
|
||||||
|
private double bitsNumberRemaining;
|
||||||
|
private User user;
|
||||||
|
|
||||||
|
public Packets(int creationTime, int endTimeSending, double bitsNumberRemaining, User user){
|
||||||
|
this.creationTime = creationTime;
|
||||||
|
this.endTimeSending = endTimeSending;
|
||||||
|
this.bitsNumberRemaining = bitsNumberRemaining;
|
||||||
|
this.user = user;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user