Class ServerStatusTypeNode
- All Implemented Interfaces:
BaseDataVariableType,BaseVariableType,ServerStatusType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionServerStatusTypeNode(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.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx) -
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 BuildInfoTypeNode>Asynchronous implementation ofServerStatusType.getBuildInfoNode().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 BaseDataVariableTypeNode>Asynchronous implementation ofServerStatusType.getCurrentTimeNode().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 BaseDataVariableTypeNode>Asynchronous implementation ofServerStatusType.getSecondsTillShutdownNode().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 BaseDataVariableTypeNode>Asynchronous implementation ofServerStatusType.getShutdownReasonNode().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 BaseDataVariableTypeNode>Asynchronous implementation ofServerStatusType.getStartTimeNode().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 BaseDataVariableTypeNode>Asynchronous implementation ofServerStatusType.getStateNode().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 ofServerStatusType.readBuildInfo().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 ofServerStatusType.readCurrentTime().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 ofServerStatusType.readSecondsTillShutdown().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 ofServerStatusType.readShutdownReason().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 ofServerStatusType.readStartTime().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 ofServerStatusType.readState().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 buildInfo) An asynchronous implementation ofServerStatusType.writeBuildInfo(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 currentTime) An asynchronous implementation ofServerStatusType.writeCurrentTime(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 secondsTillShutdown) An asynchronous implementation ofServerStatusType.writeSecondsTillShutdown(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 shutdownReason) An asynchronous implementation ofServerStatusType.writeShutdownReason(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 startTime) An asynchronous implementation ofServerStatusType.writeStartTime(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 state) An asynchronous implementation ofServerStatusType.writeState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState).Methods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaVariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getAttributeValue, getDataType, getHistorizing, getMinimumSamplingInterval, getTypeDefinition, getTypeDefinitionAsync, getUserAccessLevel, getValue, getValueRank, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readAccessLevel, readAccessLevelEx, readAllowNullsAsync, readArrayDimensions, readDataType, readDataTypeVersionAsync, readDictionaryFragmentAsync, readEngineeringUnitsAsync, readHistorizing, readLocalTimeAsync, readMaxArrayLengthAsync, readMaxStringLengthAsync, readMinimumSamplingInterval, readNodeVersionAsync, readUserAccessLevel, readValue, readValueAsTextAsync, readValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setAttributeValue, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValue, setValueRank, writeAccessLevel, writeAccessLevelEx, writeAllowNullsAsync, writeArrayDimensions, writeDataType, writeDataTypeVersionAsync, writeDictionaryFragmentAsync, writeEngineeringUnitsAsync, writeHistorizing, writeLocalTimeAsync, writeMaxArrayLengthAsync, writeMaxStringLengthAsync, writeMinimumSamplingInterval, writeNodeVersionAsync, writeUserAccessLevel, writeValue, writeValue, writeValueAsTextAsync, writeValueRankMethods 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.VariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getDataType, getHistorizing, getMinimumSamplingInterval, getUserAccessLevel, getValue, getValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValueRank
-
Constructor Details
-
ServerStatusTypeNode
public ServerStatusTypeNode(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.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx)
-
-
Method Details
-
getStartTime
public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getStartTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the local value of the StartTime Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getStartTimein interfaceServerStatusType- 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
public void setStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeSet the local value of the StartTime Node.The value is only updated locally; it is not written to the server.
- Specified by:
setStartTimein interfaceServerStatusType- 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
public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime readStartTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeRead the value of the StartTime Node from the server and update the local value if the operation succeeds.- Specified by:
readStartTimein interfaceServerStatusType- Returns:
- the
DateTimevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeStartTime
public void writeStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeWrite a new value for the StartTime Node to the server and update the local value if the operation succeeds.- Specified by:
writeStartTimein interfaceServerStatusType- 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
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> readStartTimeAsync()Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.readStartTime().- Specified by:
readStartTimeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeStartTimeAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeStartTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime startTime) Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.writeStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).- Specified by:
writeStartTimeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getStartTimeNode
public BaseDataVariableTypeNode getStartTimeNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the StartTimeBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getStartTimeNodein interfaceServerStatusType- 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
Description copied from interface:ServerStatusTypeAsynchronous implementation ofServerStatusType.getStartTimeNode().- Specified by:
getStartTimeNodeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getCurrentTime
public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getCurrentTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the local value of the CurrentTime Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getCurrentTimein interfaceServerStatusType- 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
public void setCurrentTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeSet the local value of the CurrentTime Node.The value is only updated locally; it is not written to the server.
- Specified by:
setCurrentTimein interfaceServerStatusType- 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
public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime readCurrentTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeRead the value of the CurrentTime Node from the server and update the local value if the operation succeeds.- Specified by:
readCurrentTimein interfaceServerStatusType- Returns:
- the
DateTimevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeCurrentTime
public void writeCurrentTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeWrite a new value for the CurrentTime Node to the server and update the local value if the operation succeeds.- Specified by:
writeCurrentTimein interfaceServerStatusType- 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
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> readCurrentTimeAsync()Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.readCurrentTime().- Specified by:
readCurrentTimeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeCurrentTimeAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeCurrentTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime currentTime) Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.writeCurrentTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).- Specified by:
writeCurrentTimeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getCurrentTimeNode
public BaseDataVariableTypeNode getCurrentTimeNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the CurrentTimeBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getCurrentTimeNodein interfaceServerStatusType- 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
Description copied from interface:ServerStatusTypeAsynchronous implementation ofServerStatusType.getCurrentTimeNode().- Specified by:
getCurrentTimeNodeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getState
public org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState getState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the local value of the State Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getStatein interfaceServerStatusType- 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
public void setState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeSet the local value of the State Node.The value is only updated locally; it is not written to the server.
- Specified by:
setStatein interfaceServerStatusType- 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
public org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState readState() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeRead the value of the State Node from the server and update the local value if the operation succeeds.- Specified by:
readStatein interfaceServerStatusType- Returns:
- the
ServerStatevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeState
public void writeState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeWrite a new value for the State Node to the server and update the local value if the operation succeeds.- Specified by:
writeStatein interfaceServerStatusType- 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
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState> readStateAsync()Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.readState().- Specified by:
readStateAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeStateAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeStateAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState state) Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.writeState(org.eclipse.milo.opcua.stack.core.types.enumerated.ServerState).- Specified by:
writeStateAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getStateNode
Description copied from interface:ServerStatusTypeGet the StateBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getStateNodein interfaceServerStatusType- 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
Description copied from interface:ServerStatusTypeAsynchronous implementation ofServerStatusType.getStateNode().- Specified by:
getStateNodeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getBuildInfo
public org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo getBuildInfo() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the local value of the BuildInfo Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getBuildInfoin interfaceServerStatusType- 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
public void setBuildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeSet the local value of the BuildInfo Node.The value is only updated locally; it is not written to the server.
- Specified by:
setBuildInfoin interfaceServerStatusType- 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
public org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo readBuildInfo() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeRead the value of the BuildInfo Node from the server and update the local value if the operation succeeds.- Specified by:
readBuildInfoin interfaceServerStatusType- Returns:
- the
BuildInfovalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeBuildInfo
public void writeBuildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeWrite a new value for the BuildInfo Node to the server and update the local value if the operation succeeds.- Specified by:
writeBuildInfoin interfaceServerStatusType- 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
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo> readBuildInfoAsync()Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.readBuildInfo().- Specified by:
readBuildInfoAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeBuildInfoAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeBuildInfoAsync(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo buildInfo) Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.writeBuildInfo(org.eclipse.milo.opcua.stack.core.types.structured.BuildInfo).- Specified by:
writeBuildInfoAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getBuildInfoNode
Description copied from interface:ServerStatusTypeGet the BuildInfoBuildInfoTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getBuildInfoNodein interfaceServerStatusType- 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
Description copied from interface:ServerStatusTypeAsynchronous implementation ofServerStatusType.getBuildInfoNode().- Specified by:
getBuildInfoNodeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the BuildInfoType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getSecondsTillShutdown
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getSecondsTillShutdown() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the local value of the SecondsTillShutdown Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getSecondsTillShutdownin interfaceServerStatusType- 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
public void setSecondsTillShutdown(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeSet the local value of the SecondsTillShutdown Node.The value is only updated locally; it is not written to the server.
- Specified by:
setSecondsTillShutdownin interfaceServerStatusType- 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
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readSecondsTillShutdown() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeRead the value of the SecondsTillShutdown Node from the server and update the local value if the operation succeeds.- Specified by:
readSecondsTillShutdownin interfaceServerStatusType- Returns:
- the
UIntegervalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeSecondsTillShutdown
public void writeSecondsTillShutdown(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeWrite a new value for the SecondsTillShutdown Node to the server and update the local value if the operation succeeds.- Specified by:
writeSecondsTillShutdownin interfaceServerStatusType- 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
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readSecondsTillShutdownAsync()Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.readSecondsTillShutdown().- Specified by:
readSecondsTillShutdownAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSecondsTillShutdownAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSecondsTillShutdownAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger secondsTillShutdown) Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.writeSecondsTillShutdown(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).- Specified by:
writeSecondsTillShutdownAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSecondsTillShutdownNode
public BaseDataVariableTypeNode getSecondsTillShutdownNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the SecondsTillShutdownBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getSecondsTillShutdownNodein interfaceServerStatusType- 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
Description copied from interface:ServerStatusTypeAsynchronous implementation ofServerStatusType.getSecondsTillShutdownNode().- Specified by:
getSecondsTillShutdownNodeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getShutdownReason
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getShutdownReason() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the local value of the ShutdownReason Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getShutdownReasonin interfaceServerStatusType- 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
public void setShutdownReason(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeSet the local value of the ShutdownReason Node.The value is only updated locally; it is not written to the server.
- Specified by:
setShutdownReasonin interfaceServerStatusType- 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
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readShutdownReason() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeRead the value of the ShutdownReason Node from the server and update the local value if the operation succeeds.- Specified by:
readShutdownReasonin interfaceServerStatusType- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeShutdownReason
public void writeShutdownReason(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ServerStatusTypeWrite a new value for the ShutdownReason Node to the server and update the local value if the operation succeeds.- Specified by:
writeShutdownReasonin interfaceServerStatusType- 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
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readShutdownReasonAsync()Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.readShutdownReason().- Specified by:
readShutdownReasonAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeShutdownReasonAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeShutdownReasonAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText shutdownReason) Description copied from interface:ServerStatusTypeAn asynchronous implementation ofServerStatusType.writeShutdownReason(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writeShutdownReasonAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getShutdownReasonNode
public BaseDataVariableTypeNode getShutdownReasonNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ServerStatusTypeGet the ShutdownReasonBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getShutdownReasonNodein interfaceServerStatusType- 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
Description copied from interface:ServerStatusTypeAsynchronous implementation ofServerStatusType.getShutdownReasonNode().- Specified by:
getShutdownReasonNodeAsyncin interfaceServerStatusType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-