An EventStreamPlayer is used by Event based Patterns.
The EventStreamPlayer holds a stream which returns a series of Events, and a protoEvent. At each call to next, it copies the protoEvent, passes that to the stream, and calls play on the Event returned.
For more on EventStreamPlayer see Understanding Streams, Patterns and Events - Part 4
EventStreamPlayer uses the same control methods and status notifications as Task.
(optional) Override the clock assigned in Task.new.
If true, the task will start over from the beginning. Default is false (task will resume where it was when it was last stopped).
See the Quant helpfile.
Restart the task from the beginning.
Resume the task where it left off.
Stop playing now.
Stop playing now. (Pause and stop have the same implementation.)
Set the stream to restart from the beginning the next time it's played.