![JAR search and dependency download from the Maven repository](/logo.png)
jadex.micro.quiz.IQuizService Maven / Gradle / Ivy
The newest version!
package jadex.micro.quiz;
import jadex.future.IFuture;
import jadex.future.ISubscriptionIntermediateFuture;
import jadex.micro.quiz.model.QuizEvent;
import jadex.providedservice.annotation.Service;
/**
* Interface for a quiz service.
*/
@Service
public interface IQuizService
{
/**
* Method to participate in the quiz.
* @return The subscription for receiving quiz events.
*/
public ISubscriptionIntermediateFuture participate();
/**
* Send an answer.
* @param answer The answer.
*/
public IFuture sendAnswer(int answer, int questioncnt);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy