IDataSink
DataAccCorrectedPusher
, DataAccDiffCorrectedPusher
, DataAccDifficultyPusher
, DataAccSamplesPusher
public class DataAccPusher extends java.lang.Object implements IDataSink
Modifier and Type | Field | Description |
---|---|---|
protected DataCollector |
collector |
|
protected int |
idx |
Constructor | Description |
---|---|
DataAccPusher(int idx,
DataCollector collector) |
Modifier and Type | Method | Description |
---|---|---|
void |
putData(IData data) |
Gives data to DataSink for processing, display, or whatever it does.
|
void |
putDataInfo(IDataInfo dataInfo) |
Informs the DataSink of the type of Data it should expect to receive.
|
protected final int idx
protected final DataCollector collector
public DataAccPusher(int idx, DataCollector collector)
public void putData(IData data)
IDataSink
public void putDataInfo(IDataInfo dataInfo)
IDataSink
putDataInfo
in interface IDataSink