Updated 'ServerSener' interface.

Updated the 'ServerSender' interface by adding the 'shutdown' method to it.
This commit is contained in:
Daniel Grigencha
2024-12-02 23:14:29 +01:00
parent 516848a67e
commit a1d10521ac

View File

@@ -28,4 +28,9 @@ public interface ServerSender {
* @param id as the connection id of the client as an Integer. * @param id as the connection id of the client as an Integer.
*/ */
void disconnectClient(int id); void disconnectClient(int id);
/**
* This method will be used to shut down the server.
*/
void shutdown();
} }