Package jadex.micro.quiz
Interface IQuizService
- All Known Implementing Classes:
QuizMasterAgent
public interface IQuizService
Interface for a quiz service.
-
Method Summary
Modifier and TypeMethodDescriptionjadex.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
Send an answer.- Parameters:
answer
- The answer.
-