Serialio.modem
Class Timer

java.lang.Object
  extended byjava.lang.Thread
      extended bySerialio.modem.Timer
All Implemented Interfaces:
java.lang.Runnable

public class Timer
extends java.lang.Thread

Timer class.

  • Copyright (c) 1998-2003 Restock.com, All Rights Reserved.


    Field Summary
     
    Fields inherited from class java.lang.Thread
    MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
     
    Constructor Summary
    Timer(long tickTime, TimerTick t)
               
     
    Method Summary
     void abort()
               
     long getInterval()
               
     long getTicks()
               
     void run()
               
     void setInterval(int i)
               
     void setRepeats(boolean s)
               
     
    Methods inherited from class java.lang.Thread
    activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Constructor Detail

    Timer

    public Timer(long tickTime,
                 TimerTick t)
    Method Detail

    run

    public void run()

    abort

    public void abort()

    setRepeats

    public void setRepeats(boolean s)

    setInterval

    public void setInterval(int i)

    getInterval

    public long getInterval()

    getTicks

    public long getTicks()