Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
G
GameManager
- Class in
lecturequiz.server.main
GameModeInfo
- Class in
lecturequiz.server.service
GameModeInfo()
- Constructor for class lecturequiz.server.service.
GameModeInfo
gameName
- Variable in class lecturequiz.server.service.
GameModeInfo
GameStatus
- Class in
lecturequiz.server.service
Holds the status information of a game The player count is an array as it lists the number of players for all teams The first team is index 0 of the array, the next 1 and so on.
GameStatus()
- Constructor for class lecturequiz.server.service.
GameStatus
getAnswers()
- Method in class lecturequiz.server.data.
Question
Returns the answers for this question
getAvailableGameModes(Holder<List<GameModeInfo>>)
- Method in class lecturequiz.server.service.
LectureQuizService
Get a list of supported game modes on the server
getAvailableQuizzes(Holder<List<QuizInfo>>)
- Method in class lecturequiz.server.service.
LectureQuizService
Get a list of the available quizzes
getCorrectAnswer()
- Method in class lecturequiz.server.data.
Question
Returns the correct answer to this question
getCurrentGame()
- Method in class lecturequiz.server.data.
User
Returns the current game this user is connected to.
getCurrentGameStatus(Holder<GameStatus>)
- Method in class lecturequiz.server.service.
LectureQuizService
Get the status of the current game Can only be called by teacher clients.
getCurrentQuestion()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the current question in the quiz.
getCurrentQuestion(Holder<QuestionInfo>)
- Method in class lecturequiz.server.service.
LectureQuizService
Returns the current question in the quiz
getDatabaseDB()
- Method in class lecturequiz.server.main.
ConfigurationManager
getDatabaseHost()
- Method in class lecturequiz.server.main.
ConfigurationManager
getDatabasePassword()
- Method in class lecturequiz.server.main.
ConfigurationManager
getDatabaseUser()
- Method in class lecturequiz.server.main.
ConfigurationManager
getGame(String)
- Method in class lecturequiz.server.main.
GameManager
Returns a game instance corresponding to the given quiz code
getGameModeID()
- Method in interface lecturequiz.server.gamemodes.
IGameModeFactory
getGameModeID()
- Method in class lecturequiz.server.gamemodes.
PlainGameFactory
getGameModeInfo(String, Holder<GameModeInfo>)
- Method in class lecturequiz.server.service.
LectureQuizService
Returns the running game mode of the supplied quiz code
getGameModeName()
- Method in interface lecturequiz.server.gamemodes.
IGameModeFactory
getGameModeName()
- Method in class lecturequiz.server.gamemodes.
PlainGameFactory
getGameStatus()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Get the current status of this game, such as players in game, number of teams, what question we are on etc.
getID()
- Method in class lecturequiz.server.data.
Question
getId()
- Method in class lecturequiz.server.data.
Quiz
Returns the ID of the quiz
getId()
- Method in class lecturequiz.server.data.
User
Returns the ID of the user.
getId()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the game mode ID of the game mode that runs on this game.
getInstance()
- Static method in class lecturequiz.server.main.
ConfigurationManager
Get an instance of the configuration settings
getInstance()
- Static method in class lecturequiz.server.main.
DBManager
Returns an instance of a class implementing DBInterface.
getInstance()
- Static method in class lecturequiz.server.main.
GameManager
Get the GameManager instance, or create a new one if it doesn't exist
getInstance()
- Static method in class lecturequiz.server.main.
UserManager
Returns the instance of the UserManager class, or creates a new on if it doesn't exist.
getName()
- Method in class lecturequiz.server.data.
Quiz
Get the name of the quiz.
getName()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the game mode name of the game mode that runs on this game
getNickname()
- Method in class lecturequiz.server.data.
User
getNumberOfPlayers()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the number of current players that have joined this game.
getNumberOfQuestions()
- Method in class lecturequiz.server.data.
Quiz
getOverallStatistics()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the overall statistics for the entire game for all users.
getOverallStatistics(User)
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the overall statistics for the entire game for a specified user.
getOverallStatistics()
- Method in class lecturequiz.server.gamemodes.
PlainGame
Returns the overall statistics for the entire game.
getOverallStatistics(User)
- Method in class lecturequiz.server.gamemodes.
PlainGame
Returns the overall statistics for the entire game for a specified user.
getOverallStatistics(Holder<List<StatisticsEntry>>)
- Method in class lecturequiz.server.service.
LectureQuizService
Get the overall statistics from the entire game
getOwner()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Return the owner of this game
getPlayers()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the list of players in this game
getQuestion(int)
- Method in interface lecturequiz.server.main.
DBInterface
Returns all information on the question with the supplied id
getQuestion(int)
- Method in class lecturequiz.server.main.
MySQLDB
Returns all information on the question with the supplied id
getQuestion(int, Holder<FullQuestionInfo>)
- Method in class lecturequiz.server.service.
LectureQuizService
getQuestionInfo()
- Method in class lecturequiz.server.data.
Question
Build a QuestionInfo object and return it.
getQuestionList()
- Method in interface lecturequiz.server.main.
DBInterface
Returns a list of all available questions.
getQuestionList()
- Method in class lecturequiz.server.main.
MySQLDB
Returns a list of all available questions.
getQuestionList(Holder<List<FullQuestionInfo>>)
- Method in class lecturequiz.server.service.
LectureQuizService
Returns a list of all questions stored in the database.
getQuestions()
- Method in class lecturequiz.server.data.
Quiz
getQuestionStatistics()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the combined statistics for all users of this game
getQuestionStatistics(User)
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the statistics for the last question for the requested user.
getQuestionStatistics()
- Method in class lecturequiz.server.gamemodes.
PlainGame
Returns the statistics for the last question for the all the users in the quiz.
getQuestionStatistics(User)
- Method in class lecturequiz.server.gamemodes.
PlainGame
Returns the statistics for the last question for the requested user.
getQuestionStatistics(Holder<List<StatisticsEntry>>)
- Method in class lecturequiz.server.service.
LectureQuizService
Get statistics for the last question answered
getQuiz(int)
- Method in interface lecturequiz.server.main.
DBInterface
Returns the quiz with the given ID from the database
getQuiz(int)
- Method in class lecturequiz.server.main.
MySQLDB
Returns the quiz with the given ID from the database
getQuiz(int, Holder<FullQuizInfo>)
- Method in class lecturequiz.server.service.
LectureQuizService
Retrieve a full quiz with all questions and answers, used for editing Can only be called by teachers and admins
getQuizCode()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the quiz code for this game.
getQuizList()
- Method in interface lecturequiz.server.main.
DBInterface
Returns a list of all available quizzes
getQuizList()
- Method in class lecturequiz.server.main.
MySQLDB
Returns a list of all available quizzes
getRole()
- Method in class lecturequiz.server.data.
User
getServiceVersion(Holder<String>)
- Method in class lecturequiz.server.service.
LectureQuizService
Get the version of lecture quiz this server is running
getSessionTimeoutInterval()
- Method in class lecturequiz.server.main.
ConfigurationManager
getSupportedGameModes()
- Method in class lecturequiz.server.main.
GameManager
Returns a list of the supported game modes
getTimeLeft()
- Method in class lecturequiz.server.gamemodes.
AbstractGameMode
Returns the time left before the question should change.
getTimeout()
- Method in class lecturequiz.server.data.
Question
getUser(int)
- Method in interface lecturequiz.server.main.
DBInterface
Returns a user from the database with the supplied ID.
getUser(int)
- Method in class lecturequiz.server.main.
MySQLDB
Returns a user from the database with the supplied ID.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V