    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface w3c.tools.timers.EventHandler

public interface EventHandler

##

handleTimerEvent(Object, long)
  Handle an timer event.

##

handleTimerEvent

     public abstract void handleTimerEvent(Object data,
                                           long time)

  Handle an timer event. Data is the rock the register wanted passed to the handleEvent routine, and time is the time the event was scheduled to be delivered. The handler can compare that time to the current time, if it wants, to see whether or not it's falling behind.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index