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 java.util.Map<ProxySubConnectionId,ProxySubConnection> |
subConnections |
currentConnection, prefix, proxyItemId, separator| Constructor and Description |
|---|
ProxyWriteHandlerImpl(java.lang.String separator,
ProxyPrefixName prefix,
java.util.Map<ProxySubConnectionId,ProxySubConnection> subConnections,
ProxySubConnectionId currentConnection,
java.lang.String proxyItemId) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(java.lang.String itemId,
Variant value,
OperationParameters operationParameters)
Write a value to the currently active connection
|
void |
writeAttributes(java.lang.String itemId,
java.util.Map<java.lang.String,Variant> attributes,
WriteAttributeResults writeAttributeResults,
OperationParameters operationParameters)
Write attributes to the currently active connection
|
getItemId, switchToprotected final java.util.Map<ProxySubConnectionId,ProxySubConnection> subConnections
public ProxyWriteHandlerImpl(java.lang.String separator,
ProxyPrefixName prefix,
java.util.Map<ProxySubConnectionId,ProxySubConnection> subConnections,
ProxySubConnectionId currentConnection,
java.lang.String proxyItemId)
public void write(java.lang.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(java.lang.String itemId,
java.util.Map<java.lang.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 implementor
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