public interface ServerNode extends Node
| Modifier and Type | Method and Description |
|---|---|
void |
addReference(Reference reference)
Add a
Reference to this node. |
default void |
addReferences(Collection<Reference> c)
Add
References to this node. |
DataValue |
getAttribute(AttributeContext context,
AttributeId attributeId)
Get an attribute of this node, taking the
AttributeContext into account and respecting any
AttributeDelegate this node may have. |
com.google.common.collect.ImmutableList<Reference> |
getReferences() |
default DataValue |
readAttribute(AttributeContext context,
AttributeId attributeId,
TimestampsToReturn timestamps,
String indexRange,
QualifiedName dataEncoding)
Read the specified attribute, applying
timestamps and indexRange if specified. |
default DataValue |
readAttribute(AttributeContext context,
UInteger attribute)
Read the specified attribute.
|
default DataValue |
readAttribute(AttributeContext context,
UInteger attribute,
TimestampsToReturn timestamps,
String indexRange,
QualifiedName dataEncoding)
Read the specified attribute.
|
void |
removeReference(Reference reference)
Remove a
Reference from this node. |
default void |
removeReferences(Collection<Reference> c)
Remove
References from this node. |
void |
setAttribute(AttributeContext context,
AttributeId attributeId,
DataValue value)
Set an attribute of this node, taking the
AttributeContext into account and respecting any
AttributeDelegate this node may have. |
default void |
writeAttribute(AttributeContext context,
AttributeId attributeId,
DataValue value,
String indexRange)
Write to the specified attribute.
|
default void |
writeAttribute(AttributeContext context,
UInteger attribute,
DataValue value,
String indexRange)
Write to the specified attribute.
|
getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMaskvoid addReference(Reference reference)
Reference to this node.reference - the Reference to add.default void addReferences(Collection<Reference> c)
References to this node.c - the References to add.void removeReference(Reference reference)
Reference from this node.reference - to remove.default void removeReferences(Collection<Reference> c)
References from this node.c - the References to remove.com.google.common.collect.ImmutableList<Reference> getReferences()
References.default DataValue readAttribute(AttributeContext context, UInteger attribute)
If the attribute is not specified on this node, a value with status StatusCodes.Bad_AttributeIdInvalid
will be returned.
attribute - the id of the attribute to read.default DataValue readAttribute(AttributeContext context, UInteger attribute, @Nullable TimestampsToReturn timestamps, @Nullable String indexRange, @Nullable QualifiedName dataEncoding)
If the attribute is not specified on this node, a value with status StatusCodes.Bad_AttributeIdInvalid
will be returned.
attribute - the id of the attribute to read.timestamps - the TimestampsToReturn.indexRange - the index range to read. Must be a parseable by NumericRange.dataEncoding - the requested data encoding.default DataValue readAttribute(AttributeContext context, AttributeId attributeId, @Nullable TimestampsToReturn timestamps, @Nullable String indexRange, @Nullable QualifiedName dataEncoding)
timestamps and indexRange if specified.
If the attribute is not specified on this node, a value with status StatusCodes.Bad_AttributeIdInvalid
will be returned.
attributeId - the id of the attribute to read.timestamps - the TimestampsToReturn.indexRange - the index range to read. Must be a parseable by NumericRange.dataEncoding - the requested data encoding.default void writeAttribute(AttributeContext context, UInteger attribute, DataValue value, String indexRange) throws UaException
context - the NamespaceManager.attribute - the id of the attribute to write.value - the DataValue write.indexRange - the index range to write. Must be a parseable by NumericRange.UaException - if writing to the attribute fails.default void writeAttribute(AttributeContext context, AttributeId attributeId, DataValue value, String indexRange) throws UaException
context - the NamespaceManager.attributeId - the AttributeId of the attribute to write.value - the DataValue write.indexRange - the index range to write. Must be a parseable by NumericRange.UaException - if writing to the attribute fails.DataValue getAttribute(AttributeContext context, AttributeId attributeId)
AttributeContext into account and respecting any
AttributeDelegate this node may have.context - the AttributeContext to get the attribute in.attributeId - the AttributeId to get.DataValue containing the attribute value or a StatusCode describing any failure.void setAttribute(AttributeContext context, AttributeId attributeId, DataValue value) throws UaException
AttributeContext into account and respecting any
AttributeDelegate this node may have.context - the AttributeContext to set the attribute in.attributeId - the AttributeId to set.value - the new DataValue to set for the attribute.UaException - if setting the attribute failed for any reason.Copyright © 2018. All rights reserved.