class EventHandler < Object
Is recording enabled?
|trace:Queue<Event>||Events, if recording or replay is enabled. This is typically not the events received, but rather a minimal set of ValueEvent objects used to store values for replay. New events are pushed to the back of the queue, replayed events are popped from the front of the queue.|
|setMode||Set the play/replay mode.|
|setRecord||Set the record flag.|
|handle||Handle a sequence of events.|
|handle||Handle a single event.|
|rewind||Rewind, in order to replay recorded events.|
Member Function Details
Handle a single event.
- evt: The event.
Returns: Any necessary log-weight adjustment.
Rewind, in order to replay recorded events.
Set the play/replay mode. Valid modes are:
Set the record flag.