mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
c19f66a6a4
- Heartbeat messages are sent out from their own thread to each player - If a heartbeat message can't be sent to a player, they are removed from the list of players - Added equals method for players Tags: #story[1047]
18 lines
422 B
Java
18 lines
422 B
Java
package seng302.gameServer;
|
|
|
|
import seng302.models.Player;
|
|
|
|
public interface ClientConnectionDelegate {
|
|
/**
|
|
* A player has connected to the server
|
|
* @param player The player that has connected
|
|
*/
|
|
void clientConnected(Player player);
|
|
|
|
/**
|
|
* A player has disconnected from the server
|
|
* @param player The player that has disconnected
|
|
*/
|
|
void clientDisconnected(Player player);
|
|
}
|