Merge remote-tracking branch 'origin/development' into development
This commit is contained in:
@@ -21,4 +21,11 @@ public interface ServerSender {
|
|||||||
* @param message as the message which will be sent to all players as a ServerMessage.
|
* @param message as the message which will be sent to all players as a ServerMessage.
|
||||||
*/
|
*/
|
||||||
void broadcast(ServerMessage message);
|
void broadcast(ServerMessage message);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method will be used to disconnect the client depending on the given id parameter.
|
||||||
|
*
|
||||||
|
* @param id as the connection id of the client as an Integer.
|
||||||
|
*/
|
||||||
|
void disconnectClient(int id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user