Interface ServerStatusType
- All Superinterfaces:
BaseDataVariableType,BaseVariableType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
- All Known Implementing Classes:
ServerStatusTypeNode
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.structured.BuildInfoGet the local value of the BuildInfo Node.Get the BuildInfoBuildInfoTypeNode, ornullif it does not exist.CompletableFuture<? extends BuildInfoType>Asynchronous implementation ofgetBuildInfoNode().org.eclipse.milo.opcua.stack.core.types.builtin.DateTimeGet the local value of the CurrentTime Node.Get the CurrentTimeBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableType>Asynchronous implementation ofgetCurrentTimeNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerGet the local value of the SecondsTillShutdown Node.Get the SecondsTillShutdownBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableType>Asynchronous implementation ofgetSecondsTillShutdownNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the ShutdownReason Node.Get the ShutdownReasonBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableType>Asynchronous implementation ofgetShutdownReasonNode().org.eclipse.milo.opcua.stack.core.types.builtin.DateTimeGet the local value of the StartTime Node.Get the StartTimeBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableType>Asynchronous implementation ofgetStartTimeNode().org.eclipse.milo.opcua.stack.core.types.enumerated.ServerStategetState()Get the local value of the State Node.Get the StateBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableType>Asynchronous implementation ofgetStateNode().org.eclipse.milo.opcua.stack.core.types.structured.BuildInfoRead the value of the BuildInfo Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo>An asynchronous implementation ofreadBuildInfo().org.eclipse.milo.opcua.stack.core.types.builtin.DateTimeRead the value of the CurrentTime Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime>An asynchronous implementation ofreadCurrentTime().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerRead the value of the SecondsTillShutdown Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger>An asynchronous implementation ofreadSecondsTillShutdown().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the ShutdownReason 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 ofreadShutdownReason().org.eclipse.milo.opcua.stack.core.types.builtin.DateTimeRead the value of the StartTime Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime>An asynchronous implementation ofreadStartTime().org.eclipse.milo.opcua.stack.core.types.enumerated.ServerStateRead the value of the State Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState>An asynchronous implementation ofreadState().voidsetBuildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo value) Set the local value of the BuildInfo Node.voidsetCurrentTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) Set the local value of the CurrentTime Node.voidsetSecondsTillShutdown(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Set the local value of the SecondsTillShutdown Node.voidsetShutdownReason(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the ShutdownReason Node.voidsetStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) Set the local value of the StartTime Node.voidsetState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState value) Set the local value of the State Node.voidwriteBuildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo value) Write a new value for the BuildInfo Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeBuildInfoAsync(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo value) An asynchronous implementation ofwriteBuildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo).voidwriteCurrentTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) Write a new value for the CurrentTime Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeCurrentTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) An asynchronous implementation ofwriteCurrentTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).voidwriteSecondsTillShutdown(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Write a new value for the SecondsTillShutdown Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeSecondsTillShutdownAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) An asynchronous implementation ofwriteSecondsTillShutdown(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).voidwriteShutdownReason(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the ShutdownReason Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeShutdownReasonAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) An asynchronous implementation ofwriteShutdownReason(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).voidwriteStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) Write a new value for the StartTime Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeStartTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) An asynchronous implementation ofwriteStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).voidwriteState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState value) Write a new value for the State Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeStateAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState value) An asynchronous implementation ofwriteState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState).Methods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMaskMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getDataType, getHistorizing, getMinimumSamplingInterval, getUserAccessLevel, getValue, getValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValueRank
-
Method Details
-
getStartTime
org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getStartTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the StartTime Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the StartTime Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the StartTime Node.
-
setStartTime
void setStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the StartTime Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the StartTime Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the StartTime Node.
-
readStartTime
org.eclipse.milo.opcua.stack.core.types.builtin.DateTime readStartTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the StartTime Node from the server and update the local value if the operation succeeds.- Returns:
- the
DateTimevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeStartTime
void writeStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the StartTime Node to the server and update the local value if the operation succeeds.- Parameters:
value- theDateTimevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readStartTimeAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> readStartTimeAsync()An asynchronous implementation ofreadStartTime().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeStartTimeAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeStartTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) An asynchronous implementation ofwriteStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getStartTimeNode
Get the StartTimeBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the StartTime
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getStartTimeNodeAsync
CompletableFuture<? extends BaseDataVariableType> getStartTimeNodeAsync()Asynchronous implementation ofgetStartTimeNode().- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getCurrentTime
org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getCurrentTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the CurrentTime Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the CurrentTime Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CurrentTime Node.
-
setCurrentTime
void setCurrentTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the CurrentTime Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the CurrentTime Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CurrentTime Node.
-
readCurrentTime
org.eclipse.milo.opcua.stack.core.types.builtin.DateTime readCurrentTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the CurrentTime Node from the server and update the local value if the operation succeeds.- Returns:
- the
DateTimevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeCurrentTime
void writeCurrentTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the CurrentTime Node to the server and update the local value if the operation succeeds.- Parameters:
value- theDateTimevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readCurrentTimeAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> readCurrentTimeAsync()An asynchronous implementation ofreadCurrentTime().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeCurrentTimeAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeCurrentTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) An asynchronous implementation ofwriteCurrentTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getCurrentTimeNode
Get the CurrentTimeBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the CurrentTime
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getCurrentTimeNodeAsync
CompletableFuture<? extends BaseDataVariableType> getCurrentTimeNodeAsync()Asynchronous implementation ofgetCurrentTimeNode().- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getState
org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState getState() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the State Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the State Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the State Node.
-
setState
void setState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the State Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the State Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the State Node.
-
readState
org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState readState() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the State Node from the server and update the local value if the operation succeeds.- Returns:
- the
ServerStatevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeState
void writeState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the State Node to the server and update the local value if the operation succeeds.- Parameters:
value- theServerStatevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readStateAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState> readStateAsync()An asynchronous implementation ofreadState().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeStateAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeStateAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState value) An asynchronous implementation ofwriteState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getStateNode
Get the StateBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the State
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getStateNodeAsync
CompletableFuture<? extends BaseDataVariableType> getStateNodeAsync()Asynchronous implementation ofgetStateNode().- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getBuildInfo
org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo getBuildInfo() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the BuildInfo Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the BuildInfo Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the BuildInfo Node.
-
setBuildInfo
void setBuildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the BuildInfo Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the BuildInfo Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the BuildInfo Node.
-
readBuildInfo
org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo readBuildInfo() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the BuildInfo Node from the server and update the local value if the operation succeeds.- Returns:
- the
BuildInfovalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeBuildInfo
void writeBuildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the BuildInfo Node to the server and update the local value if the operation succeeds.- Parameters:
value- theBuildInfovalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readBuildInfoAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo> readBuildInfoAsync()An asynchronous implementation ofreadBuildInfo().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeBuildInfoAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeBuildInfoAsync(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo value) An asynchronous implementation ofwriteBuildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getBuildInfoNode
Get the BuildInfoBuildInfoTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the BuildInfo
BuildInfoTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getBuildInfoNodeAsync
CompletableFuture<? extends BuildInfoType> getBuildInfoNodeAsync()Asynchronous implementation ofgetBuildInfoNode().- Returns:
- a CompletableFuture that completes successfully with the BuildInfoType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getSecondsTillShutdown
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getSecondsTillShutdown() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the SecondsTillShutdown Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the SecondsTillShutdown Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the SecondsTillShutdown Node.
-
setSecondsTillShutdown
void setSecondsTillShutdown(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the SecondsTillShutdown Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the SecondsTillShutdown Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the SecondsTillShutdown Node.
-
readSecondsTillShutdown
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readSecondsTillShutdown() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the SecondsTillShutdown Node from the server and update the local value if the operation succeeds.- Returns:
- the
UIntegervalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeSecondsTillShutdown
void writeSecondsTillShutdown(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the SecondsTillShutdown Node to the server and update the local value if the operation succeeds.- Parameters:
value- theUIntegervalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readSecondsTillShutdownAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readSecondsTillShutdownAsync()An asynchronous implementation ofreadSecondsTillShutdown().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSecondsTillShutdownAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSecondsTillShutdownAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) An asynchronous implementation ofwriteSecondsTillShutdown(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSecondsTillShutdownNode
BaseDataVariableType getSecondsTillShutdownNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the SecondsTillShutdownBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the SecondsTillShutdown
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getSecondsTillShutdownNodeAsync
CompletableFuture<? extends BaseDataVariableType> getSecondsTillShutdownNodeAsync()Asynchronous implementation ofgetSecondsTillShutdownNode().- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getShutdownReason
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getShutdownReason() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the ShutdownReason Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the ShutdownReason Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ShutdownReason Node.
-
setShutdownReason
void setShutdownReason(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the ShutdownReason Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the ShutdownReason Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ShutdownReason Node.
-
readShutdownReason
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readShutdownReason() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the ShutdownReason 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.
-
writeShutdownReason
void writeShutdownReason(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the ShutdownReason 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.
-
readShutdownReasonAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readShutdownReasonAsync()An asynchronous implementation ofreadShutdownReason().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeShutdownReasonAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeShutdownReasonAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) An asynchronous implementation ofwriteShutdownReason(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.
-
getShutdownReasonNode
Get the ShutdownReasonBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the ShutdownReason
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getShutdownReasonNodeAsync
CompletableFuture<? extends BaseDataVariableType> getShutdownReasonNodeAsync()Asynchronous implementation ofgetShutdownReasonNode().- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-