com.newisys.ova
Class OVAEvent<K extends com.newisys.ova.OVAEventType>
java.lang.Object
com.newisys.eventsim.Event
com.newisys.eventsim.PulseEvent
com.newisys.ova.OVAEvent<K>
- Type Parameters:
K - the type of enumeration used by this OVAEvent
- Direct Known Subclasses:
- OVAAssertEvent, OVAEngineEvent
public abstract class OVAEvent<K extends com.newisys.ova.OVAEventType>
- extends PulseEvent
Class to help manage OVA events from Jove.
This class is not yet supported
|
Constructor Summary |
OVAEvent(K eventType)
Create an OVA Event associated with the type of event described by the
event parameter. |
OVAEvent
public OVAEvent(K eventType)
- Create an OVA Event associated with the type of event described by the
event parameter.
- Parameters:
eventType - the event type to associate with this OVAEvent
getNextEvent
public OVAEvent getNextEvent()
- Returns the event type that unblocked this thread. If more than one event
caused the thread to unblock, this method may be called multiple times,
until
null is returned.
If there are multiple calls to
DVSimulation.waitFor(Event) without intervening
calls to getNextEvent, getNextEvent will return the set of event types
corresponding to the last call to
DVSimulation.waitFor(Event).
- Returns:
- the event type that unblocked this thread or
null if there are no more events.