Interface NonTransparentBackupRedundancyType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,NonTransparentRedundancyType,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode,ServerRedundancyType
- All Known Implementing Classes:
NonTransparentBackupRedundancyTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]>Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.NonTransparentRedundancyType
SERVER_URI_ARRAYFields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.ServerRedundancyType
REDUNDANCY_SUPPORT -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerModegetMode()Get the local value of the Mode Node.Get the ModePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetModeNode().org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]Get the local value of the RedundantServerArray Node.Get the RedundantServerArrayPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetRedundantServerArrayNode().org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerModereadMode()Read the value of the Mode Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode>An asynchronous implementation ofreadMode().org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]Read the value of the RedundantServerArray Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]>An asynchronous implementation ofreadRedundantServerArray().voidsetMode(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode value) Set the local value of the Mode Node.voidsetRedundantServerArray(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] value) Set the local value of the RedundantServerArray Node.voidwriteMode(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode value) Write a new value for the Mode Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeModeAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode value) An asynchronous implementation ofwriteMode(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode).voidwriteRedundantServerArray(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] value) Write a new value for the RedundantServerArray Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeRedundantServerArrayAsync(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] value) An asynchronous implementation ofwriteRedundantServerArray(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]).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.client.model.objects.NonTransparentRedundancyType
getServerUriArray, getServerUriArrayNode, getServerUriArrayNodeAsync, readServerUriArray, readServerUriArrayAsync, setServerUriArray, writeServerUriArray, writeServerUriArrayAsyncMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
getEventNotifier, setEventNotifierMethods inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.ServerRedundancyType
getRedundancySupport, getRedundancySupportNode, getRedundancySupportNodeAsync, readRedundancySupport, readRedundancySupportAsync, setRedundancySupport, writeRedundancySupport, writeRedundancySupportAsync
-
Field Details
-
REDUNDANT_SERVER_ARRAY
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]> REDUNDANT_SERVER_ARRAY -
MODE
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode> MODE
-
-
Method Details
-
getRedundantServerArray
org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] getRedundantServerArray() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the RedundantServerArray Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getRedundantServerArrayin interfaceServerRedundancyType- Returns:
- the local value of the RedundantServerArray Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the RedundantServerArray Node.
-
setRedundantServerArray
void setRedundantServerArray(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the RedundantServerArray Node.The value is only updated locally; it is not written to the server.
- Specified by:
setRedundantServerArrayin interfaceServerRedundancyType- Parameters:
value- the local value to set for the RedundantServerArray Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the RedundantServerArray Node.
-
readRedundantServerArray
org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] readRedundantServerArray() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the RedundantServerArray Node from the server and update the local value if the operation succeeds.- Specified by:
readRedundantServerArrayin interfaceServerRedundancyType- Returns:
- the
RedundantServerDataTypevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeRedundantServerArray
void writeRedundantServerArray(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the RedundantServerArray Node to the server and update the local value if the operation succeeds.- Specified by:
writeRedundantServerArrayin interfaceServerRedundancyType- Parameters:
value- theRedundantServerDataTypevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readRedundantServerArrayAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]> readRedundantServerArrayAsync()An asynchronous implementation ofreadRedundantServerArray().- Specified by:
readRedundantServerArrayAsyncin interfaceServerRedundancyType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeRedundantServerArrayAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeRedundantServerArrayAsync(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] value) An asynchronous implementation ofwriteRedundantServerArray(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]).- Specified by:
writeRedundantServerArrayAsyncin interfaceServerRedundancyType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getRedundantServerArrayNode
Get the RedundantServerArrayPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getRedundantServerArrayNodein interfaceServerRedundancyType- Returns:
- the RedundantServerArray
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getRedundantServerArrayNodeAsync
CompletableFuture<? extends PropertyType> getRedundantServerArrayNodeAsync()Asynchronous implementation ofgetRedundantServerArrayNode().- Specified by:
getRedundantServerArrayNodeAsyncin interfaceServerRedundancyType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getMode
org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode getMode() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the Mode Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the Mode Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Mode Node.
-
setMode
void setMode(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the Mode Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the Mode Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Mode Node.
-
readMode
org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode readMode() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the Mode Node from the server and update the local value if the operation succeeds.- Returns:
- the
RedundantServerModevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeMode
void writeMode(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the Mode Node to the server and update the local value if the operation succeeds.- Parameters:
value- theRedundantServerModevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readModeAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode> readModeAsync()An asynchronous implementation ofreadMode().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeModeAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeModeAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode value) An asynchronous implementation ofwriteMode(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundantServerMode).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getModeNode
Get the ModePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Mode
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getModeNodeAsync
CompletableFuture<? extends PropertyType> getModeNodeAsync()Asynchronous implementation ofgetModeNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-