public abstract class DataItemOutputChained extends DataItemBaseChained implements SuspendableDataItem
chain, executor, primaryAttributes, secondaryAttributes
listener
Constructor and Description |
---|
DataItemOutputChained(DataItemInformation dataItemInformation,
Executor executor) |
DataItemOutputChained(String id,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
protected void |
process() |
protected Variant |
process(Variant value) |
NotifyFuture<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(Variant value) |
void |
writeValue(Variant value) |
addChainElement, addChainElement, getAttributes, getChainCopy, handleUnhandledAttributes, processSetAttributes, removeChainElement, setChain, startSetAttributes
getCacheAttributes, getCacheValue, getInformation, handleListenerChange, notifyData, notifyData, setListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
startWriteValue
public DataItemOutputChained(DataItemInformation dataItemInformation, Executor executor)
public NotifyFuture<Variant> readValue() throws InvalidOperationException
DataItem
readValue
in interface DataItem
InvalidOperationException
- Raised if "read" is not a valid operation for this itempublic void writeValue(Variant value) throws InvalidOperationException, NullValueException, NotConvertableException
protected void process()
process
in class DataItemBaseChained
public void suspend()
SuspendableDataItem
null
suspend
in interface SuspendableDataItem
public void wakeup()
SuspendableDataItem
null
to a valid listenerwakeup
in interface SuspendableDataItem
protected abstract void writeCalculatedValue(Variant value) throws NullValueException, NotConvertableException
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.