Interface TransitionEventType
- All Superinterfaces:
BaseEventType,BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- All Known Subinterfaces:
ProgramTransitionEventType
- All Known Implementing Classes:
ProgramTransitionEventTypeNode,TransitionEventTypeNode
-
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 -
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 StateVariableType>Asynchronous implementation ofgetFromStateNode().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 StateVariableType>Asynchronous implementation ofgetToStateNode().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 TransitionVariableType>Asynchronous implementation ofgetTransitionNode().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 ofreadFromState().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 ofreadToState().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 ofreadTransition().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 value) An asynchronous implementation ofwriteFromState(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 value) An asynchronous implementation ofwriteToState(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 value) An asynchronous implementation ofwriteTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).Methods 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
-
Method Details
-
getTransition
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getTransition() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the Transition Node.The returned value is the last seen; it is not read live from the server.
- 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
void setTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the Transition Node.The value is only updated locally; it is not written to the server.
- 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
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readTransition() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the Transition Node from the server and update the local value if the operation succeeds.- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeTransition
void writeTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the Transition Node to the server and update the local value if the operation succeeds.- 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
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readTransitionAsync()An asynchronous implementation ofreadTransition().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTransitionAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTransitionAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) An asynchronous implementation ofwriteTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTransitionNode
Get the TransitionTransitionVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends TransitionVariableType> getTransitionNodeAsync()Asynchronous implementation ofgetTransitionNode().- Returns:
- a CompletableFuture that completes successfully with the TransitionVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getFromState
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getFromState() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the FromState Node.The returned value is the last seen; it is not read live from the server.
- 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
void setFromState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the FromState Node.The value is only updated locally; it is not written to the server.
- 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
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readFromState() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the FromState Node from the server and update the local value if the operation succeeds.- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeFromState
void writeFromState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the FromState Node to the server and update the local value if the operation succeeds.- 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
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readFromStateAsync()An asynchronous implementation ofreadFromState().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeFromStateAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeFromStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) An asynchronous implementation ofwriteFromState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getFromStateNode
Get the FromStateStateVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends StateVariableType> getFromStateNodeAsync()Asynchronous implementation ofgetFromStateNode().- Returns:
- a CompletableFuture that completes successfully with the StateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getToState
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getToState() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the ToState Node.The returned value is the last seen; it is not read live from the server.
- 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
void setToState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the ToState Node.The value is only updated locally; it is not written to the server.
- 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
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readToState() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the ToState Node from the server and update the local value if the operation succeeds.- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeToState
void writeToState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the ToState Node to the server and update the local value if the operation succeeds.- 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
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readToStateAsync()An asynchronous implementation ofreadToState().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeToStateAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeToStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) An asynchronous implementation ofwriteToState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getToStateNode
Get the ToStateStateVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- 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
CompletableFuture<? extends StateVariableType> getToStateNodeAsync()Asynchronous implementation ofgetToStateNode().- Returns:
- a CompletableFuture that completes successfully with the StateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-