|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.TimerTask
nl.pbemengine.engine.ng.base.ProcessorTask
public class ProcessorTask
TimerTask to process user commands at a set time
| Constructor Summary | |
|---|---|
ProcessorTask(Ruleset ruleset,
int game_id,
CheckerTask checkTask)
Create a new ProcessorTask for the indicated game, running on the indicated rules, associated with the given CheckerTask |
|
| Method Summary | |
|---|---|
void |
run()
|
void |
setSender(MailSender sender)
Sets the MailSender instance this task can use to send e-mail |
| Methods inherited from class java.util.TimerTask |
|---|
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessorTask(Ruleset ruleset,
int game_id,
CheckerTask checkTask)
ruleset - The rules of the game this processor handlesgame_id - The ID of the game this processor is runningcheckTask - The associated CheckerTask that fetches mail
for this game| Method Detail |
|---|
public void setSender(MailSender sender)
sender - A MailSender objectpublic void run()
run in interface java.lang.Runnablerun in class java.util.TimerTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||