net.sourceforge.pain
Class PulsePeriodListener

java.lang.Object
  extended bynet.sourceforge.pain.PulsePeriodListener
All Implemented Interfaces:
PulseListener
Direct Known Subclasses:
AbstractConsoleManager, GuiToolSessionManager

public abstract class PulsePeriodListener
extends java.lang.Object
implements PulseListener

Date: Jan 16, 2003 Time: 4:52:06 AM


Field Summary
static int PERIOD_IN_PULSE
           
static int PERIOD_IN_SECONDS
           
 
Constructor Summary
PulsePeriodListener(int period, int periodType)
           
 
Method Summary
protected abstract  void onPeriod(int time)
           
 void pulse(int time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERIOD_IN_PULSE

public static final int PERIOD_IN_PULSE
See Also:
Constant Field Values

PERIOD_IN_SECONDS

public static final int PERIOD_IN_SECONDS
See Also:
Constant Field Values
Constructor Detail

PulsePeriodListener

public PulsePeriodListener(int period,
                           int periodType)
Method Detail

pulse

public void pulse(int time)
           throws java.lang.Exception
Specified by:
pulse in interface PulseListener
Throws:
java.lang.Exception

onPeriod

protected abstract void onPeriod(int time)
                          throws java.lang.Exception
Throws:
java.lang.Exception