This commit is contained in:
iboyeau 2023-03-03 11:11:05 +01:00
commit 436fd8ec82
2 changed files with 12 additions and 0 deletions

View File

@ -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;
}
} }