Package pp.battleship.game.server
Schnittstelle ServerSender
- Alle bekannten Implementierungsklassen:
ServerConnectionMockup
public interface ServerSender
Interface for sending messages to a client.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidsend(int id, ServerMessage message) Send the specified message to the client.
-
Methodendetails
-
send
Send the specified message to the client.- Parameter:
id- the id of the client that shall receive the messagemessage- the message
-