IAction, DataPipe, IDataSink, IntegratorListenerpublic class DataPumpListenerPow extends DataPump implements IntegratorListener
| Modifier and Type | Field | Description |
|---|---|---|
protected long |
interval |
|
protected long |
intervals |
|
protected IData |
lastData |
|
protected int |
maxRatio |
|
protected int |
pow |
|
protected long |
stepCount |
|
protected long |
totalSteps |
dataInfo, dataSink, tagdataSource, dataSourceInfo| Constructor | Description |
|---|---|
DataPumpListenerPow(IDataSource dataSource,
IDataSink dataSink) |
|
DataPumpListenerPow(IDataSource dataSource,
IDataSink dataSink,
long interval,
int pow,
int maxRatio) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed() |
Transmits the data from the source to the sink.
|
long |
getInterval() |
|
void |
integratorInitialized(IntegratorEvent e) |
Invoked when integration begins.
|
void |
integratorStepFinished(IntegratorEvent e) |
Invoked at the end of each integrator step.
|
void |
integratorStepStarted(IntegratorEvent e) |
Invoked at the beginning of each integrator step.
|
void |
reset() |
getDataInfo, getDataSink, getTag, putData, putDataInfo, setDataSinkgetDataSource, processData, processDataInfoprotected long interval
protected long stepCount
protected long intervals
protected long totalSteps
protected int maxRatio
protected int pow
protected IData lastData
public DataPumpListenerPow(IDataSource dataSource, IDataSink dataSink)
public DataPumpListenerPow(IDataSource dataSource, IDataSink dataSink, long interval, int pow, int maxRatio)
public void integratorInitialized(IntegratorEvent e)
IntegratorListenerintegratorInitialized in interface IntegratorListenerpublic void integratorStepStarted(IntegratorEvent e)
IntegratorListenerintegratorStepStarted in interface IntegratorListenerpublic void integratorStepFinished(IntegratorEvent e)
IntegratorListenerintegratorStepFinished in interface IntegratorListenerpublic void actionPerformed()
DataPumpactionPerformed in interface IActionactionPerformed in class DataPumppublic void reset()
public long getInterval()