jmsltestsuite
Class EventExample

java.lang.Object
  extended by jmsltestsuite.EventExample
All Implemented Interfaces:
ScheduledEvent

public class EventExample
extends java.lang.Object
implements ScheduledEvent


Constructor Summary
EventExample(double playTime, java.lang.String msg)
           
 
Method Summary
 double getPlayTime()
           
static void main(java.lang.String[] args)
           
 void play()
          Called by EventScheduler to cause event to happen.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventExample

public EventExample(double playTime,
                    java.lang.String msg)
Method Detail

getPlayTime

public double getPlayTime()
Specified by:
getPlayTime in interface ScheduledEvent
Returns:
time that the event should occur.

play

public void play()
Description copied from interface: ScheduledEvent
Called by EventScheduler to cause event to happen.

Specified by:
play in interface ScheduledEvent

main

public static void main(java.lang.String[] args)