public class FrontEndSplitter extends BaseDataProcessor implements DataProducer
FrameDecoder
,
DataBufferProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_DATA_LISTENERS |
logger
Constructor and Description |
---|
FrontEndSplitter() |
Modifier and Type | Method and Description |
---|---|
void |
addDataListener(DataListener l)
Registers a new listener for
Data s. |
Data |
getData()
Reads and returns the next Data frame or return
null if no data is available. |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured.
|
void |
removeDataListener(DataListener l)
Unregisters a listener for
Data s. |
getPredecessor, initialize, setPredecessor
getName, initLogger, toString
@S4ComponentList(type=Configurable.class, beTolerant=true) public static final java.lang.String PROP_DATA_LISTENERS
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
newProperties
in class ConfigurableAdapter
ps
- a property sheet holding the new dataPropertyException
- if there is a problem with the properties.public Data getData() throws DataProcessingException
null
if no data is available.getData
in interface DataProcessor
getData
in class BaseDataProcessor
null
if none is availableDataProcessingException
- if there is a data processing errorpublic void addDataListener(DataListener l)
DataProducer
Data
s.addDataListener
in interface DataProducer
l
- listener to addpublic void removeDataListener(DataListener l)
DataProducer
Data
s.removeDataListener
in interface DataProducer
l
- listener to remove