JACK 5.4 Application Interface

aos.util.timer
Interface Timer

All Known Implementing Classes:
BaseClock, DilatedClock, RTClock, SimClock

public interface Timer

This is the definition of a timer within JACK.


Method Summary
 long adjustTime(long t)
           
 boolean cancel(TimerHandle h)
           
 long getNextWhen()
           
 long getTime()
           
 TimerHandle schedule(TimerClient c, long t, java.lang.Object o)
           
 TimerHandle schedule(TimerClient c, long t, java.lang.Object o, TimerHandle h)
           
 TimerHandle scheduleAt(TimerClient c, long t, java.lang.Object o)
           
 TimerHandle scheduleAt(TimerClient c, long t, java.lang.Object o, TimerHandle h)
           
 void setTime(long t)
           
 

Method Detail

schedule

public TimerHandle schedule(TimerClient c,
                            long t,
                            java.lang.Object o,
                            TimerHandle h)

schedule

public TimerHandle schedule(TimerClient c,
                            long t,
                            java.lang.Object o)

scheduleAt

public TimerHandle scheduleAt(TimerClient c,
                              long t,
                              java.lang.Object o)

scheduleAt

public TimerHandle scheduleAt(TimerClient c,
                              long t,
                              java.lang.Object o,
                              TimerHandle h)

getNextWhen

public long getNextWhen()

cancel

public boolean cancel(TimerHandle h)

getTime

public long getTime()

setTime

public void setTime(long t)

adjustTime

public long adjustTime(long t)

JACK 5.4 Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088