Use JSTimerCallback
to receive callbacks after JSTimer.start()
and JSTimer.stop()
methods execute. Objects of this must be registered with the JSTimer.register()
method in order to function.
suntest.javastar.lib.JSTimerCallback
public interface JSTimerCallback
Method | Description |
---|---|
timerStarted(String, long, long) |
This method is called asynchronously after a call to JSTimer.start() .
|
timerStopped(String, long, long) |
This method is called asynchronously after a call to JSTimer.stop() .
|
public void timerStarted(String name, long timeStarted, long elapsed)
Once you register JSTimerCallback with an JSTimer.register()
, this method is called asynchronously after a call to JSTimer.start()
.
JSTimer.start()
).
JSTimer.start()
.
public void timerStopped(String name, long timeStopped, long elapsed)
Once you register JSTimerCallback with an JSTimer.register()
, this method is called asynchronously after a call to JSTimer.stop()
.
JSTimer.stop())
.
JSTimer.stop()
.
Send feedback to
JavaStar-feedback@suntest.com
Copyright © 1998
Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303.
All rights reserved.