Class TransitionEventTypeNode
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.TransitionEventTypeNode
- All Implemented Interfaces:
BaseEventType,BaseObjectType,TransitionEventType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- Direct Known Subclasses:
ProgramTransitionEventTypeNode
-
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, TIME -
Constructor Summary
ConstructorsConstructorDescriptionTransitionEventTypeNode(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 FromState Node.Get the FromStateStateVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends StateVariableTypeNode>Asynchronous implementation ofTransitionEventType.getFromStateNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the ToState Node.Get the ToStateStateVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends StateVariableTypeNode>Asynchronous implementation ofTransitionEventType.getToStateNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the Transition Node.Get the TransitionTransitionVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends TransitionVariableTypeNode>Asynchronous implementation ofTransitionEventType.getTransitionNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the FromState 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 ofTransitionEventType.readFromState().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the ToState 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 ofTransitionEventType.readToState().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the Transition 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 ofTransitionEventType.readTransition().voidsetFromState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the FromState Node.voidsetToState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the ToState Node.voidsetTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the Transition Node.voidwriteFromState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the FromState Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeFromStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText fromState) An asynchronous implementation ofTransitionEventType.writeFromState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).voidwriteToState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the ToState Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeToStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText toState) An asynchronous implementation ofTransitionEventType.writeToState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).voidwriteTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the Transition Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeTransitionAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText transition) An asynchronous implementation ofTransitionEventType.writeTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).Methods inherited from class org.eclipse.milo.opcua.sdk.client.model.objects.BaseEventTypeNode
getConditionClassId, getConditionClassIdNode, getConditionClassIdNodeAsync, getConditionClassName, getConditionClassNameNode, getConditionClassNameNodeAsync, getConditionSubClassId, getConditionSubClassIdNode, getConditionSubClassIdNodeAsync, getConditionSubClassName, getConditionSubClassNameNode, getConditionSubClassNameNodeAsync, 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, readConditionClassId, readConditionClassIdAsync, readConditionClassName, readConditionClassNameAsync, readConditionSubClassId, readConditionSubClassIdAsync, readConditionSubClassName, readConditionSubClassNameAsync, readEventId, readEventIdAsync, readEventType, readEventTypeAsync, readLocalTime, readLocalTimeAsync, readMessage, readMessageAsync, readReceiveTime, readReceiveTimeAsync, readSeverity, readSeverityAsync, readSourceName, readSourceNameAsync, readSourceNode, readSourceNodeAsync, readTime, readTimeAsync, setConditionClassId, setConditionClassName, setConditionSubClassId, setConditionSubClassName, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSeverity, setSourceName, setSourceNode, setTime, writeConditionClassId, writeConditionClassIdAsync, writeConditionClassName, writeConditionClassNameAsync, writeConditionSubClassId, writeConditionSubClassIdAsync, writeConditionSubClassName, writeConditionSubClassNameAsync, 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
getConditionClassId, getConditionClassIdNode, getConditionClassIdNodeAsync, getConditionClassName, getConditionClassNameNode, getConditionClassNameNodeAsync, getConditionSubClassId, getConditionSubClassIdNode, getConditionSubClassIdNodeAsync, getConditionSubClassName, getConditionSubClassNameNode, getConditionSubClassNameNodeAsync, 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, readConditionClassId, readConditionClassIdAsync, readConditionClassName, readConditionClassNameAsync, readConditionSubClassId, readConditionSubClassIdAsync, readConditionSubClassName, readConditionSubClassNameAsync, readEventId, readEventIdAsync, readEventType, readEventTypeAsync, readLocalTime, readLocalTimeAsync, readMessage, readMessageAsync, readReceiveTime, readReceiveTimeAsync, readSeverity, readSeverityAsync, readSourceName, readSourceNameAsync, readSourceNode, readSourceNodeAsync, readTime, readTimeAsync, setConditionClassId, setConditionClassName, setConditionSubClassId, setConditionSubClassName, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSeverity, setSourceName, setSourceNode, setTime, writeConditionClassId, writeConditionClassIdAsync, writeConditionClassName, writeConditionClassNameAsync, writeConditionSubClassId, writeConditionSubClassIdAsync, writeConditionSubClassName, writeConditionSubClassNameAsync, 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.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
-
TransitionEventTypeNode
public TransitionEventTypeNode(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
-
getTransition
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getTransition() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:TransitionEventTypeGet the local value of the Transition Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getTransitionin interfaceTransitionEventType- Returns:
- the local value of the Transition Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Transition Node.
-
setTransition
public void setTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:TransitionEventTypeSet the local value of the Transition Node.The value is only updated locally; it is not written to the server.
- Specified by:
setTransitionin interfaceTransitionEventType- Parameters:
value- the local value to set for the Transition Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Transition Node.
-
readTransition
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readTransition() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:TransitionEventTypeRead the value of the Transition Node from the server and update the local value if the operation succeeds.- Specified by:
readTransitionin interfaceTransitionEventType- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeTransition
public void writeTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:TransitionEventTypeWrite a new value for the Transition Node to the server and update the local value if the operation succeeds.- Specified by:
writeTransitionin interfaceTransitionEventType- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readTransitionAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readTransitionAsync()Description copied from interface:TransitionEventTypeAn asynchronous implementation ofTransitionEventType.readTransition().- Specified by:
readTransitionAsyncin interfaceTransitionEventType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTransitionAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTransitionAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText transition) Description copied from interface:TransitionEventTypeAn asynchronous implementation ofTransitionEventType.writeTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writeTransitionAsyncin interfaceTransitionEventType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTransitionNode
public TransitionVariableTypeNode getTransitionNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:TransitionEventTypeGet the TransitionTransitionVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getTransitionNodein interfaceTransitionEventType- Returns:
- the Transition
TransitionVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getTransitionNodeAsync
Description copied from interface:TransitionEventTypeAsynchronous implementation ofTransitionEventType.getTransitionNode().- Specified by:
getTransitionNodeAsyncin interfaceTransitionEventType- Returns:
- a CompletableFuture that completes successfully with the TransitionVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getFromState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getFromState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:TransitionEventTypeGet the local value of the FromState Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getFromStatein interfaceTransitionEventType- Returns:
- the local value of the FromState Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the FromState Node.
-
setFromState
public void setFromState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:TransitionEventTypeSet the local value of the FromState Node.The value is only updated locally; it is not written to the server.
- Specified by:
setFromStatein interfaceTransitionEventType- Parameters:
value- the local value to set for the FromState Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the FromState Node.
-
readFromState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readFromState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:TransitionEventTypeRead the value of the FromState Node from the server and update the local value if the operation succeeds.- Specified by:
readFromStatein interfaceTransitionEventType- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeFromState
public void writeFromState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:TransitionEventTypeWrite a new value for the FromState Node to the server and update the local value if the operation succeeds.- Specified by:
writeFromStatein interfaceTransitionEventType- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readFromStateAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readFromStateAsync()Description copied from interface:TransitionEventTypeAn asynchronous implementation ofTransitionEventType.readFromState().- Specified by:
readFromStateAsyncin interfaceTransitionEventType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeFromStateAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeFromStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText fromState) Description copied from interface:TransitionEventTypeAn asynchronous implementation ofTransitionEventType.writeFromState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writeFromStateAsyncin interfaceTransitionEventType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getFromStateNode
public StateVariableTypeNode getFromStateNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:TransitionEventTypeGet the FromStateStateVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getFromStateNodein interfaceTransitionEventType- Returns:
- the FromState
StateVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getFromStateNodeAsync
Description copied from interface:TransitionEventTypeAsynchronous implementation ofTransitionEventType.getFromStateNode().- Specified by:
getFromStateNodeAsyncin interfaceTransitionEventType- Returns:
- a CompletableFuture that completes successfully with the StateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getToState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getToState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:TransitionEventTypeGet the local value of the ToState Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getToStatein interfaceTransitionEventType- Returns:
- the local value of the ToState Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ToState Node.
-
setToState
public void setToState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:TransitionEventTypeSet the local value of the ToState Node.The value is only updated locally; it is not written to the server.
- Specified by:
setToStatein interfaceTransitionEventType- Parameters:
value- the local value to set for the ToState Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ToState Node.
-
readToState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readToState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:TransitionEventTypeRead the value of the ToState Node from the server and update the local value if the operation succeeds.- Specified by:
readToStatein interfaceTransitionEventType- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeToState
public void writeToState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:TransitionEventTypeWrite a new value for the ToState Node to the server and update the local value if the operation succeeds.- Specified by:
writeToStatein interfaceTransitionEventType- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readToStateAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readToStateAsync()Description copied from interface:TransitionEventTypeAn asynchronous implementation ofTransitionEventType.readToState().- Specified by:
readToStateAsyncin interfaceTransitionEventType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeToStateAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeToStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText toState) Description copied from interface:TransitionEventTypeAn asynchronous implementation ofTransitionEventType.writeToState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writeToStateAsyncin interfaceTransitionEventType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getToStateNode
Description copied from interface:TransitionEventTypeGet the ToStateStateVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getToStateNodein interfaceTransitionEventType- Returns:
- the ToState
StateVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getToStateNodeAsync
Description copied from interface:TransitionEventTypeAsynchronous implementation ofTransitionEventType.getToStateNode().- Specified by:
getToStateNodeAsyncin interfaceTransitionEventType- Returns:
- a CompletableFuture that completes successfully with the StateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-