public abstract class UaNode extends Object implements Node
| Modifier and Type | Field and Description |
|---|---|
protected OpcUaClient |
client |
| Constructor and Description |
|---|
UaNode(OpcUaClient client,
org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId,
org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass,
org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName,
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName,
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask) |
| Modifier and Type | Method and Description |
|---|---|
List<org.eclipse.milo.opcua.stack.core.types.structured.ReferenceDescription> |
browse()
Call the Browse service to get this
UaNode's references, using the currently
configured AddressSpace.BrowseOptions from the AddressSpace. |
List<org.eclipse.milo.opcua.stack.core.types.structured.ReferenceDescription> |
browse(AddressSpace.BrowseOptions browseOptions)
Call the Browse service to get this
UaNode's references. |
CompletableFuture<List<org.eclipse.milo.opcua.stack.core.types.structured.ReferenceDescription>> |
browseAsync()
Call the Browse service to get this
UaNode's references, using the currently
configured AddressSpace.BrowseOptions from the AddressSpace. |
CompletableFuture<List<org.eclipse.milo.opcua.stack.core.types.structured.ReferenceDescription>> |
browseAsync(AddressSpace.BrowseOptions browseOptions)
Call the Browse service to get this
UaNode's references. |
List<? extends UaNode> |
browseNodes()
Call the Browse service to get the
UaNodes referenced by this Node, using the currently
configured AddressSpace.BrowseOptions from the AddressSpace. |
List<? extends UaNode> |
browseNodes(AddressSpace.BrowseOptions browseOptions)
Call the Browse service to get the
UaNodes referenced by this Node. |
CompletableFuture<List<? extends UaNode>> |
browseNodesAsync()
Call the Browse service to get the
UaNodes referenced by this Node, using the currently
configured AddressSpace.BrowseOptions from the AddressSpace. |
CompletableFuture<List<? extends UaNode>> |
browseNodesAsync(AddressSpace.BrowseOptions browseOptions)
Call the Browse service to get the
UaNodes referenced by this Node. |
UaNode |
canonicalize()
Make this Node instance the canonical instance of the Node identified this Node's
NodeId. |
protected <T> T |
cast(Object o,
Class<T> clazz)
An implementation of cast with special handling for
UaEnumeration and
UaStructure destination types. |
protected CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId> |
findMemberNodeId(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName name,
org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId referenceTypeId,
boolean includeSubtypes) |
protected org.eclipse.milo.opcua.stack.core.types.builtin.DataValue |
getAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId) |
org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName |
getBrowseName() |
protected CompletableFuture<? extends UaNode> |
getComponentAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName,
org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass) |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getDescription() |
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
getDisplayName() |
protected CompletableFuture<UaNode> |
getMemberNodeAsync(String namespaceUri,
String name,
org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId referenceTypeId,
boolean includeSubtypes) |
org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass |
getNodeClass() |
org.eclipse.milo.opcua.stack.core.types.builtin.NodeId |
getNodeId() |
<T> CompletableFuture<T> |
getProperty(QualifiedProperty<T> property) |
protected CompletableFuture<PropertyTypeNode> |
getPropertyNodeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName) |
protected CompletableFuture<PropertyTypeNode> |
getPropertyNodeAsync(QualifiedProperty<?> property) |
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger |
getUserWriteMask() |
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger |
getWriteMask() |
UaNode |
invalidate()
Invalidate this Node's entry in the NodeCache as well as its status as the canonical Node,
if applicable
|
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue |
readAttribute(org.eclipse.milo.opcua.stack.core.AttributeId attributeId)
Read the attribute identified by an
attributeId from the server. |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> |
readAttributeAsync(org.eclipse.milo.opcua.stack.core.AttributeId attributeId)
An asynchronous implementation of
readAttribute(AttributeId). |
org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName |
readBrowseName()
Read the BrowseName attribute for this Node from the server and update the local attribute
if the operation succeeds.
|
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
readDescription()
Read the Description attribute for this Node from the server and update the local attribute
if the operation succeeds.
|
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText |
readDisplayName()
Read the DisplayName attribute for this Node from the server and update the local attribute
if the operation succeeds.
|
protected CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort> |
readNamespaceIndex(String namespaceUri) |
org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass |
readNodeClass()
Read the NodeClass attribute for this Node from the server and update the local attribute if
the operation succeeds.
|
org.eclipse.milo.opcua.stack.core.types.builtin.NodeId |
readNodeId()
Read the NodeId attribute for this Node from the server and update the local attribute if
the operation succeeds.
|
protected CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> |
readProperty(QualifiedProperty<?> property) |
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger |
readUserWriteMask()
Read the UserWriteMask attribute for this Node from the server and update the local
attribute if the operation succeeds.
|
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger |
readWriteMask()
Read the WriteMask attribute for this Node from the server and update the local attribute if
the operation succeeds.
|
List<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> |
refresh(Set<org.eclipse.milo.opcua.stack.core.AttributeId> attributeIds)
Refresh (read) the attributes identified by
attributeIds and store their values
locally. |
CompletableFuture<List<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue>> |
refreshAsync(Set<org.eclipse.milo.opcua.stack.core.AttributeId> attributeIds)
An asynchronous implementation of
refresh(Set). |
protected void |
setAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value) |
void |
setBrowseName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName) |
void |
setDescription(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description) |
void |
setDisplayName(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName) |
void |
setNodeClass(org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass) |
void |
setNodeId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId) |
protected <T> CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
setProperty(QualifiedProperty<T> property,
T value) |
void |
setUserWriteMask(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask) |
void |
setWriteMask(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask) |
List<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
synchronize(Set<org.eclipse.milo.opcua.stack.core.AttributeId> attributeIds)
Synchronize (write) the local attributes identified by
attributeIds to the server. |
CompletableFuture<List<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>> |
synchronizeAsync(Set<org.eclipse.milo.opcua.stack.core.AttributeId> attributeIds)
An asynchronous implementation of
synchronize(Set). |
org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode |
writeAttribute(org.eclipse.milo.opcua.stack.core.AttributeId attributeId,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
Write
value to the attribute identified by attributeId. |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeAttributeAsync(org.eclipse.milo.opcua.stack.core.AttributeId attributeId,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
An asynchronous implementation of
writeAttribute(AttributeId, DataValue). |
void |
writeBrowseName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName)
Write a new BrowseName attribute for this Node to the server and update the local attribute
if the operation succeeds.
|
void |
writeDescription(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description)
Write a new Description attribute for this Node to the server and update the local attribute
if the operation succeeds.
|
void |
writeDisplayName(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName)
Write a new DisplayName attribute for this Node to the server and update the local attribute
if the operation succeeds.
|
void |
writeNodeClass(org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass)
Write a new NodeClass attribute for this Node to the server and update the local attribute
if the operation succeeds.
|
void |
writeNodeId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId)
Write a new NodeId attribute for this Node to the server and update the local attribute if
the operation succeeds.
|
protected CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeProperty(QualifiedProperty<?> property,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value) |
void |
writeUserWriteMask(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask)
Write a new UserWriteMask attribute for this Node to the server and update the local
attribute if the operation succeeds.
|
void |
writeWriteMask(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask)
Write a new WriteMask attribute for this Node to the server and update the local attribute
if the operation succeeds.
|
protected final OpcUaClient client
public UaNode(OpcUaClient client, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass, org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask)
public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getNodeId()
The returned attribute is the most recently seen value; it is not read live from the server.
getNodeId in interface NodereadNodeId()public org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass getNodeClass()
The returned attribute is the most recently seen value; it is not read live from the server.
getNodeClass in interface NodereadNodeClass()public org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName getBrowseName()
The returned attribute is the most recently seen value; it is not read live from the server.
getBrowseName in interface NodereadBrowseName()public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getDisplayName()
The returned attribute is the most recently seen value; it is not read live from the server.
getDisplayName in interface NodereadDisplayName()public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getDescription()
The returned attribute is the most recently seen value; it is not read live from the server.
getDescription in interface NodereadDescription()public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getWriteMask()
The returned attribute is the most recently seen value; it is not read live from the server.
getWriteMask in interface NodereadWriteMask()public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getUserWriteMask()
The returned attribute is the most recently seen value; it is not read live from the server.
getUserWriteMask in interface NodereadUserWriteMask()public void setNodeId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId)
The attribute is only update locally; it is not written to the server.
setNodeId in interface NodewriteNodeId(NodeId)public void setNodeClass(org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass)
The attribute is only updated locally; it is not written to the server.
setNodeClass in interface NodewriteNodeClass(NodeClass)public void setBrowseName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName)
The attribute is only updated locally; it is not written to the server.
setBrowseName in interface NodewriteBrowseName(QualifiedName)public void setDisplayName(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName)
The attribute is only updated locally; it is not written to the server.
setDisplayName in interface NodewriteDisplayName(LocalizedText)public void setDescription(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description)
The attribute is only updated locally; it is not written to the server.
setDescription in interface NodewriteDescription(LocalizedText)public void setWriteMask(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask)
The attribute is only updated locally; it is not written to the server.
setWriteMask in interface NodewriteWriteMask(UInteger)public void setUserWriteMask(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask)
The attribute is only updated locally; it is not written to the server.
setUserWriteMask in interface NodewriteUserWriteMask(UInteger)public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId readNodeId()
throws org.eclipse.milo.opcua.stack.core.UaException
NodeId read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass readNodeClass()
throws org.eclipse.milo.opcua.stack.core.UaException
NodeClass read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName readBrowseName()
throws org.eclipse.milo.opcua.stack.core.UaException
QualifiedName read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readDisplayName()
throws org.eclipse.milo.opcua.stack.core.UaException
LocalizedText read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readDescription()
throws org.eclipse.milo.opcua.stack.core.UaException
LocalizedText read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readWriteMask()
throws org.eclipse.milo.opcua.stack.core.UaException
UInteger read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readUserWriteMask()
throws org.eclipse.milo.opcua.stack.core.UaException
UInteger read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeNodeId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId)
throws org.eclipse.milo.opcua.stack.core.UaException
nodeId - the NodeId to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeNodeClass(org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass)
throws org.eclipse.milo.opcua.stack.core.UaException
nodeClass - the NodeClass to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeBrowseName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName)
throws org.eclipse.milo.opcua.stack.core.UaException
browseName - the QualifiedName to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeDisplayName(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName)
throws org.eclipse.milo.opcua.stack.core.UaException
displayName - the LocalizedText to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeDescription(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description)
throws org.eclipse.milo.opcua.stack.core.UaException
description - the LocalizedText to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeWriteMask(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask)
throws org.eclipse.milo.opcua.stack.core.UaException
writeMask - the UInteger to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public void writeUserWriteMask(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask)
throws org.eclipse.milo.opcua.stack.core.UaException
userWriteMask - the UInteger to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public org.eclipse.milo.opcua.stack.core.types.builtin.DataValue readAttribute(org.eclipse.milo.opcua.stack.core.AttributeId attributeId)
throws org.eclipse.milo.opcua.stack.core.UaException
attributeId from the server.
This operation does not update the local attribute.
attributeId - the AttributeId of the attribute to read.DataValue containing the attribute value.org.eclipse.milo.opcua.stack.core.UaException - if a service-level error occurs.public org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode writeAttribute(org.eclipse.milo.opcua.stack.core.AttributeId attributeId,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
throws org.eclipse.milo.opcua.stack.core.UaException
value to the attribute identified by attributeId.
This operation does not update the local attribute.
attributeId - the AttributeId of the attribute to write.value - a DataValue containing the attribute value.StatusCode from the write operation.org.eclipse.milo.opcua.stack.core.UaException - if a service-level error occurs.public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> readAttributeAsync(org.eclipse.milo.opcua.stack.core.AttributeId attributeId)
readAttribute(AttributeId).readAttribute(AttributeId)public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAttributeAsync(org.eclipse.milo.opcua.stack.core.AttributeId attributeId, org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
writeAttribute(AttributeId, DataValue).public List<org.eclipse.milo.opcua.stack.core.types.structured.ReferenceDescription> browse() throws org.eclipse.milo.opcua.stack.core.UaException
UaNode's references, using the currently
configured AddressSpace.BrowseOptions from the AddressSpace.ReferenceDescriptions.org.eclipse.milo.opcua.stack.core.UaException - if a service-level error occurs.AddressSpace.getBrowseOptions(),
AddressSpace.modifyBrowseOptions(Consumer),
AddressSpace.setBrowseOptions(BrowseOptions)public List<org.eclipse.milo.opcua.stack.core.types.structured.ReferenceDescription> browse(AddressSpace.BrowseOptions browseOptions) throws org.eclipse.milo.opcua.stack.core.UaException
UaNode's references.browseOptions - the AddressSpace.BrowseOptions to browse with.ReferenceDescriptions.org.eclipse.milo.opcua.stack.core.UaException - if a service-level error occurs.public CompletableFuture<List<org.eclipse.milo.opcua.stack.core.types.structured.ReferenceDescription>> browseAsync()
UaNode's references, using the currently
configured AddressSpace.BrowseOptions from the AddressSpace.
This call completes asynchronously.
AddressSpace.getBrowseOptions(),
AddressSpace.modifyBrowseOptions(Consumer),
AddressSpace.setBrowseOptions(BrowseOptions)public CompletableFuture<List<org.eclipse.milo.opcua.stack.core.types.structured.ReferenceDescription>> browseAsync(AddressSpace.BrowseOptions browseOptions)
UaNode's references.
This call completes asynchronously.
browseOptions - the AddressSpace.BrowseOptions to browse with.public List<? extends UaNode> browseNodes() throws org.eclipse.milo.opcua.stack.core.UaException
UaNodes referenced by this Node, using the currently
configured AddressSpace.BrowseOptions from the AddressSpace.UaNodes referenced by this Node.org.eclipse.milo.opcua.stack.core.UaException - if a service-level error occurs.AddressSpace.getBrowseOptions(),
AddressSpace.modifyBrowseOptions(Consumer),
AddressSpace.setBrowseOptions(BrowseOptions)public List<? extends UaNode> browseNodes(AddressSpace.BrowseOptions browseOptions) throws org.eclipse.milo.opcua.stack.core.UaException
UaNodes referenced by this Node.browseOptions - the AddressSpace.BrowseOptions to browse with.UaNodes referenced by this Node.org.eclipse.milo.opcua.stack.core.UaException - if a service-level error occurs.public CompletableFuture<List<? extends UaNode>> browseNodesAsync()
UaNodes referenced by this Node, using the currently
configured AddressSpace.BrowseOptions from the AddressSpace.
This call completes asynchronously.
UaNodes
referenced by this Node or completes exceptionally if a service-level error occurs.AddressSpace.getBrowseOptions(),
AddressSpace.modifyBrowseOptions(Consumer),
AddressSpace.setBrowseOptions(BrowseOptions)public CompletableFuture<List<? extends UaNode>> browseNodesAsync(AddressSpace.BrowseOptions browseOptions)
UaNodes referenced by this Node.
This call completes asynchronously.
browseOptions - the AddressSpace.BrowseOptions to browse with.UaNodes
referenced by this Node or completes exceptionally if a service-level error occurs.public List<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> refresh(Set<org.eclipse.milo.opcua.stack.core.AttributeId> attributeIds) throws org.eclipse.milo.opcua.stack.core.UaException
attributeIds and store their values
locally.attributeIds - a Set identifying the attributes to refresh.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<List<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue>> refreshAsync(Set<org.eclipse.milo.opcua.stack.core.AttributeId> attributeIds)
refresh(Set).public List<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> synchronize(Set<org.eclipse.milo.opcua.stack.core.AttributeId> attributeIds) throws org.eclipse.milo.opcua.stack.core.UaException
attributeIds to the server.attributeIds - a Set identifying the local attributes to write.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<List<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>> synchronizeAsync(Set<org.eclipse.milo.opcua.stack.core.AttributeId> attributeIds)
synchronize(Set).public UaNode canonicalize()
NodeId.
This Node will not expire from the cache until it is explicitly invalidated and all get or create calls to the NodeCache will return this instance.
If a canonical instance already exists in the NodeCache then that instance is returned instead.
UaNode if there was not already a canonical instance in the NodeCache,
otherwise the other canonical instance from the NodeCache.public UaNode invalidate()
UaNode.protected org.eclipse.milo.opcua.stack.core.types.builtin.DataValue getAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId)
protected void setAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
protected CompletableFuture<UaNode> getMemberNodeAsync(String namespaceUri, String name, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId referenceTypeId, boolean includeSubtypes)
protected CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId> findMemberNodeId(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName name, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId referenceTypeId, boolean includeSubtypes)
protected CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort> readNamespaceIndex(String namespaceUri)
protected CompletableFuture<? extends UaNode> getComponentAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass)
protected CompletableFuture<PropertyTypeNode> getPropertyNodeAsync(QualifiedProperty<?> property)
protected CompletableFuture<PropertyTypeNode> getPropertyNodeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName)
public <T> CompletableFuture<T> getProperty(QualifiedProperty<T> property)
protected <T> CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> setProperty(QualifiedProperty<T> property, T value)
protected CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.DataValue> readProperty(QualifiedProperty<?> property)
protected CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeProperty(QualifiedProperty<?> property, org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
protected <T> T cast(Object o, Class<T> clazz)
UaEnumeration and
UaStructure destination types.
If the destination type is a UaEnumeration and the from object is an Integer, an
attempt is made to convert the Integer into the corresponding UaEnumeration type.
If the destination type is a UaStructure and the from object is an
ExtensionObject, an attempt is made to decode the ExtensionObject into an
object cast to the type of clazz.
o - the Object to cast from.clazz - the type to cast o to.o is null.Copyright © 2021. All rights reserved.