Class MyTimerTask

java.lang.Object
model.logic.server.MyTimerTask
All Implemented Interfaces:
Serializable

public class MyTimerTask extends Object implements Serializable
See Also:
  • Constructor Details

    • MyTimerTask

      public MyTimerTask(TimerTask timerTask)
      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

      public TimerTask getTimerTask()
      The getTimerTask function returns the timerTask variable.
      Returns:
      The timerTask object