Interface Client

All Known Implementing Classes:
ConsoleClient

public interface Client
The Client interface represents a client application.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes a script located at the specified path.
    void
    Exits the client.
    void
    Displays help information for the user.
    void
    Displays the history of commands executed by the user.
  • Method Details

    • help

      void help()
      Displays help information for the user.
    • exit

      void exit()
      Exits the client.
    • history

      void history()
      Displays the history of commands executed by the user.
    • executeScript

      void executeScript(String path) throws CustomIOException
      Executes a script located at the specified path.
      Parameters:
      path - the path to the script to execute
      Throws:
      CustomIOException - if there is an input/output error while executing the script