public abstract class DataItemOutputChained extends DataItemBaseChained implements SuspendableDataItem
chain, executor, primaryAttributes, secondaryAttributeslistener| Constructor and Description |
|---|
DataItemOutputChained(DataItemInformation dataItemInformation,
Executor executor) |
DataItemOutputChained(String id,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
process() |
protected org.eclipse.scada.core.Variant |
process(org.eclipse.scada.core.Variant value) |
org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.core.Variant> |
readValue()
The read operation of a data item.
|
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 |
protected abstract void |
writeCalculatedValue(org.eclipse.scada.core.Variant value) |
void |
writeValue(org.eclipse.scada.core.Variant value) |
addChainElement, addChainElement, getAttributes, getChainCopy, handleUnhandledAttributes, processSetAttributes, removeChainElement, setChain, startSetAttributesgetCacheAttributes, getCacheValue, getInformation, handleListenerChange, notifyData, notifyData, setListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartWriteValuepublic DataItemOutputChained(DataItemInformation dataItemInformation, Executor executor)
public org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.core.Variant> readValue()
throws org.eclipse.scada.core.InvalidOperationException
DataItempublic void writeValue(org.eclipse.scada.core.Variant value)
throws org.eclipse.scada.core.InvalidOperationException,
org.eclipse.scada.core.NullValueException,
org.eclipse.scada.core.NotConvertableException
org.eclipse.scada.core.InvalidOperationExceptionorg.eclipse.scada.core.NullValueExceptionorg.eclipse.scada.core.NotConvertableExceptionprotected void process()
process in class DataItemBaseChainedprotected org.eclipse.scada.core.Variant process(org.eclipse.scada.core.Variant value)
public void suspend()
SuspendableDataItemnullsuspend in interface SuspendableDataItempublic void wakeup()
SuspendableDataItemnull to a valid listenerwakeup in interface SuspendableDataItemprotected abstract void writeCalculatedValue(org.eclipse.scada.core.Variant value)
throws org.eclipse.scada.core.NullValueException,
org.eclipse.scada.core.NotConvertableException
org.eclipse.scada.core.NullValueExceptionorg.eclipse.scada.core.NotConvertableException