public class WriteHandlerItem extends DataItemInputOutputChained
primaryValue, secondaryValue
chain, executor, primaryAttributes, secondaryAttributes
listener
Constructor and Description |
---|
WriteHandlerItem(DataItemInformation di,
WriteHandler writeHandler,
Executor executor) |
WriteHandlerItem(String itemId,
WriteHandler writeHandler,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
void |
setWriteHandler(WriteHandler writeHandler)
Change the write handler
|
protected NotifyFuture<WriteResult> |
startWriteCalculatedValue(Variant value,
OperationParameters operationParameters) |
startWriteValue
getCacheAttributes, getCacheValue, process, readValue, updateData
addChainElement, addChainElement, getAttributes, getChainCopy, handleUnhandledAttributes, processSetAttributes, removeChainElement, setChain, startSetAttributes
getInformation, handleListenerChange, notifyData, notifyData, setListener
public WriteHandlerItem(DataItemInformation di, WriteHandler writeHandler, Executor executor)
public WriteHandlerItem(String itemId, WriteHandler writeHandler, Executor executor)
public void setWriteHandler(WriteHandler writeHandler)
The write handler will not be called for the last written value only for the next one.
writeHandler
- the new write handlerprotected NotifyFuture<WriteResult> startWriteCalculatedValue(Variant value, OperationParameters operationParameters)
startWriteCalculatedValue
in class DataItemInputOutputChained
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.