added new server state chart
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user