ITimerCallback.java 284 B

12345678910111213141516
  1. package traffic.light;
  2. /**
  3. * Interface for state machines which use timed event triggers.
  4. */
  5. public interface ITimerCallback {
  6. /**
  7. * Callback method if a time event occurred.
  8. *
  9. * @param eventID
  10. * :The id of the occurred event.
  11. */
  12. public void timeElapsed(int eventID);
  13. }