T - the type of the accessorpublic abstract class AbstractAccessorVariable<T> extends ScalarVariable
Accessors for
accessing the datablock, index, item, offset| Constructor and Description |
|---|
AbstractAccessorVariable(String name,
int index,
ByteOrder order,
Executor executor,
ManageableObjectPool<DataItem> itemPool,
org.eclipse.scada.da.server.common.memory.accessor.Accessor<T> accessor,
Attribute... attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected Variant |
extractValue(org.apache.mina.core.buffer.IoBuffer data,
Map<String,Variant> attributes) |
protected abstract T |
getValue(Variant value) |
protected NotifyFuture<WriteResult> |
handleWrite(Variant value) |
handleAttributes, handleData, handleDisconnect, handleError, handleFailure, makeGlobalIndexValue, start, stop, toAddressprotected NotifyFuture<WriteResult> handleWrite(Variant value)
handleWrite in class ScalarVariableprotected Variant extractValue(org.apache.mina.core.buffer.IoBuffer data, Map<String,Variant> attributes)
extractValue in class ScalarVariable