public abstract class DataItemOutputChained extends DataItemBaseChained implements SuspendableDataItem
chain, executor, primaryAttributes, secondaryAttributeslistener| Constructor and Description |
|---|
DataItemOutputChained(DataItemInformation dataItemInformation,
java.util.concurrent.Executor executor) |
DataItemOutputChained(java.lang.String id,
java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
process() |
protected Variant |
process(Variant value) |
|
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, startSetAttributesgetCacheAttributes, getCacheValue, getInformation, handleListenerChange, notifyData, notifyData, setListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartWriteValuepublic DataItemOutputChained(DataItemInformation dataItemInformation, java.util.concurrent.Executor executor)
public DataItemOutputChained(java.lang.String id,
java.util.concurrent.Executor executor)
publicreadValue() throws InvalidOperationException
DataItempublic void writeValue(Variant value)
throws InvalidOperationException,
NullValueException,
NotConvertableException
InvalidOperationExceptionNullValueExceptionNotConvertableExceptionprotected void process()
process in class DataItemBaseChainedprotected Variant process(Variant value)
public void suspend()
SuspendableDataItemnullsuspend in interface SuspendableDataItempublic void wakeup()
SuspendableDataItemnull to a valid listenerwakeup in interface SuspendableDataItemprotected abstract void writeCalculatedValue(Variant value)
throws NullValueException,
NotConvertableException
NullValueExceptionNotConvertableException
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0