Class PubSubDiagnosticsTypeNode
- All Implemented Interfaces:
BaseObjectType,PubSubDiagnosticsType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- Direct Known Subclasses:
PubSubDiagnosticsConnectionTypeNode,PubSubDiagnosticsDataSetReaderTypeNode,PubSubDiagnosticsDataSetWriterTypeNode,PubSubDiagnosticsReaderGroupTypeNode,PubSubDiagnosticsRootTypeNode,PubSubDiagnosticsWriterGroupTypeNode
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPubSubDiagnosticsTypeNode(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, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier) -
Method Summary
Modifier and TypeMethodDescriptionGet the CountersBaseObjectTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseObjectTypeNode>Asynchronous implementation ofPubSubDiagnosticsType.getCountersNode().org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevelGet the local value of the DiagnosticsLevel Node.Get the DiagnosticsLevelBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofPubSubDiagnosticsType.getDiagnosticsLevelNode().Get the LiveValuesBaseObjectTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseObjectTypeNode>Asynchronous implementation ofPubSubDiagnosticsType.getLiveValuesNode().Get the local value of the SubError Node.Get the SubErrorBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofPubSubDiagnosticsType.getSubErrorNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerGet the local value of the TotalError Node.Get the TotalErrorPubSubDiagnosticsCounterTypeNode, ornullif it does not exist.Asynchronous implementation ofPubSubDiagnosticsType.getTotalErrorNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerGet the local value of the TotalInformation Node.Get the TotalInformationPubSubDiagnosticsCounterTypeNode, ornullif it does not exist.Asynchronous implementation ofPubSubDiagnosticsType.getTotalInformationNode().org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevelRead the value of the DiagnosticsLevel Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel>An asynchronous implementation ofPubSubDiagnosticsType.readDiagnosticsLevel().Read the value of the SubError Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean>An asynchronous implementation ofPubSubDiagnosticsType.readSubError().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerRead the value of the TotalError Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger>An asynchronous implementation ofPubSubDiagnosticsType.readTotalError().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerRead the value of the TotalInformation Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger>An asynchronous implementation ofPubSubDiagnosticsType.readTotalInformation().voidsetDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel value) Set the local value of the DiagnosticsLevel Node.voidsetSubError(Boolean value) Set the local value of the SubError Node.voidsetTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Set the local value of the TotalError Node.voidsetTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Set the local value of the TotalInformation Node.voidwriteDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel value) Write a new value for the DiagnosticsLevel Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDiagnosticsLevelAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel diagnosticsLevel) An asynchronous implementation ofPubSubDiagnosticsType.writeDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel).voidwriteSubError(Boolean value) Write a new value for the SubError Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeSubErrorAsync(Boolean subError) An asynchronous implementation ofPubSubDiagnosticsType.writeSubError(java.lang.Boolean).voidwriteTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Write a new value for the TotalError Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeTotalErrorAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger totalError) An asynchronous implementation ofPubSubDiagnosticsType.writeTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).voidwriteTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Write a new value for the TotalInformation Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeTotalInformationAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger totalInformation) An asynchronous implementation ofPubSubDiagnosticsType.writeTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).Methods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaObjectNode
callMethod, callMethod, callMethodAsync, callMethodAsync, getAttributeValue, getEventNotifier, getIconAsync, getMethod, getMethod, getMethodAsync, getMethodAsync, getNamingRuleAsync, getNodeVersionAsync, getObjectComponent, getObjectComponent, getObjectComponent, getObjectComponentAsync, getObjectComponentAsync, getObjectComponentAsync, getTypeDefinition, getTypeDefinitionAsync, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readEventNotifier, setAttributeValue, setEventNotifier, setIconAsync, setNamingRuleAsync, setNodeVersionAsync, writeEventNotifierMethods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaNode
browse, browse, browseAsync, browseAsync, browseNodes, browseNodes, browseNodesAsync, browseNodesAsync, canonicalize, cast, findMemberNodeId, getAccessRestrictions, getBrowseName, getComponentAsync, getDescription, getDisplayName, getMemberNodeAsync, getNodeClass, getNodeId, getProperty, getPropertyNodeAsync, getPropertyNodeAsync, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, invalidate, readAccessRestrictions, readAttribute, readAttributeAsync, readBrowseName, readDescription, readDisplayName, readNamespaceIndex, readNodeClass, readNodeId, readProperty, readRolePermissions, readUserRolePermissions, readUserWriteMask, readWriteMask, refresh, refreshAsync, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMask, synchronize, synchronizeAsync, writeAccessRestrictions, writeAttribute, writeAttributeAsync, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeProperty, writeRolePermissions, writeUserRolePermissions, writeUserWriteMask, writeWriteMaskMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMaskMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
getEventNotifier, setEventNotifier
-
Constructor Details
-
PubSubDiagnosticsTypeNode
public PubSubDiagnosticsTypeNode(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, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
-
-
Method Details
-
getDiagnosticsLevel
public org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel getDiagnosticsLevel() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeGet the local value of the DiagnosticsLevel Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getDiagnosticsLevelin interfacePubSubDiagnosticsType- Returns:
- the local value of the DiagnosticsLevel Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DiagnosticsLevel Node.
-
setDiagnosticsLevel
public void setDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsTypeSet the local value of the DiagnosticsLevel Node.The value is only updated locally; it is not written to the server.
- Specified by:
setDiagnosticsLevelin interfacePubSubDiagnosticsType- Parameters:
value- the local value to set for the DiagnosticsLevel Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DiagnosticsLevel Node.
-
readDiagnosticsLevel
public org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel readDiagnosticsLevel() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeRead the value of the DiagnosticsLevel Node from the server and update the local value if the operation succeeds.- Specified by:
readDiagnosticsLevelin interfacePubSubDiagnosticsType- Returns:
- the
DiagnosticsLevelvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDiagnosticsLevel
public void writeDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsTypeWrite a new value for the DiagnosticsLevel Node to the server and update the local value if the operation succeeds.- Specified by:
writeDiagnosticsLevelin interfacePubSubDiagnosticsType- Parameters:
value- theDiagnosticsLevelvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readDiagnosticsLevelAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel> readDiagnosticsLevelAsync()Description copied from interface:PubSubDiagnosticsTypeAn asynchronous implementation ofPubSubDiagnosticsType.readDiagnosticsLevel().- Specified by:
readDiagnosticsLevelAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDiagnosticsLevelAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDiagnosticsLevelAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel diagnosticsLevel) Description copied from interface:PubSubDiagnosticsTypeAn asynchronous implementation ofPubSubDiagnosticsType.writeDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel).- Specified by:
writeDiagnosticsLevelAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDiagnosticsLevelNode
public BaseDataVariableTypeNode getDiagnosticsLevelNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeGet the DiagnosticsLevelBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getDiagnosticsLevelNodein interfacePubSubDiagnosticsType- Returns:
- the DiagnosticsLevel
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDiagnosticsLevelNodeAsync
Description copied from interface:PubSubDiagnosticsTypeAsynchronous implementation ofPubSubDiagnosticsType.getDiagnosticsLevelNode().- Specified by:
getDiagnosticsLevelNodeAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getTotalInformation
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getTotalInformation() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeGet the local value of the TotalInformation Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getTotalInformationin interfacePubSubDiagnosticsType- Returns:
- the local value of the TotalInformation Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the TotalInformation Node.
-
setTotalInformation
public void setTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsTypeSet the local value of the TotalInformation Node.The value is only updated locally; it is not written to the server.
- Specified by:
setTotalInformationin interfacePubSubDiagnosticsType- Parameters:
value- the local value to set for the TotalInformation Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the TotalInformation Node.
-
readTotalInformation
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readTotalInformation() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeRead the value of the TotalInformation Node from the server and update the local value if the operation succeeds.- Specified by:
readTotalInformationin interfacePubSubDiagnosticsType- Returns:
- the
UIntegervalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeTotalInformation
public void writeTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsTypeWrite a new value for the TotalInformation Node to the server and update the local value if the operation succeeds.- Specified by:
writeTotalInformationin interfacePubSubDiagnosticsType- Parameters:
value- theUIntegervalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readTotalInformationAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readTotalInformationAsync()Description copied from interface:PubSubDiagnosticsTypeAn asynchronous implementation ofPubSubDiagnosticsType.readTotalInformation().- Specified by:
readTotalInformationAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTotalInformationAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTotalInformationAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger totalInformation) Description copied from interface:PubSubDiagnosticsTypeAn asynchronous implementation ofPubSubDiagnosticsType.writeTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).- Specified by:
writeTotalInformationAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTotalInformationNode
public PubSubDiagnosticsCounterTypeNode getTotalInformationNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeGet the TotalInformationPubSubDiagnosticsCounterTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getTotalInformationNodein interfacePubSubDiagnosticsType- Returns:
- the TotalInformation
PubSubDiagnosticsCounterTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getTotalInformationNodeAsync
Description copied from interface:PubSubDiagnosticsTypeAsynchronous implementation ofPubSubDiagnosticsType.getTotalInformationNode().- Specified by:
getTotalInformationNodeAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the PubSubDiagnosticsCounterType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getTotalError
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getTotalError() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeGet the local value of the TotalError Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getTotalErrorin interfacePubSubDiagnosticsType- Returns:
- the local value of the TotalError Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the TotalError Node.
-
setTotalError
public void setTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsTypeSet the local value of the TotalError Node.The value is only updated locally; it is not written to the server.
- Specified by:
setTotalErrorin interfacePubSubDiagnosticsType- Parameters:
value- the local value to set for the TotalError Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the TotalError Node.
-
readTotalError
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readTotalError() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeRead the value of the TotalError Node from the server and update the local value if the operation succeeds.- Specified by:
readTotalErrorin interfacePubSubDiagnosticsType- Returns:
- the
UIntegervalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeTotalError
public void writeTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsTypeWrite a new value for the TotalError Node to the server and update the local value if the operation succeeds.- Specified by:
writeTotalErrorin interfacePubSubDiagnosticsType- Parameters:
value- theUIntegervalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readTotalErrorAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readTotalErrorAsync()Description copied from interface:PubSubDiagnosticsTypeAn asynchronous implementation ofPubSubDiagnosticsType.readTotalError().- Specified by:
readTotalErrorAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTotalErrorAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTotalErrorAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger totalError) Description copied from interface:PubSubDiagnosticsTypeAn asynchronous implementation ofPubSubDiagnosticsType.writeTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).- Specified by:
writeTotalErrorAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTotalErrorNode
public PubSubDiagnosticsCounterTypeNode getTotalErrorNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeGet the TotalErrorPubSubDiagnosticsCounterTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getTotalErrorNodein interfacePubSubDiagnosticsType- Returns:
- the TotalError
PubSubDiagnosticsCounterTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getTotalErrorNodeAsync
Description copied from interface:PubSubDiagnosticsTypeAsynchronous implementation ofPubSubDiagnosticsType.getTotalErrorNode().- Specified by:
getTotalErrorNodeAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the PubSubDiagnosticsCounterType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getSubError
Description copied from interface:PubSubDiagnosticsTypeGet the local value of the SubError Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getSubErrorin interfacePubSubDiagnosticsType- Returns:
- the local value of the SubError Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the SubError Node.
-
setSubError
Description copied from interface:PubSubDiagnosticsTypeSet the local value of the SubError Node.The value is only updated locally; it is not written to the server.
- Specified by:
setSubErrorin interfacePubSubDiagnosticsType- Parameters:
value- the local value to set for the SubError Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the SubError Node.
-
readSubError
Description copied from interface:PubSubDiagnosticsTypeRead the value of the SubError Node from the server and update the local value if the operation succeeds.- Specified by:
readSubErrorin interfacePubSubDiagnosticsType- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeSubError
Description copied from interface:PubSubDiagnosticsTypeWrite a new value for the SubError Node to the server and update the local value if the operation succeeds.- Specified by:
writeSubErrorin interfacePubSubDiagnosticsType- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readSubErrorAsync
Description copied from interface:PubSubDiagnosticsTypeAn asynchronous implementation ofPubSubDiagnosticsType.readSubError().- Specified by:
readSubErrorAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSubErrorAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSubErrorAsync(Boolean subError) Description copied from interface:PubSubDiagnosticsTypeAn asynchronous implementation ofPubSubDiagnosticsType.writeSubError(java.lang.Boolean).- Specified by:
writeSubErrorAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSubErrorNode
public BaseDataVariableTypeNode getSubErrorNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsTypeGet the SubErrorBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getSubErrorNodein interfacePubSubDiagnosticsType- Returns:
- the SubError
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getSubErrorNodeAsync
Description copied from interface:PubSubDiagnosticsTypeAsynchronous implementation ofPubSubDiagnosticsType.getSubErrorNode().- Specified by:
getSubErrorNodeAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getCountersNode
Description copied from interface:PubSubDiagnosticsTypeGet the CountersBaseObjectTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getCountersNodein interfacePubSubDiagnosticsType- Returns:
- the Counters
BaseObjectTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getCountersNodeAsync
Description copied from interface:PubSubDiagnosticsTypeAsynchronous implementation ofPubSubDiagnosticsType.getCountersNode().- Specified by:
getCountersNodeAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the BaseObjectType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getLiveValuesNode
Description copied from interface:PubSubDiagnosticsTypeGet the LiveValuesBaseObjectTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getLiveValuesNodein interfacePubSubDiagnosticsType- Returns:
- the LiveValues
BaseObjectTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getLiveValuesNodeAsync
Description copied from interface:PubSubDiagnosticsTypeAsynchronous implementation ofPubSubDiagnosticsType.getLiveValuesNode().- Specified by:
getLiveValuesNodeAsyncin interfacePubSubDiagnosticsType- Returns:
- a CompletableFuture that completes successfully with the BaseObjectType Node or completes exceptionally if an error occurs creating or getting the Node.
-