|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventProcessor
Basic interface that test runner code needs to implement in order to be processed by the Benchmark Server framework.
result of event processing
does not have to contain any further events. However, it is better to publish a 'finished' event
as it allows more flexibility in wiring test scenarios together.
start -> doA -> doB -> doB.done
It is possible to remap doB.done above back into doA and thereby create an
test that never ends, for example.
data the input event must
the event contain), likely actions and the possible output e.g.
| Method Summary | |
|---|---|
long |
getWarnDelay()
Provide a hint for the processing framework on how much time should elapse before the warnings need to be issued over the delay |
EventResult |
processEvent(Event event)
Process an event. |
| Method Detail |
|---|
long getWarnDelay()
EventResult processEvent(Event event)
throws Exception
event - the event (along with associated data)
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||