abstract class ProcessorAdapter extends java.lang.Object implements Processor
Modifier and Type | Field and Description |
---|---|
protected FsmLogger |
logger
The logger.
|
private java.lang.String |
name
The name of the preprocessor.
|
Constructor and Description |
---|
ProcessorAdapter(java.lang.String name)
Create the object.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Finish processing of the events and free all allocated resources.
|
java.lang.String |
getName()
Get the name of the processor.
|
void |
start()
Building of the processor is finished, prepare it to the events
processing.
|
protected final FsmLogger logger
private final java.lang.String name
public ProcessorAdapter(java.lang.String name)
name
- the name of the event processorpublic java.lang.String getName()
Processor
public void start() throws FsmException
Processor
start
in interface Processor
FsmException
Processor.close()
public void close()
Processor
Processor.close()
should be
avoided. The behavior is not defined and may cause unpredictable
behavior, e.g. NullPointerException
.close
in interface Processor
Processor.start()
Copyright 2013 Michal Turek, AnotherFSM.