abstract class PreprocessorAdapter extends ProcessorAdapter implements Preprocessor
Preprocessor.Processor<T extends Event>logger| Constructor and Description |
|---|
PreprocessorAdapter(java.lang.String name)
Create the object.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Preprocessor.Processor |
findProcessor(Event event)
Find appropriate processor for an event.
|
Event |
process(Event event)
Process or preprocess the event.
|
close, getName, startpublic PreprocessorAdapter(java.lang.String name)
name - the name of the event processorpublic Event process(Event event) throws FsmException
Preprocessorprocess in interface Preprocessorprocess in interface Processorevent - the input event, a newly generated event or NullEvent to
ignore the eventFsmException - if something failsNullEventprotected abstract Preprocessor.Processor findProcessor(Event event)
event - the eventCopyright 2013 Michal Turek, AnotherFSM.