Class AcknowledgeableConditionTypeNode
java.lang.Object
org.eclipse.milo.opcua.sdk.client.nodes.UaNode
org.eclipse.milo.opcua.sdk.client.nodes.UaObjectNode
org.eclipse.milo.opcua.sdk.client.model.objects.BaseObjectTypeNode
org.eclipse.milo.opcua.sdk.client.model.objects.BaseEventTypeNode
org.eclipse.milo.opcua.sdk.client.model.objects.ConditionTypeNode
org.eclipse.milo.opcua.sdk.client.model.objects.AcknowledgeableConditionTypeNode
- All Implemented Interfaces:
AcknowledgeableConditionType,BaseEventType,BaseObjectType,ConditionType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- Direct Known Subclasses:
AlarmConditionTypeNode
public class AcknowledgeableConditionTypeNode
extends ConditionTypeNode
implements AcknowledgeableConditionType
-
Field Summary
Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.BaseEventType
CONDITION_CLASS_ID, CONDITION_CLASS_NAME, CONDITION_SUB_CLASS_ID, CONDITION_SUB_CLASS_NAME, EVENT_ID, EVENT_TYPE, LOCAL_TIME, MESSAGE, RECEIVE_TIME, SEVERITY, SOURCE_NAME, SOURCE_NODE, TIMEFields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.ConditionType
BRANCH_ID, CLIENT_USER_ID, CONDITION_CLASS_ID, CONDITION_CLASS_NAME, CONDITION_NAME, CONDITION_SUB_CLASS_ID, CONDITION_SUB_CLASS_NAME, RETAIN, SUPPORTS_FILTERED_RETAIN -
Constructor Summary
ConstructorsConstructorDescriptionAcknowledgeableConditionTypeNode(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 TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the AckedState Node.Get the AckedStateTwoStateVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends TwoStateVariableTypeNode>Asynchronous implementation ofAcknowledgeableConditionType.getAckedStateNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the ConfirmedState Node.Get the ConfirmedStateTwoStateVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends TwoStateVariableTypeNode>Asynchronous implementation ofAcknowledgeableConditionType.getConfirmedStateNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the EnabledState Node.Get the EnabledStateTwoStateVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends TwoStateVariableTypeNode>Asynchronous implementation ofConditionType.getEnabledStateNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the AckedState Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText>An asynchronous implementation ofAcknowledgeableConditionType.readAckedState().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the ConfirmedState Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText>An asynchronous implementation ofAcknowledgeableConditionType.readConfirmedState().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the EnabledState Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText>An asynchronous implementation ofConditionType.readEnabledState().voidsetAckedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the AckedState Node.voidsetConfirmedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the ConfirmedState Node.voidsetEnabledState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the EnabledState Node.voidwriteAckedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the AckedState Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeAckedStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText ackedState) An asynchronous implementation ofAcknowledgeableConditionType.writeAckedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).voidwriteConfirmedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the ConfirmedState Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeConfirmedStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText confirmedState) An asynchronous implementation ofAcknowledgeableConditionType.writeConfirmedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).voidwriteEnabledState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the EnabledState Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeEnabledStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText enabledState) An asynchronous implementation ofConditionType.writeEnabledState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).Methods inherited from class org.eclipse.milo.opcua.sdk.client.model.objects.ConditionTypeNode
getBranchId, getBranchIdNode, getBranchIdNodeAsync, getClientUserId, getClientUserIdNode, getClientUserIdNodeAsync, getComment, getCommentNode, getCommentNodeAsync, getConditionClassId, getConditionClassIdNode, getConditionClassIdNodeAsync, getConditionClassName, getConditionClassNameNode, getConditionClassNameNodeAsync, getConditionName, getConditionNameNode, getConditionNameNodeAsync, getConditionSubClassId, getConditionSubClassIdNode, getConditionSubClassIdNodeAsync, getConditionSubClassName, getConditionSubClassNameNode, getConditionSubClassNameNodeAsync, getLastSeverity, getLastSeverityNode, getLastSeverityNodeAsync, getQuality, getQualityNode, getQualityNodeAsync, getRetain, getRetainNode, getRetainNodeAsync, getSupportsFilteredRetain, getSupportsFilteredRetainNode, getSupportsFilteredRetainNodeAsync, readBranchId, readBranchIdAsync, readClientUserId, readClientUserIdAsync, readComment, readCommentAsync, readConditionClassId, readConditionClassIdAsync, readConditionClassName, readConditionClassNameAsync, readConditionName, readConditionNameAsync, readConditionSubClassId, readConditionSubClassIdAsync, readConditionSubClassName, readConditionSubClassNameAsync, readLastSeverity, readLastSeverityAsync, readQuality, readQualityAsync, readRetain, readRetainAsync, readSupportsFilteredRetain, readSupportsFilteredRetainAsync, setBranchId, setClientUserId, setComment, setConditionClassId, setConditionClassName, setConditionName, setConditionSubClassId, setConditionSubClassName, setLastSeverity, setQuality, setRetain, setSupportsFilteredRetain, writeBranchId, writeBranchIdAsync, writeClientUserId, writeClientUserIdAsync, writeComment, writeCommentAsync, writeConditionClassId, writeConditionClassIdAsync, writeConditionClassName, writeConditionClassNameAsync, writeConditionName, writeConditionNameAsync, writeConditionSubClassId, writeConditionSubClassIdAsync, writeConditionSubClassName, writeConditionSubClassNameAsync, writeLastSeverity, writeLastSeverityAsync, writeQuality, writeQualityAsync, writeRetain, writeRetainAsync, writeSupportsFilteredRetain, writeSupportsFilteredRetainAsyncMethods inherited from class org.eclipse.milo.opcua.sdk.client.model.objects.BaseEventTypeNode
getEventId, getEventIdNode, getEventIdNodeAsync, getEventType, getEventTypeNode, getEventTypeNodeAsync, getLocalTime, getLocalTimeNode, getLocalTimeNodeAsync, getMessage, getMessageNode, getMessageNodeAsync, getReceiveTime, getReceiveTimeNode, getReceiveTimeNodeAsync, getSeverity, getSeverityNode, getSeverityNodeAsync, getSourceName, getSourceNameNode, getSourceNameNodeAsync, getSourceNode, getSourceNodeNode, getSourceNodeNodeAsync, getTime, getTimeNode, getTimeNodeAsync, readEventId, readEventIdAsync, readEventType, readEventTypeAsync, readLocalTime, readLocalTimeAsync, readMessage, readMessageAsync, readReceiveTime, readReceiveTimeAsync, readSeverity, readSeverityAsync, readSourceName, readSourceNameAsync, readSourceNode, readSourceNodeAsync, readTime, readTimeAsync, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSeverity, setSourceName, setSourceNode, setTime, writeEventId, writeEventIdAsync, writeEventType, writeEventTypeAsync, writeLocalTime, writeLocalTimeAsync, writeMessage, writeMessageAsync, writeReceiveTime, writeReceiveTimeAsync, writeSeverity, writeSeverityAsync, writeSourceName, writeSourceNameAsync, writeSourceNode, writeSourceNodeAsync, writeTime, writeTimeAsyncMethods 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.client.model.objects.BaseEventType
getEventId, getEventIdNode, getEventIdNodeAsync, getEventType, getEventTypeNode, getEventTypeNodeAsync, getLocalTime, getLocalTimeNode, getLocalTimeNodeAsync, getMessage, getMessageNode, getMessageNodeAsync, getReceiveTime, getReceiveTimeNode, getReceiveTimeNodeAsync, getSeverity, getSeverityNode, getSeverityNodeAsync, getSourceName, getSourceNameNode, getSourceNameNodeAsync, getSourceNode, getSourceNodeNode, getSourceNodeNodeAsync, getTime, getTimeNode, getTimeNodeAsync, readEventId, readEventIdAsync, readEventType, readEventTypeAsync, readLocalTime, readLocalTimeAsync, readMessage, readMessageAsync, readReceiveTime, readReceiveTimeAsync, readSeverity, readSeverityAsync, readSourceName, readSourceNameAsync, readSourceNode, readSourceNodeAsync, readTime, readTimeAsync, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSeverity, setSourceName, setSourceNode, setTime, writeEventId, writeEventIdAsync, writeEventType, writeEventTypeAsync, writeLocalTime, writeLocalTimeAsync, writeMessage, writeMessageAsync, writeReceiveTime, writeReceiveTimeAsync, writeSeverity, writeSeverityAsync, writeSourceName, writeSourceNameAsync, writeSourceNode, writeSourceNodeAsync, writeTime, writeTimeAsyncMethods inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.ConditionType
getBranchId, getBranchIdNode, getBranchIdNodeAsync, getClientUserId, getClientUserIdNode, getClientUserIdNodeAsync, getComment, getCommentNode, getCommentNodeAsync, getConditionClassId, getConditionClassIdNode, getConditionClassIdNodeAsync, getConditionClassName, getConditionClassNameNode, getConditionClassNameNodeAsync, getConditionName, getConditionNameNode, getConditionNameNodeAsync, getConditionSubClassId, getConditionSubClassIdNode, getConditionSubClassIdNodeAsync, getConditionSubClassName, getConditionSubClassNameNode, getConditionSubClassNameNodeAsync, getLastSeverity, getLastSeverityNode, getLastSeverityNodeAsync, getQuality, getQualityNode, getQualityNodeAsync, getRetain, getRetainNode, getRetainNodeAsync, getSupportsFilteredRetain, getSupportsFilteredRetainNode, getSupportsFilteredRetainNodeAsync, readBranchId, readBranchIdAsync, readClientUserId, readClientUserIdAsync, readComment, readCommentAsync, readConditionClassId, readConditionClassIdAsync, readConditionClassName, readConditionClassNameAsync, readConditionName, readConditionNameAsync, readConditionSubClassId, readConditionSubClassIdAsync, readConditionSubClassName, readConditionSubClassNameAsync, readLastSeverity, readLastSeverityAsync, readQuality, readQualityAsync, readRetain, readRetainAsync, readSupportsFilteredRetain, readSupportsFilteredRetainAsync, setBranchId, setClientUserId, setComment, setConditionClassId, setConditionClassName, setConditionName, setConditionSubClassId, setConditionSubClassName, setLastSeverity, setQuality, setRetain, setSupportsFilteredRetain, writeBranchId, writeBranchIdAsync, writeClientUserId, writeClientUserIdAsync, writeComment, writeCommentAsync, writeConditionClassId, writeConditionClassIdAsync, writeConditionClassName, writeConditionClassNameAsync, writeConditionName, writeConditionNameAsync, writeConditionSubClassId, writeConditionSubClassIdAsync, writeConditionSubClassName, writeConditionSubClassNameAsync, writeLastSeverity, writeLastSeverityAsync, writeQuality, writeQualityAsync, writeRetain, writeRetainAsync, writeSupportsFilteredRetain, writeSupportsFilteredRetainAsyncMethods 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
-
AcknowledgeableConditionTypeNode
public AcknowledgeableConditionTypeNode(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
-
getEnabledState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getEnabledState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ConditionTypeGet the local value of the EnabledState Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getEnabledStatein interfaceAcknowledgeableConditionType- Specified by:
getEnabledStatein interfaceConditionType- Overrides:
getEnabledStatein classConditionTypeNode- Returns:
- the local value of the EnabledState Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the EnabledState Node.
-
setEnabledState
public void setEnabledState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ConditionTypeSet the local value of the EnabledState Node.The value is only updated locally; it is not written to the server.
- Specified by:
setEnabledStatein interfaceAcknowledgeableConditionType- Specified by:
setEnabledStatein interfaceConditionType- Overrides:
setEnabledStatein classConditionTypeNode- Parameters:
value- the local value to set for the EnabledState Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the EnabledState Node.
-
readEnabledState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readEnabledState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ConditionTypeRead the value of the EnabledState Node from the server and update the local value if the operation succeeds.- Specified by:
readEnabledStatein interfaceAcknowledgeableConditionType- Specified by:
readEnabledStatein interfaceConditionType- Overrides:
readEnabledStatein classConditionTypeNode- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeEnabledState
public void writeEnabledState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ConditionTypeWrite a new value for the EnabledState Node to the server and update the local value if the operation succeeds.- Specified by:
writeEnabledStatein interfaceAcknowledgeableConditionType- Specified by:
writeEnabledStatein interfaceConditionType- Overrides:
writeEnabledStatein classConditionTypeNode- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readEnabledStateAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readEnabledStateAsync()Description copied from interface:ConditionTypeAn asynchronous implementation ofConditionType.readEnabledState().- Specified by:
readEnabledStateAsyncin interfaceAcknowledgeableConditionType- Specified by:
readEnabledStateAsyncin interfaceConditionType- Overrides:
readEnabledStateAsyncin classConditionTypeNode- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeEnabledStateAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEnabledStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText enabledState) Description copied from interface:ConditionTypeAn asynchronous implementation ofConditionType.writeEnabledState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writeEnabledStateAsyncin interfaceAcknowledgeableConditionType- Specified by:
writeEnabledStateAsyncin interfaceConditionType- Overrides:
writeEnabledStateAsyncin classConditionTypeNode- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getEnabledStateNode
public TwoStateVariableTypeNode getEnabledStateNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ConditionTypeGet the EnabledStateTwoStateVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getEnabledStateNodein interfaceAcknowledgeableConditionType- Specified by:
getEnabledStateNodein interfaceConditionType- Overrides:
getEnabledStateNodein classConditionTypeNode- Returns:
- the EnabledState
TwoStateVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getEnabledStateNodeAsync
Description copied from interface:ConditionTypeAsynchronous implementation ofConditionType.getEnabledStateNode().- Specified by:
getEnabledStateNodeAsyncin interfaceAcknowledgeableConditionType- Specified by:
getEnabledStateNodeAsyncin interfaceConditionType- Overrides:
getEnabledStateNodeAsyncin classConditionTypeNode- Returns:
- a CompletableFuture that completes successfully with the TwoStateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getAckedState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getAckedState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AcknowledgeableConditionTypeGet the local value of the AckedState Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getAckedStatein interfaceAcknowledgeableConditionType- Returns:
- the local value of the AckedState Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the AckedState Node.
-
setAckedState
public void setAckedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:AcknowledgeableConditionTypeSet the local value of the AckedState Node.The value is only updated locally; it is not written to the server.
- Specified by:
setAckedStatein interfaceAcknowledgeableConditionType- Parameters:
value- the local value to set for the AckedState Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the AckedState Node.
-
readAckedState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readAckedState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AcknowledgeableConditionTypeRead the value of the AckedState Node from the server and update the local value if the operation succeeds.- Specified by:
readAckedStatein interfaceAcknowledgeableConditionType- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeAckedState
public void writeAckedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:AcknowledgeableConditionTypeWrite a new value for the AckedState Node to the server and update the local value if the operation succeeds.- Specified by:
writeAckedStatein interfaceAcknowledgeableConditionType- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readAckedStateAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readAckedStateAsync()Description copied from interface:AcknowledgeableConditionTypeAn asynchronous implementation ofAcknowledgeableConditionType.readAckedState().- Specified by:
readAckedStateAsyncin interfaceAcknowledgeableConditionType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeAckedStateAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAckedStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText ackedState) Description copied from interface:AcknowledgeableConditionTypeAn asynchronous implementation ofAcknowledgeableConditionType.writeAckedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writeAckedStateAsyncin interfaceAcknowledgeableConditionType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getAckedStateNode
public TwoStateVariableTypeNode getAckedStateNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AcknowledgeableConditionTypeGet the AckedStateTwoStateVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getAckedStateNodein interfaceAcknowledgeableConditionType- Returns:
- the AckedState
TwoStateVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getAckedStateNodeAsync
Description copied from interface:AcknowledgeableConditionTypeAsynchronous implementation ofAcknowledgeableConditionType.getAckedStateNode().- Specified by:
getAckedStateNodeAsyncin interfaceAcknowledgeableConditionType- Returns:
- a CompletableFuture that completes successfully with the TwoStateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getConfirmedState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getConfirmedState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AcknowledgeableConditionTypeGet the local value of the ConfirmedState Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getConfirmedStatein interfaceAcknowledgeableConditionType- Returns:
- the local value of the ConfirmedState Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ConfirmedState Node.
-
setConfirmedState
public void setConfirmedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:AcknowledgeableConditionTypeSet the local value of the ConfirmedState Node.The value is only updated locally; it is not written to the server.
- Specified by:
setConfirmedStatein interfaceAcknowledgeableConditionType- Parameters:
value- the local value to set for the ConfirmedState Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ConfirmedState Node.
-
readConfirmedState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readConfirmedState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AcknowledgeableConditionTypeRead the value of the ConfirmedState Node from the server and update the local value if the operation succeeds.- Specified by:
readConfirmedStatein interfaceAcknowledgeableConditionType- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeConfirmedState
public void writeConfirmedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:AcknowledgeableConditionTypeWrite a new value for the ConfirmedState Node to the server and update the local value if the operation succeeds.- Specified by:
writeConfirmedStatein interfaceAcknowledgeableConditionType- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readConfirmedStateAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readConfirmedStateAsync()Description copied from interface:AcknowledgeableConditionTypeAn asynchronous implementation ofAcknowledgeableConditionType.readConfirmedState().- Specified by:
readConfirmedStateAsyncin interfaceAcknowledgeableConditionType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeConfirmedStateAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeConfirmedStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText confirmedState) Description copied from interface:AcknowledgeableConditionTypeAn asynchronous implementation ofAcknowledgeableConditionType.writeConfirmedState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writeConfirmedStateAsyncin interfaceAcknowledgeableConditionType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getConfirmedStateNode
public TwoStateVariableTypeNode getConfirmedStateNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:AcknowledgeableConditionTypeGet the ConfirmedStateTwoStateVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getConfirmedStateNodein interfaceAcknowledgeableConditionType- Returns:
- the ConfirmedState
TwoStateVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getConfirmedStateNodeAsync
Description copied from interface:AcknowledgeableConditionTypeAsynchronous implementation ofAcknowledgeableConditionType.getConfirmedStateNode().- Specified by:
getConfirmedStateNodeAsyncin interfaceAcknowledgeableConditionType- Returns:
- a CompletableFuture that completes successfully with the TwoStateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-