Class PubSubDiagnosticsCounterTypeNode
- All Implemented Interfaces:
BaseDataVariableType,BaseVariableType,PubSubDiagnosticsCounterType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
-
Field Summary
Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.variables.PubSubDiagnosticsCounterType
ACTIVE, CLASSIFICATION, DIAGNOSTICS_LEVEL, TIME_FIRST_CHANGE -
Constructor Summary
ConstructorsConstructorDescriptionPubSubDiagnosticsCounterTypeNode(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.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx) -
Method Summary
Modifier and TypeMethodDescriptionGet the local value of the Active Node.Get the ActivePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofPubSubDiagnosticsCounterType.getActiveNode().org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassificationGet the local value of the Classification Node.Get the ClassificationPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofPubSubDiagnosticsCounterType.getClassificationNode().org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevelGet the local value of the DiagnosticsLevel Node.Get the DiagnosticsLevelPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofPubSubDiagnosticsCounterType.getDiagnosticsLevelNode().org.eclipse.milo.opcua.stack.core.types.builtin.DateTimeGet the local value of the TimeFirstChange Node.Get the TimeFirstChangePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofPubSubDiagnosticsCounterType.getTimeFirstChangeNode().Read the value of the Active Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean>An asynchronous implementation ofPubSubDiagnosticsCounterType.readActive().org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassificationRead the value of the Classification Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification>An asynchronous implementation ofPubSubDiagnosticsCounterType.readClassification().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 ofPubSubDiagnosticsCounterType.readDiagnosticsLevel().org.eclipse.milo.opcua.stack.core.types.builtin.DateTimeRead the value of the TimeFirstChange Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime>An asynchronous implementation ofPubSubDiagnosticsCounterType.readTimeFirstChange().voidSet the local value of the Active Node.voidsetClassification(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification value) Set the local value of the Classification Node.voidsetDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel value) Set the local value of the DiagnosticsLevel Node.voidsetTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) Set the local value of the TimeFirstChange Node.voidwriteActive(Boolean value) Write a new value for the Active Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeActiveAsync(Boolean active) An asynchronous implementation ofPubSubDiagnosticsCounterType.writeActive(java.lang.Boolean).voidwriteClassification(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification value) Write a new value for the Classification Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeClassificationAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification classification) An asynchronous implementation ofPubSubDiagnosticsCounterType.writeClassification(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification).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 ofPubSubDiagnosticsCounterType.writeDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel).voidwriteTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) Write a new value for the TimeFirstChange Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeTimeFirstChangeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime timeFirstChange) An asynchronous implementation ofPubSubDiagnosticsCounterType.writeTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).Methods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaVariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getAttributeValue, getDataType, getHistorizing, getMinimumSamplingInterval, getTypeDefinition, getTypeDefinitionAsync, getUserAccessLevel, getValue, getValueRank, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readAccessLevel, readAccessLevelEx, readAllowNullsAsync, readArrayDimensions, readDataType, readDataTypeVersionAsync, readDictionaryFragmentAsync, readEngineeringUnitsAsync, readHistorizing, readLocalTimeAsync, readMaxArrayLengthAsync, readMaxStringLengthAsync, readMinimumSamplingInterval, readNodeVersionAsync, readUserAccessLevel, readValue, readValueAsTextAsync, readValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setAttributeValue, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValue, setValueRank, writeAccessLevel, writeAccessLevelEx, writeAllowNullsAsync, writeArrayDimensions, writeDataType, writeDataTypeVersionAsync, writeDictionaryFragmentAsync, writeEngineeringUnitsAsync, writeHistorizing, writeLocalTimeAsync, writeMaxArrayLengthAsync, writeMaxStringLengthAsync, writeMinimumSamplingInterval, writeNodeVersionAsync, writeUserAccessLevel, writeValue, writeValue, writeValueAsTextAsync, writeValueRankMethods 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.VariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getDataType, getHistorizing, getMinimumSamplingInterval, getUserAccessLevel, getValue, getValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValueRank
-
Constructor Details
-
PubSubDiagnosticsCounterTypeNode
public PubSubDiagnosticsCounterTypeNode(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.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx)
-
-
Method Details
-
getActive
Description copied from interface:PubSubDiagnosticsCounterTypeGet the local value of the Active Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getActivein interfacePubSubDiagnosticsCounterType- Returns:
- the local value of the Active Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Active Node.
-
setActive
Description copied from interface:PubSubDiagnosticsCounterTypeSet the local value of the Active Node.The value is only updated locally; it is not written to the server.
- Specified by:
setActivein interfacePubSubDiagnosticsCounterType- Parameters:
value- the local value to set for the Active Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Active Node.
-
readActive
Description copied from interface:PubSubDiagnosticsCounterTypeRead the value of the Active Node from the server and update the local value if the operation succeeds.- Specified by:
readActivein interfacePubSubDiagnosticsCounterType- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeActive
Description copied from interface:PubSubDiagnosticsCounterTypeWrite a new value for the Active Node to the server and update the local value if the operation succeeds.- Specified by:
writeActivein interfacePubSubDiagnosticsCounterType- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readActiveAsync
Description copied from interface:PubSubDiagnosticsCounterTypeAn asynchronous implementation ofPubSubDiagnosticsCounterType.readActive().- Specified by:
readActiveAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeActiveAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeActiveAsync(Boolean active) Description copied from interface:PubSubDiagnosticsCounterTypeAn asynchronous implementation ofPubSubDiagnosticsCounterType.writeActive(java.lang.Boolean).- Specified by:
writeActiveAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getActiveNode
Description copied from interface:PubSubDiagnosticsCounterTypeGet the ActivePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getActiveNodein interfacePubSubDiagnosticsCounterType- Returns:
- the Active
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getActiveNodeAsync
Description copied from interface:PubSubDiagnosticsCounterTypeAsynchronous implementation ofPubSubDiagnosticsCounterType.getActiveNode().- Specified by:
getActiveNodeAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getClassification
public org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification getClassification() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsCounterTypeGet the local value of the Classification Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getClassificationin interfacePubSubDiagnosticsCounterType- Returns:
- the local value of the Classification Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Classification Node.
-
setClassification
public void setClassification(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsCounterTypeSet the local value of the Classification Node.The value is only updated locally; it is not written to the server.
- Specified by:
setClassificationin interfacePubSubDiagnosticsCounterType- Parameters:
value- the local value to set for the Classification Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Classification Node.
-
readClassification
public org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification readClassification() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsCounterTypeRead the value of the Classification Node from the server and update the local value if the operation succeeds.- Specified by:
readClassificationin interfacePubSubDiagnosticsCounterType- Returns:
- the
PubSubDiagnosticsCounterClassificationvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeClassification
public void writeClassification(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsCounterTypeWrite a new value for the Classification Node to the server and update the local value if the operation succeeds.- Specified by:
writeClassificationin interfacePubSubDiagnosticsCounterType- Parameters:
value- thePubSubDiagnosticsCounterClassificationvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readClassificationAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification> readClassificationAsync()Description copied from interface:PubSubDiagnosticsCounterTypeAn asynchronous implementation ofPubSubDiagnosticsCounterType.readClassification().- Specified by:
readClassificationAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeClassificationAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeClassificationAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification classification) Description copied from interface:PubSubDiagnosticsCounterTypeAn asynchronous implementation ofPubSubDiagnosticsCounterType.writeClassification(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification).- Specified by:
writeClassificationAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getClassificationNode
public PropertyTypeNode getClassificationNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsCounterTypeGet the ClassificationPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getClassificationNodein interfacePubSubDiagnosticsCounterType- Returns:
- the Classification
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getClassificationNodeAsync
Description copied from interface:PubSubDiagnosticsCounterTypeAsynchronous implementation ofPubSubDiagnosticsCounterType.getClassificationNode().- Specified by:
getClassificationNodeAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getDiagnosticsLevel
public org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel getDiagnosticsLevel() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsCounterTypeGet 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 interfacePubSubDiagnosticsCounterType- 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:PubSubDiagnosticsCounterTypeSet the local value of the DiagnosticsLevel Node.The value is only updated locally; it is not written to the server.
- Specified by:
setDiagnosticsLevelin interfacePubSubDiagnosticsCounterType- 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:PubSubDiagnosticsCounterTypeRead the value of the DiagnosticsLevel Node from the server and update the local value if the operation succeeds.- Specified by:
readDiagnosticsLevelin interfacePubSubDiagnosticsCounterType- 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:PubSubDiagnosticsCounterTypeWrite a new value for the DiagnosticsLevel Node to the server and update the local value if the operation succeeds.- Specified by:
writeDiagnosticsLevelin interfacePubSubDiagnosticsCounterType- 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:PubSubDiagnosticsCounterTypeAn asynchronous implementation ofPubSubDiagnosticsCounterType.readDiagnosticsLevel().- Specified by:
readDiagnosticsLevelAsyncin interfacePubSubDiagnosticsCounterType- 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:PubSubDiagnosticsCounterTypeAn asynchronous implementation ofPubSubDiagnosticsCounterType.writeDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel).- Specified by:
writeDiagnosticsLevelAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDiagnosticsLevelNode
public PropertyTypeNode getDiagnosticsLevelNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsCounterTypeGet the DiagnosticsLevelPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getDiagnosticsLevelNodein interfacePubSubDiagnosticsCounterType- Returns:
- the DiagnosticsLevel
PropertyTypeNode, 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:PubSubDiagnosticsCounterTypeAsynchronous implementation ofPubSubDiagnosticsCounterType.getDiagnosticsLevelNode().- Specified by:
getDiagnosticsLevelNodeAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getTimeFirstChange
public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getTimeFirstChange() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsCounterTypeGet the local value of the TimeFirstChange Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getTimeFirstChangein interfacePubSubDiagnosticsCounterType- Returns:
- the local value of the TimeFirstChange Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the TimeFirstChange Node.
-
setTimeFirstChange
public void setTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsCounterTypeSet the local value of the TimeFirstChange Node.The value is only updated locally; it is not written to the server.
- Specified by:
setTimeFirstChangein interfacePubSubDiagnosticsCounterType- Parameters:
value- the local value to set for the TimeFirstChange Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the TimeFirstChange Node.
-
readTimeFirstChange
public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime readTimeFirstChange() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsCounterTypeRead the value of the TimeFirstChange Node from the server and update the local value if the operation succeeds.- Specified by:
readTimeFirstChangein interfacePubSubDiagnosticsCounterType- Returns:
- the
DateTimevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeTimeFirstChange
public void writeTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:PubSubDiagnosticsCounterTypeWrite a new value for the TimeFirstChange Node to the server and update the local value if the operation succeeds.- Specified by:
writeTimeFirstChangein interfacePubSubDiagnosticsCounterType- Parameters:
value- theDateTimevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readTimeFirstChangeAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> readTimeFirstChangeAsync()Description copied from interface:PubSubDiagnosticsCounterTypeAn asynchronous implementation ofPubSubDiagnosticsCounterType.readTimeFirstChange().- Specified by:
readTimeFirstChangeAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTimeFirstChangeAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTimeFirstChangeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime timeFirstChange) Description copied from interface:PubSubDiagnosticsCounterTypeAn asynchronous implementation ofPubSubDiagnosticsCounterType.writeTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).- Specified by:
writeTimeFirstChangeAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTimeFirstChangeNode
public PropertyTypeNode getTimeFirstChangeNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:PubSubDiagnosticsCounterTypeGet the TimeFirstChangePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getTimeFirstChangeNodein interfacePubSubDiagnosticsCounterType- Returns:
- the TimeFirstChange
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getTimeFirstChangeNodeAsync
Description copied from interface:PubSubDiagnosticsCounterTypeAsynchronous implementation ofPubSubDiagnosticsCounterType.getTimeFirstChangeNode().- Specified by:
getTimeFirstChangeNodeAsyncin interfacePubSubDiagnosticsCounterType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-