java.lang.Object
model.logic.server.MyTimerTask
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMyTimerTask(TimerTask timerTask) The MyTimerTask function is a constructor for the MyTimerTask class. -
Method Summary
Modifier and TypeMethodDescriptionThe getTimerTask function returns the timerTask variable.
-
Constructor Details
-
MyTimerTask
The MyTimerTask function is a constructor for the MyTimerTask class. It takes in a TimerTask object and assigns it to the timerTask variable.- Parameters:
timerTask- timerTask Create a new timerTask object
-
-
Method Details
-
getTimerTask
The getTimerTask function returns the timerTask variable.- Returns:
- The timerTask object
-