ITimerCallback.java 661 B

12345678910111213141516171819202122232425
  1. /** Copyright (c) 2012-2015 committers of YAKINDU and others.
  2. All rights reserved. This program and the accompanying materials
  3. are made available under the terms of the Eclipse Public License v1.0
  4. which accompanies this distribution, and is available at
  5. http://www.eclipse.org/legal/epl-v10.html
  6. Contributors:
  7. committers of YAKINDU - initial API and implementation
  8. � */
  9. package traffic.light;
  10. /**
  11. * Interface for state machines which use timed event triggers.
  12. */
  13. public interface ITimerCallback {
  14. /**
  15. * Callback method if a time event occurred.
  16. *
  17. * @param eventID
  18. * :The id of the occurred event.
  19. */
  20. public void timeElapsed(int eventID);
  21. }