public abstract class ScheduledDataItem extends DataItemInputCommon implements Runnable, SuspendableDataItem
listener
Constructor and Description |
---|
ScheduledDataItem(String name,
ScheduledExecutorService scheduler,
int period) |
Modifier and Type | Method and Description |
---|---|
void |
suspend()
Called when the listener is set from a valid listener to
null |
void |
wakeup()
Called when the listener is set from
null to a valid listener |
getAttributes, getCacheAttributes, getCacheValue, readValue, startSetAttributes, updateData
startWriteValue
getInformation, handleListenerChange, notifyData, notifyData, setListener
public ScheduledDataItem(String name, ScheduledExecutorService scheduler, int period)
public void suspend()
SuspendableDataItem
null
suspend
in interface SuspendableDataItem
public void wakeup()
SuspendableDataItem
null
to a valid listenerwakeup
in interface SuspendableDataItem
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.