Added connection speed information per user (milliseconds the ping needs). Some minor changes to server console.

This commit is contained in:
LevelX2 2014-08-31 17:46:14 +02:00
parent 1285df5da3
commit b98c16f061
20 changed files with 166 additions and 54 deletions

View file

@ -40,11 +40,13 @@ public class UsersView implements Serializable {
private final String userName;
private final String infoState;
private final String infoGames;
private final String infoPing;
public UsersView(String userName, String infoState, String infoGames) {
public UsersView(String userName, String infoState, String infoGames, String infoPing) {
this.userName = userName;
this.infoState = infoState;
this.infoGames = infoGames;
this.infoPing = infoPing;
}
public String getUserName() {
@ -59,4 +61,8 @@ public class UsersView implements Serializable {
return infoGames;
}
public String getInfoPing() {
return infoPing;
}
}