upravy a editovani connection
parent
3b6717a580
commit
8f295251e0
|
|
@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue