Jeospace API

org.jeospace.simulation
Interface ChronAlarm


public interface ChronAlarm

Requirements for an alarm mechanism to send events at the expirations of virtual time periods.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton

Method Summary
 void addChronAlarmListener(ChronAlarmListener listener)
          Add a listener to the ChronAlarm.
 void cancel()
          Cancel the alarm
 void checkCondition()
          Check the chronometer to determine if an alarm condition has been met.
 void removeChronAlarmListener(ChronAlarmListener listener)
          Remove a listener from the ChronAlarm.
 

Method Detail

cancel

public void cancel()
Cancel the alarm


checkCondition

public void checkCondition()
Check the chronometer to determine if an alarm condition has been met.


addChronAlarmListener

public void addChronAlarmListener(ChronAlarmListener listener)
Add a listener to the ChronAlarm.

Parameters:
listener - the listener to add

removeChronAlarmListener

public void removeChronAlarmListener(ChronAlarmListener listener)
Remove a listener from the ChronAlarm.

Parameters:
listener - the listener to remove

Jeospace API

Copyright © 2006 - jeospace.org