upravy a editovani connection

main
Michal 2025-02-24 20:04:32 +01:00
parent 3b6717a580
commit 8f295251e0
2 changed files with 9 additions and 0 deletions

View File

@ -125,6 +125,10 @@ public class Message implements Serializable {
// S->C: server posila klientu trafic informaci
public static final int TRAFFIC = 119;
// C->S: klient posila upravene spoení
// S->C: server posila upravene spojeni
public static final int CONNECTION_UPDATE = 120;

View File

@ -52,6 +52,11 @@ public class Connection implements Serializable {
this.tx = 0;
}
public Connection() {
this.rx = 0;
this.tx = 0;
}
public int getId() {
return id;
}