Interface IQuizService

All Known Implementing Classes:
QuizMasterAgent

public interface IQuizService
Interface for a quiz service.
  • Method Summary

    Modifier and Type
    Method
    Description
    jadex.future.ISubscriptionIntermediateFuture<QuizEvent>
    Method to participate in the quiz.
    jadex.future.IFuture<Void>
    sendAnswer(int answer, int questioncnt)
    Send an answer.
  • Method Details

    • participate

      jadex.future.ISubscriptionIntermediateFuture<QuizEvent> participate()
      Method to participate in the quiz.
      Returns:
      The subscription for receiving quiz events.
    • sendAnswer

      jadex.future.IFuture<Void> sendAnswer(int answer, int questioncnt)
      Send an answer.
      Parameters:
      answer - The answer.