// ************************************************************************ // $Id: PeriodicTimerImpl.java 561 2005-07-11 20:09:17Z mdeters $ // ************************************************************************ // // jRate // // Copyright (C) 2001-2005 by Angelo Corsaro. // // All Rights Reserved. // // Permission to use, copy, modify, and distribute this software and // its documentation for any purpose is hereby granted without fee, // provided that the above copyright notice appear in all copies and // that both that copyright notice and this permission notice appear // in supporting documentation. I don't make any representations // about the suitability of this software for any purpose. It is // provided "as is" without express or implied warranty. // // // ************************************************************************* // // ************************************************************************* package javax.realtime; /** * The interface PeriodicTimerImpl defines the protocol * supported by periodic timers implementations. Implementations of * these interface are provided by factory methods available on the * {@link javax.realtime.Clock} class. * * @author Angelo Corsaro * @version 1.0 */ interface PeriodicTimerImpl extends TimerImpl { /** * Return the interval of this Timer. * * @return a RelativeTime object which is the current * interval of this */ RelativeTime getInterval(); /** * Set the interval for this periodic timer * * @param interval a RelativeTime representing the * new interval */ void setInterval(RelativeTime interval); }