com.newisys.eventsim
Class PulseEvent

java.lang.Object
  extended by com.newisys.eventsim.Event
      extended by com.newisys.eventsim.PulseEvent
Direct Known Subclasses:
OVAEvent

public class PulseEvent
extends Event

An Event that does not retain its state as on or off.


Constructor Summary
PulseEvent()
          Create a new PulseEvent.
PulseEvent(String name)
          Create a new PulseEvent with the specified name.
 
Method Summary
 boolean hasOccurred()
          Returns whether or not this PulseEvent has occurred.
 
Methods inherited from class com.newisys.eventsim.Event
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PulseEvent

public PulseEvent()
Create a new PulseEvent.


PulseEvent

public PulseEvent(String name)
Create a new PulseEvent with the specified name.

Parameters:
name - the name of this PulseEvent
Method Detail

hasOccurred

public boolean hasOccurred()
Returns whether or not this PulseEvent has occurred. PulseEvents do not retain on/off state and thus always return false.

Specified by:
hasOccurred in class Event
Returns:
false