Schnittstelle ServerSender

Alle bekannten Implementierungsklassen:
ServerConnectionMockup

public interface ServerSender
Interface for sending messages to a client.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    send(int id, ServerMessage message)
    Send the specified message to the client.
  • Methodendetails

    • send

      void send(int id, ServerMessage message)
      Send the specified message to the client.
      Parameter:
      id - the id of the client that shall receive the message
      message - the message