public class DataItemCommand extends DataItemOutput
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataItemCommand.Listener
The listener interface
|
listener| Constructor and Description |
|---|
DataItemCommand(java.lang.String id,
java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(DataItemCommand.Listener listener)
Add a new listener which gets called on write requests
|
java.util.Map<java.lang.String,Variant> |
getAttributes() |
void |
processWrite(Variant value) |
void |
removeListener(DataItemCommand.Listener listener)
Remove a listener from the list
|
|
startSetAttributes(java.util.Map<java.lang.String,Variant> attributes,
OperationParameters operationParameters)
Start the write attributes operation
|
|
startWriteValue(Variant value,
OperationParameters operationParameters)
The write operation of a data item.
|
readValuegetCacheAttributes, getCacheValue, getInformation, handleListenerChange, notifyData, notifyData, setListenerpublic DataItemCommand(java.lang.String id,
java.util.concurrent.Executor executor)
publicstartWriteValue(Variant value, OperationParameters operationParameters)
DataItemvalue - The value to write to the subsystempublic void processWrite(Variant value)
throws InvalidOperationException
InvalidOperationExceptionpublic void addListener(DataItemCommand.Listener listener)
listener - listener to addpublic void removeListener(DataItemCommand.Listener listener)
listener - listener to removepublic java.util.Map<java.lang.String,Variant> getAttributes()
publicstartSetAttributes(java.util.Map<java.lang.String,Variant> attributes, OperationParameters operationParameters)
DataItemattributes - attributes to set
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