Interface PubSubDiagnosticsCounterType
- All Superinterfaces:
BaseDataVariableType,BaseVariableType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
- All Known Implementing Classes:
PubSubDiagnosticsCounterTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<Boolean>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> -
Method Summary
Modifier and TypeMethodDescriptionGet the local value of the Active Node.Get the ActivePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetActiveNode().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 PropertyType>Asynchronous implementation ofgetClassificationNode().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 PropertyType>Asynchronous implementation ofgetDiagnosticsLevelNode().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 PropertyType>Asynchronous implementation ofgetTimeFirstChangeNode().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 ofreadActive().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 ofreadClassification().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().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 ofreadTimeFirstChange().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 value) An asynchronous implementation ofwriteActive(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 value) An asynchronous implementation ofwriteClassification(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 value) An asynchronous implementation ofwriteDiagnosticsLevel(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 value) An asynchronous implementation ofwriteTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).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.VariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getDataType, getHistorizing, getMinimumSamplingInterval, getUserAccessLevel, getValue, getValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValueRank
-
Field Details
-
ACTIVE
-
CLASSIFICATION
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification> CLASSIFICATION -
DIAGNOSTICS_LEVEL
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel> DIAGNOSTICS_LEVEL -
TIME_FIRST_CHANGE
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> TIME_FIRST_CHANGE
-
-
Method Details
-
getActive
Get the local value of the Active Node.The returned value is the last seen; it is not read live from the server.
- 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
Set the local value of the Active Node.The value is only updated locally; it is not written to the server.
- 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
Read the value of the Active 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.
-
writeActive
Write a new value for the Active 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.
-
readActiveAsync
CompletableFuture<? extends Boolean> readActiveAsync()An asynchronous implementation ofreadActive().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeActiveAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeActiveAsync(Boolean value) An asynchronous implementation ofwriteActive(java.lang.Boolean).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getActiveNode
Get the ActivePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends PropertyType> getActiveNodeAsync()Asynchronous implementation ofgetActiveNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getClassification
org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification getClassification() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the Classification Node.The returned value is the last seen; it is not read live from the server.
- 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
void setClassification(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the Classification Node.The value is only updated locally; it is not written to the server.
- 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
org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification readClassification() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the Classification Node from the server and update the local value if the operation succeeds.- Returns:
- the
PubSubDiagnosticsCounterClassificationvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeClassification
void writeClassification(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the Classification Node to the server and update the local value if the operation succeeds.- 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
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification> readClassificationAsync()An asynchronous implementation ofreadClassification().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeClassificationAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeClassificationAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification value) An asynchronous implementation ofwriteClassification(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubDiagnosticsCounterClassification).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getClassificationNode
Get the ClassificationPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends PropertyType> getClassificationNodeAsync()Asynchronous implementation ofgetClassificationNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
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 DiagnosticsLevelPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends PropertyType> getDiagnosticsLevelNodeAsync()Asynchronous implementation ofgetDiagnosticsLevelNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getTimeFirstChange
org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getTimeFirstChange() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the TimeFirstChange Node.The returned value is the last seen; it is not read live from the server.
- 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
void setTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the TimeFirstChange Node.The value is only updated locally; it is not written to the server.
- 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
org.eclipse.milo.opcua.stack.core.types.builtin.DateTime readTimeFirstChange() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the TimeFirstChange Node from the server and update the local value if the operation succeeds.- Returns:
- the
DateTimevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeTimeFirstChange
void writeTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the TimeFirstChange Node to the server and update the local value if the operation succeeds.- 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
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> readTimeFirstChangeAsync()An asynchronous implementation ofreadTimeFirstChange().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTimeFirstChangeAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTimeFirstChangeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) An asynchronous implementation ofwriteTimeFirstChange(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTimeFirstChangeNode
Get the TimeFirstChangePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends PropertyType> getTimeFirstChangeNodeAsync()Asynchronous implementation ofgetTimeFirstChangeNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-