Class FiniteStateMachineTypeNode
- All Implemented Interfaces:
BaseObjectType,FiniteStateMachineType,StateMachineType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- Direct Known Subclasses:
ExclusiveLimitStateMachineTypeNode,FileTransferStateMachineTypeNode,ProgramStateMachineTypeNode,ShelvedStateMachineTypeNode
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionFiniteStateMachineTypeNode(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.NodeId[]Get the local value of the AvailableStates Node.Get the AvailableStatesBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofFiniteStateMachineType.getAvailableStatesNode().org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]Get the local value of the AvailableTransitions Node.Get the AvailableTransitionsBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofFiniteStateMachineType.getAvailableTransitionsNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the CurrentState Node.Get the CurrentStateStateVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends FiniteStateVariableTypeNode>Asynchronous implementation ofStateMachineType.getCurrentStateNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the LastTransition Node.Get the LastTransitionTransitionVariableTypeNode, ornullif it does not exist.Asynchronous implementation ofStateMachineType.getLastTransitionNode().org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]Read the value of the AvailableStates Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]>An asynchronous implementation ofFiniteStateMachineType.readAvailableStates().org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]Read the value of the AvailableTransitions Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]>An asynchronous implementation ofFiniteStateMachineType.readAvailableTransitions().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the CurrentState 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 ofStateMachineType.readCurrentState().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the LastTransition 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 ofStateMachineType.readLastTransition().voidsetAvailableStates(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) Set the local value of the AvailableStates Node.voidsetAvailableTransitions(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) Set the local value of the AvailableTransitions Node.voidsetCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the CurrentState Node.voidsetLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the LastTransition Node.voidwriteAvailableStates(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) Write a new value for the AvailableStates Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeAvailableStatesAsync(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] availableStates) An asynchronous implementation ofFiniteStateMachineType.writeAvailableStates(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]).voidwriteAvailableTransitions(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) Write a new value for the AvailableTransitions Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeAvailableTransitionsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] availableTransitions) An asynchronous implementation ofFiniteStateMachineType.writeAvailableTransitions(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]).voidwriteCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the CurrentState Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeCurrentStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText currentState) An asynchronous implementation ofStateMachineType.writeCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).voidwriteLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the LastTransition Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeLastTransitionAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText lastTransition) An asynchronous implementation ofStateMachineType.writeLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).Methods 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.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
-
FiniteStateMachineTypeNode
public FiniteStateMachineTypeNode(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
-
getCurrentState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getCurrentState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:StateMachineTypeGet the local value of the CurrentState Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getCurrentStatein interfaceFiniteStateMachineType- Specified by:
getCurrentStatein interfaceStateMachineType- Overrides:
getCurrentStatein classStateMachineTypeNode- Returns:
- the local value of the CurrentState Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CurrentState Node.
-
setCurrentState
public void setCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:StateMachineTypeSet the local value of the CurrentState Node.The value is only updated locally; it is not written to the server.
- Specified by:
setCurrentStatein interfaceFiniteStateMachineType- Specified by:
setCurrentStatein interfaceStateMachineType- Overrides:
setCurrentStatein classStateMachineTypeNode- Parameters:
value- the local value to set for the CurrentState Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CurrentState Node.
-
readCurrentState
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readCurrentState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:StateMachineTypeRead the value of the CurrentState Node from the server and update the local value if the operation succeeds.- Specified by:
readCurrentStatein interfaceFiniteStateMachineType- Specified by:
readCurrentStatein interfaceStateMachineType- Overrides:
readCurrentStatein classStateMachineTypeNode- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeCurrentState
public void writeCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:StateMachineTypeWrite a new value for the CurrentState Node to the server and update the local value if the operation succeeds.- Specified by:
writeCurrentStatein interfaceFiniteStateMachineType- Specified by:
writeCurrentStatein interfaceStateMachineType- Overrides:
writeCurrentStatein classStateMachineTypeNode- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readCurrentStateAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readCurrentStateAsync()Description copied from interface:StateMachineTypeAn asynchronous implementation ofStateMachineType.readCurrentState().- Specified by:
readCurrentStateAsyncin interfaceFiniteStateMachineType- Specified by:
readCurrentStateAsyncin interfaceStateMachineType- Overrides:
readCurrentStateAsyncin classStateMachineTypeNode- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeCurrentStateAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeCurrentStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText currentState) Description copied from interface:StateMachineTypeAn asynchronous implementation ofStateMachineType.writeCurrentState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writeCurrentStateAsyncin interfaceFiniteStateMachineType- Specified by:
writeCurrentStateAsyncin interfaceStateMachineType- Overrides:
writeCurrentStateAsyncin classStateMachineTypeNode- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getCurrentStateNode
public FiniteStateVariableTypeNode getCurrentStateNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:StateMachineTypeGet the CurrentStateStateVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getCurrentStateNodein interfaceFiniteStateMachineType- Specified by:
getCurrentStateNodein interfaceStateMachineType- Overrides:
getCurrentStateNodein classStateMachineTypeNode- Returns:
- the CurrentState
StateVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getCurrentStateNodeAsync
Description copied from interface:StateMachineTypeAsynchronous implementation ofStateMachineType.getCurrentStateNode().- Specified by:
getCurrentStateNodeAsyncin interfaceFiniteStateMachineType- Specified by:
getCurrentStateNodeAsyncin interfaceStateMachineType- Overrides:
getCurrentStateNodeAsyncin classStateMachineTypeNode- Returns:
- a CompletableFuture that completes successfully with the StateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getLastTransition
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getLastTransition() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:StateMachineTypeGet the local value of the LastTransition Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getLastTransitionin interfaceFiniteStateMachineType- Specified by:
getLastTransitionin interfaceStateMachineType- Overrides:
getLastTransitionin classStateMachineTypeNode- Returns:
- the local value of the LastTransition Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the LastTransition Node.
-
setLastTransition
public void setLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:StateMachineTypeSet the local value of the LastTransition Node.The value is only updated locally; it is not written to the server.
- Specified by:
setLastTransitionin interfaceFiniteStateMachineType- Specified by:
setLastTransitionin interfaceStateMachineType- Overrides:
setLastTransitionin classStateMachineTypeNode- Parameters:
value- the local value to set for the LastTransition Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the LastTransition Node.
-
readLastTransition
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readLastTransition() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:StateMachineTypeRead the value of the LastTransition Node from the server and update the local value if the operation succeeds.- Specified by:
readLastTransitionin interfaceFiniteStateMachineType- Specified by:
readLastTransitionin interfaceStateMachineType- Overrides:
readLastTransitionin classStateMachineTypeNode- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeLastTransition
public void writeLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:StateMachineTypeWrite a new value for the LastTransition Node to the server and update the local value if the operation succeeds.- Specified by:
writeLastTransitionin interfaceFiniteStateMachineType- Specified by:
writeLastTransitionin interfaceStateMachineType- Overrides:
writeLastTransitionin classStateMachineTypeNode- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readLastTransitionAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readLastTransitionAsync()Description copied from interface:StateMachineTypeAn asynchronous implementation ofStateMachineType.readLastTransition().- Specified by:
readLastTransitionAsyncin interfaceFiniteStateMachineType- Specified by:
readLastTransitionAsyncin interfaceStateMachineType- Overrides:
readLastTransitionAsyncin classStateMachineTypeNode- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeLastTransitionAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeLastTransitionAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText lastTransition) Description copied from interface:StateMachineTypeAn asynchronous implementation ofStateMachineType.writeLastTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writeLastTransitionAsyncin interfaceFiniteStateMachineType- Specified by:
writeLastTransitionAsyncin interfaceStateMachineType- Overrides:
writeLastTransitionAsyncin classStateMachineTypeNode- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getLastTransitionNode
public FiniteTransitionVariableTypeNode getLastTransitionNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:StateMachineTypeGet the LastTransitionTransitionVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getLastTransitionNodein interfaceFiniteStateMachineType- Specified by:
getLastTransitionNodein interfaceStateMachineType- Overrides:
getLastTransitionNodein classStateMachineTypeNode- Returns:
- the LastTransition
TransitionVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getLastTransitionNodeAsync
Description copied from interface:StateMachineTypeAsynchronous implementation ofStateMachineType.getLastTransitionNode().- Specified by:
getLastTransitionNodeAsyncin interfaceFiniteStateMachineType- Specified by:
getLastTransitionNodeAsyncin interfaceStateMachineType- Overrides:
getLastTransitionNodeAsyncin classStateMachineTypeNode- Returns:
- a CompletableFuture that completes successfully with the TransitionVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getAvailableStates
public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] getAvailableStates() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FiniteStateMachineTypeGet the local value of the AvailableStates Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getAvailableStatesin interfaceFiniteStateMachineType- Returns:
- the local value of the AvailableStates Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the AvailableStates Node.
-
setAvailableStates
public void setAvailableStates(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FiniteStateMachineTypeSet the local value of the AvailableStates Node.The value is only updated locally; it is not written to the server.
- Specified by:
setAvailableStatesin interfaceFiniteStateMachineType- Parameters:
value- the local value to set for the AvailableStates Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the AvailableStates Node.
-
readAvailableStates
public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] readAvailableStates() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FiniteStateMachineTypeRead the value of the AvailableStates Node from the server and update the local value if the operation succeeds.- Specified by:
readAvailableStatesin interfaceFiniteStateMachineType- Returns:
- the
NodeIdvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeAvailableStates
public void writeAvailableStates(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FiniteStateMachineTypeWrite a new value for the AvailableStates Node to the server and update the local value if the operation succeeds.- Specified by:
writeAvailableStatesin interfaceFiniteStateMachineType- Parameters:
value- theNodeIdvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readAvailableStatesAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]> readAvailableStatesAsync()Description copied from interface:FiniteStateMachineTypeAn asynchronous implementation ofFiniteStateMachineType.readAvailableStates().- Specified by:
readAvailableStatesAsyncin interfaceFiniteStateMachineType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeAvailableStatesAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAvailableStatesAsync(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] availableStates) Description copied from interface:FiniteStateMachineTypeAn asynchronous implementation ofFiniteStateMachineType.writeAvailableStates(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]).- Specified by:
writeAvailableStatesAsyncin interfaceFiniteStateMachineType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getAvailableStatesNode
public BaseDataVariableTypeNode getAvailableStatesNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FiniteStateMachineTypeGet the AvailableStatesBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getAvailableStatesNodein interfaceFiniteStateMachineType- Returns:
- the AvailableStates
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getAvailableStatesNodeAsync
Description copied from interface:FiniteStateMachineTypeAsynchronous implementation ofFiniteStateMachineType.getAvailableStatesNode().- Specified by:
getAvailableStatesNodeAsyncin interfaceFiniteStateMachineType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getAvailableTransitions
public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] getAvailableTransitions() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FiniteStateMachineTypeGet the local value of the AvailableTransitions Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getAvailableTransitionsin interfaceFiniteStateMachineType- Returns:
- the local value of the AvailableTransitions Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the AvailableTransitions Node.
-
setAvailableTransitions
public void setAvailableTransitions(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FiniteStateMachineTypeSet the local value of the AvailableTransitions Node.The value is only updated locally; it is not written to the server.
- Specified by:
setAvailableTransitionsin interfaceFiniteStateMachineType- Parameters:
value- the local value to set for the AvailableTransitions Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the AvailableTransitions Node.
-
readAvailableTransitions
public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] readAvailableTransitions() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FiniteStateMachineTypeRead the value of the AvailableTransitions Node from the server and update the local value if the operation succeeds.- Specified by:
readAvailableTransitionsin interfaceFiniteStateMachineType- Returns:
- the
NodeIdvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeAvailableTransitions
public void writeAvailableTransitions(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FiniteStateMachineTypeWrite a new value for the AvailableTransitions Node to the server and update the local value if the operation succeeds.- Specified by:
writeAvailableTransitionsin interfaceFiniteStateMachineType- Parameters:
value- theNodeIdvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readAvailableTransitionsAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]> readAvailableTransitionsAsync()Description copied from interface:FiniteStateMachineTypeAn asynchronous implementation ofFiniteStateMachineType.readAvailableTransitions().- Specified by:
readAvailableTransitionsAsyncin interfaceFiniteStateMachineType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeAvailableTransitionsAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAvailableTransitionsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] availableTransitions) Description copied from interface:FiniteStateMachineTypeAn asynchronous implementation ofFiniteStateMachineType.writeAvailableTransitions(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]).- Specified by:
writeAvailableTransitionsAsyncin interfaceFiniteStateMachineType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getAvailableTransitionsNode
public BaseDataVariableTypeNode getAvailableTransitionsNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FiniteStateMachineTypeGet the AvailableTransitionsBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getAvailableTransitionsNodein interfaceFiniteStateMachineType- Returns:
- the AvailableTransitions
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getAvailableTransitionsNodeAsync
Description copied from interface:FiniteStateMachineTypeAsynchronous implementation ofFiniteStateMachineType.getAvailableTransitionsNode().- Specified by:
getAvailableTransitionsNodeAsyncin interfaceFiniteStateMachineType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-