Timer Classes: JSTimerCallback


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.

Class

Syntax

Methods

suntest.javastar.lib.JSTimerCallback Methods

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().

timerStarted(String, long, long)

Syntax

Description

Once you register JSTimerCallback with an JSTimer.register(), this method is called asynchronously after a call to JSTimer.start().

Parameters

timerStopped(String, long, long)

Syntax

Description

Once you register JSTimerCallback with an JSTimer.register(), this method is called asynchronously after a call to JSTimer.stop().

Parameters




Send feedback to JavaStar-feedback@suntest.com
Copyright © 1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303. All rights reserved.