public class ProxyWriteHandlerImpl extends ProxyItemSupport implements ProxyWriteHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyWriteHandlerImpl.AttributeResultHandler |
static class |
ProxyWriteHandlerImpl.ValueResultHandler |
| Modifier and Type | Field and Description |
|---|---|
protected Map<ProxySubConnectionId,ProxySubConnection> |
subConnections |
currentConnection, prefix, proxyItemId, separator| Constructor and Description |
|---|
ProxyWriteHandlerImpl(String separator,
ProxyPrefixName prefix,
Map<ProxySubConnectionId,ProxySubConnection> subConnections,
ProxySubConnectionId currentConnection,
String proxyItemId) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(String itemId,
Variant value,
OperationParameters operationParameters)
Write a value to the currently active connection
|
void |
writeAttributes(String itemId,
Map<String,Variant> attributes,
WriteAttributeResults writeAttributeResults,
OperationParameters operationParameters)
Write attributes to the currently active connection
|
getItemId, switchToprotected final Map<ProxySubConnectionId,ProxySubConnection> subConnections
public ProxyWriteHandlerImpl(String separator, ProxyPrefixName prefix, Map<ProxySubConnectionId,ProxySubConnection> subConnections, ProxySubConnectionId currentConnection, String proxyItemId)
public void write(String itemId, Variant value, OperationParameters operationParameters) throws NoConnectionException, OperationException
ProxyWriteHandlerwrite in interface ProxyWriteHandleritemId - the item id of the local proxy item to write tovalue - the value to write toNoConnectionExceptionOperationExceptionpublic void writeAttributes(String itemId, Map<String,Variant> attributes, WriteAttributeResults writeAttributeResults, OperationParameters operationParameters)
ProxyWriteHandlerwriteAttributes in interface ProxyWriteHandleritemId - the item id of the local proxy item to write toattributes - the attributes to writewriteAttributeResults - the result set that must be filled by the implementorCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.