This repository has been archived on 2023-08-28. You can view files and clone it, but cannot push or open issues or pull requests.
ntr-interferences/src/main/java/fr/ntr/Packets.java

17 lines
480 B
Java
Raw Normal View History

2023-03-03 10:38:35 +01:00
package fr.ntr;
public class Packets {
2023-03-03 11:10:21 +01:00
static final int packetSize = 100;
private int creationTime;
private int endTimeSending;
private double bitsNumberRemaining;
2023-03-10 10:50:46 +01:00
private User user;
2023-03-03 11:10:21 +01:00
2023-03-10 10:50:46 +01:00
public Packets(int creationTime, int endTimeSending, double bitsNumberRemaining, User user){
2023-03-03 11:10:21 +01:00
this.creationTime = creationTime;
this.endTimeSending = endTimeSending;
this.bitsNumberRemaining = bitsNumberRemaining;
this.user = user;
}
2023-03-03 10:38:35 +01:00
}