17 lines
480 B
Java
17 lines
480 B
Java
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;
|
|
}
|
|
}
|