javadoc
This commit is contained in:
@@ -75,20 +75,6 @@ public class ServerConnectionHandler extends ConnectionHandler implements Runnab
|
||||
this.connectionRegistry = registry;
|
||||
}
|
||||
|
||||
/** //TODO needed method?
|
||||
* @return the username of the connected client
|
||||
*/
|
||||
public String getUserName() {
|
||||
return this.userName;
|
||||
}
|
||||
|
||||
/** //TODO needed method?
|
||||
* @return state of the connection. Possible states are see {@link ch.zhaw.pm2.multichat.protocol.ConnectionHandler.State}
|
||||
*/
|
||||
public State getState() {
|
||||
return state;
|
||||
}
|
||||
|
||||
/**
|
||||
* These methods runs in a while-loop as long as the socket between server and client is available
|
||||
* and the connection State is not ERROR.
|
||||
|
||||
Reference in New Issue
Block a user