public interface DataItem
| Modifier and Type | Method and Description |
|---|---|
Map<String,Variant> |
getAttributes() |
DataItemInformation |
getInformation() |
NotifyFuture<Variant> |
readValue()
The read operation of a data item.
|
void |
setListener(ItemListener listener)
Sets the listener for this item.
|
NotifyFuture<WriteAttributeResults> |
startSetAttributes(Map<String,Variant> attributes,
OperationParameters operationParameters)
Start the write attributes operation
|
NotifyFuture<WriteResult> |
startWriteValue(Variant value,
OperationParameters operationParameters)
The write operation of a data item.
|
DataItemInformation getInformation()
NotifyFuture<Variant> readValue() throws InvalidOperationException
InvalidOperationException - Raised if "read" is not a valid operation for this itemvoid setListener(ItemListener listener)
listener - The listener to use or null to disable notificationNotifyFuture<WriteResult> startWriteValue(Variant value, OperationParameters operationParameters)
session - The user sessionvalue - The value to write to the subsystemoperationParameters - InvalidOperationException - Raised if "write" is not a valid operation for this itemNullValueException - Raised if a null value was passed but the subsystem does not
allow null values to be writtenNotConvertableException - Raised if a value was passed that cannot be converted in a
variant type suitable for the subsystemOperationException - Raised if the value could not be written due to some
subsystem errorNotifyFuture<WriteAttributeResults> startSetAttributes(Map<String,Variant> attributes, OperationParameters operationParameters)
attributes - attributes to setsession - The user sessionoperationParameters - Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.