Interface InstructionHandler

All Known Implementing Classes:
DefaultAnswerHandler, FactsHandler, JokeHandler, StatisticHandler

public interface InstructionHandler
Interface for all Handlers of AnswerTypes
Since:
17.07.2021
Author:
Marc
  • Method Summary

    Modifier and Type
    Method
    Description
    handle​(Answer answer)
    Handles the Response for the answer
  • Method Details

    • handle

      Answer handle(Answer answer)
      Handles the Response for the answer
      Parameters:
      answer - the Answer which is being used
      Returns:
      the Response for the Server
      Since:
      17.07.2021