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
Datas. |
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
Datas. |
getPredecessor, initialize, setPredecessorgetName, initLogger, toString@S4ComponentList(type=Configurable.class, beTolerant=true) public static final java.lang.String PROP_DATA_LISTENERS
public void newProperties(PropertySheet ps) throws PropertyException
ConfigurablenewProperties in interface ConfigurablenewProperties in class ConfigurableAdapterps - 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 DataProcessorgetData in class BaseDataProcessornull if none is availableDataProcessingException - if there is a data processing errorpublic void addDataListener(DataListener l)
DataProducerDatas.addDataListener in interface DataProducerl - listener to addpublic void removeDataListener(DataListener l)
DataProducerDatas.removeDataListener in interface DataProducerl - listener to remove