gov.nasa.arc.brahms.vm.api.components
Interface IClockEvent


public interface IClockEvent

The IClockEvent is the interface for the Clock events fired when the simulated time changes. It contains the information about the old and new simulated time. The clock events are distributed to the IClockListeners.

Version:
12 September 2000
Author:
Ron van Hoof
See Also:
IClockListener

Method Summary
 long getNewTime()
          Returns the new simulated time.
 long getOldTime()
          Returns the previous simulated time before the time changed.
 

Method Detail

getOldTime

long getOldTime()
Returns the previous simulated time before the time changed.

Returns:
long the previous simulated time.

getNewTime

long getNewTime()
Returns the new simulated time.

Returns:
long the new simulated time.


Copyright © 1997-2012 All Rights Reserved.