added new server state chart

This commit is contained in:
Daniel Grigencha
2024-11-25 16:35:27 +01:00
parent 9759b6871b
commit 321909387d
21 changed files with 350 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package pp.mdga.message.server;
import pp.mdga.message.server.ServerMessage;
/**
* Interface for sending messages to a client.
*/
public interface ServerSender {
/**
* Send the specified message to the client.
*
* @param id the id of the client that shall receive the message
* @param message the message
*/
void send(int id, ServerMessage message);
}