This commit is contained in:
Tr1xt4n 2023-03-03 11:10:21 +01:00
parent b0242e670e
commit a54c2660e9
2 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,16 @@
package fr.ntr;
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;
}
}