Interface PubSubDiagnosticsType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- All Known Subinterfaces:
PubSubDiagnosticsConnectionType,PubSubDiagnosticsDataSetReaderType,PubSubDiagnosticsDataSetWriterType,PubSubDiagnosticsReaderGroupType,PubSubDiagnosticsRootType,PubSubDiagnosticsWriterGroupType
- All Known Implementing Classes:
PubSubDiagnosticsConnectionTypeNode,PubSubDiagnosticsDataSetReaderTypeNode,PubSubDiagnosticsDataSetWriterTypeNode,PubSubDiagnosticsReaderGroupTypeNode,PubSubDiagnosticsRootTypeNode,PubSubDiagnosticsTypeNode,PubSubDiagnosticsWriterGroupTypeNode
-
Method Summary
Modifier and TypeMethodDescriptionGet the CountersBaseObjectTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseObjectType>Asynchronous implementation ofgetCountersNode().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 BaseDataVariableType>Asynchronous implementation ofgetDiagnosticsLevelNode().Get the LiveValuesBaseObjectTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseObjectType>Asynchronous implementation ofgetLiveValuesNode().Get the local value of the SubError Node.Get the SubErrorBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableType>Asynchronous implementation ofgetSubErrorNode().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.CompletableFuture<? extends PubSubDiagnosticsCounterType>Asynchronous implementation ofgetTotalErrorNode().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.CompletableFuture<? extends PubSubDiagnosticsCounterType>Asynchronous implementation ofgetTotalInformationNode().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 ofreadDiagnosticsLevel().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 ofreadSubError().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 ofreadTotalError().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 ofreadTotalInformation().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 value) An asynchronous implementation ofwriteDiagnosticsLevel(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 value) An asynchronous implementation ofwriteSubError(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 value) An asynchronous implementation ofwriteTotalError(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 value) An asynchronous implementation ofwriteTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).Methods 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
-
Method Details
-
getDiagnosticsLevel
org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel getDiagnosticsLevel() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the DiagnosticsLevel Node.The returned value is the last seen; it is not read live from the server.
- 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
void setDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the DiagnosticsLevel Node.The value is only updated locally; it is not written to the server.
- 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
org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel readDiagnosticsLevel() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the DiagnosticsLevel Node from the server and update the local value if the operation succeeds.- Returns:
- the
DiagnosticsLevelvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDiagnosticsLevel
void writeDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the DiagnosticsLevel Node to the server and update the local value if the operation succeeds.- 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
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel> readDiagnosticsLevelAsync()An asynchronous implementation ofreadDiagnosticsLevel().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDiagnosticsLevelAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDiagnosticsLevelAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel value) An asynchronous implementation ofwriteDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDiagnosticsLevelNode
Get the DiagnosticsLevelBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends BaseDataVariableType> getDiagnosticsLevelNodeAsync()Asynchronous implementation ofgetDiagnosticsLevelNode().- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getTotalInformation
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getTotalInformation() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the TotalInformation Node.The returned value is the last seen; it is not read live from the server.
- 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
void setTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the TotalInformation Node.The value is only updated locally; it is not written to the server.
- 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
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readTotalInformation() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the TotalInformation Node from the server and update the local value if the operation succeeds.- Returns:
- the
UIntegervalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeTotalInformation
void writeTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the TotalInformation Node to the server and update the local value if the operation succeeds.- 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
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readTotalInformationAsync()An asynchronous implementation ofreadTotalInformation().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTotalInformationAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTotalInformationAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) An asynchronous implementation ofwriteTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTotalInformationNode
PubSubDiagnosticsCounterType getTotalInformationNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the TotalInformationPubSubDiagnosticsCounterTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends PubSubDiagnosticsCounterType> getTotalInformationNodeAsync()Asynchronous implementation ofgetTotalInformationNode().- Returns:
- a CompletableFuture that completes successfully with the PubSubDiagnosticsCounterType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getTotalError
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getTotalError() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the TotalError Node.The returned value is the last seen; it is not read live from the server.
- 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
void setTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the TotalError Node.The value is only updated locally; it is not written to the server.
- 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
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readTotalError() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the TotalError Node from the server and update the local value if the operation succeeds.- Returns:
- the
UIntegervalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeTotalError
void writeTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the TotalError Node to the server and update the local value if the operation succeeds.- 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
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readTotalErrorAsync()An asynchronous implementation ofreadTotalError().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTotalErrorAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTotalErrorAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) An asynchronous implementation ofwriteTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTotalErrorNode
PubSubDiagnosticsCounterType getTotalErrorNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the TotalErrorPubSubDiagnosticsCounterTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends PubSubDiagnosticsCounterType> getTotalErrorNodeAsync()Asynchronous implementation ofgetTotalErrorNode().- Returns:
- a CompletableFuture that completes successfully with the PubSubDiagnosticsCounterType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getSubError
Get the local value of the SubError Node.The returned value is the last seen; it is not read live from the server.
- 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
Set the local value of the SubError Node.The value is only updated locally; it is not written to the server.
- 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
Read the value of the SubError Node from the server and update the local value if the operation succeeds.- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeSubError
Write a new value for the SubError Node to the server and update the local value if the operation succeeds.- 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
CompletableFuture<? extends Boolean> readSubErrorAsync()An asynchronous implementation ofreadSubError().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSubErrorAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSubErrorAsync(Boolean value) An asynchronous implementation ofwriteSubError(java.lang.Boolean).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSubErrorNode
Get the SubErrorBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends BaseDataVariableType> getSubErrorNodeAsync()Asynchronous implementation ofgetSubErrorNode().- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getCountersNode
Get the CountersBaseObjectTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends BaseObjectType> getCountersNodeAsync()Asynchronous implementation ofgetCountersNode().- Returns:
- a CompletableFuture that completes successfully with the BaseObjectType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getLiveValuesNode
Get the LiveValuesBaseObjectTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends BaseObjectType> getLiveValuesNodeAsync()Asynchronous implementation ofgetLiveValuesNode().- Returns:
- a CompletableFuture that completes successfully with the BaseObjectType Node or completes exceptionally if an error occurs creating or getting the Node.
-