// Copyright 1996, Marimba Inc. All Rights Reserved.


// @(#)TimerClient.java, 1.7, 12/19/96





package marimba.util;





/**


 * A client of a timer.


 *


 * @author	Arthur van Hoff


 * @version 	1.7, 12/19/96


 */


public interface TimerClient {


    /**


     * Called when the clock ticks. This method should


     * return the time at which the clock should tick


     * next (-1 means never again). The argument is the


     * tm the tick was supposed to occur.


     */


    long tick(long tm, Object arg);


}


