All Known Implementing Classes:
Client, ClientHandler, GameManager

public interface CommandSender
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close listening socket and/or thread.
    void
    Send command.
  • Method Details

    • sendCommand

      void sendCommand(String command)
      Send command.
      Parameters:
      command - String represented command.
    • close

      void close() throws Exception
      Close listening socket and/or thread.
      Throws:
      Exception - on closing