Object -
streams
:
StateMachine
StateMachine which performs stream pattern processing.
Methods
Processes the nicoming streamEvents array.
Parameters
- streamEvents StreamEvent[]
-
list of stream events
Injects a given StreamEvent
to the StateMachine
.
Parameters
- streamEvent StreamEvent
-
event to be injected
Removes all the matchihng states from the StateMachine
.
Parameters
- streamEvent StreamEvent
-
event to be removed
Register a processor to the StateMachine
.
Parameters
- processor AbstractPatternProcessor
-
processor to register