org.salespointframework.core.events
Class TimerEvent
java.lang.Object
java.util.EventObject
org.salespointframework.core.events.TimerEvent
- All Implemented Interfaces:
- java.io.Serializable
public class TimerEvent
- extends java.util.EventObject
An event to be fired by implementations of the Timer
interface.
- Since:
- v2.0
- Version:
- 2.0 11/06/1999
- Author:
- Stephan Gambke
- See Also:
- Serialized Form
Field Summary |
private java.lang.Object |
m_oTime
The time to be reported. |
private java.lang.Object |
m_oTimeStamp
The time stamp assigned at creation time. |
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.Object |
getTime()
|
java.lang.Object |
getTimeStamp()
Return the time stamp for this event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_oTime
private java.lang.Object m_oTime
- The time to be reported.
m_oTimeStamp
private java.lang.Object m_oTimeStamp
- The time stamp assigned at creation time.
TimerEvent
public TimerEvent(Timer tSource)
- Create a new TimerEvent
- Parameters:
tSource
- the source of this event
getTime
public java.lang.Object getTime()
- Returns:
- an Object representing the time this event occured
getTimeStamp
public java.lang.Object getTimeStamp()
- Return the time stamp for this event.
Thus, two TimerEvents can always be ordered according to their time of creation.