Interface ServerRedundancyType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- All Known Subinterfaces:
NonTransparentBackupRedundancyType,NonTransparentNetworkRedundancyType,NonTransparentRedundancyType,TransparentRedundancyType
- All Known Implementing Classes:
NonTransparentBackupRedundancyTypeNode,NonTransparentNetworkRedundancyTypeNode,NonTransparentRedundancyTypeNode,ServerRedundancyTypeNode,TransparentRedundancyTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]> -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupportGet the local value of the RedundancySupport Node.Get the RedundancySupportPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetRedundancySupportNode().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.RedundancySupportRead the value of the RedundancySupport Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport>An asynchronous implementation ofreadRedundancySupport().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().voidsetRedundancySupport(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport value) Set the local value of the RedundancySupport Node.voidsetRedundantServerArray(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] value) Set the local value of the RedundantServerArray Node.voidwriteRedundancySupport(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport value) Write a new value for the RedundancySupport Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeRedundancySupportAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport value) An asynchronous implementation ofwriteRedundancySupport(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport).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.core.nodes.ObjectNode
getEventNotifier, setEventNotifier
-
Field Details
-
REDUNDANCY_SUPPORT
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport> REDUNDANCY_SUPPORT -
REDUNDANT_SERVER_ARRAY
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[]> REDUNDANT_SERVER_ARRAY
-
-
Method Details
-
getRedundancySupport
org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport getRedundancySupport() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the RedundancySupport Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the RedundancySupport Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the RedundancySupport Node.
-
setRedundancySupport
void setRedundancySupport(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the RedundancySupport Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the RedundancySupport Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the RedundancySupport Node.
-
readRedundancySupport
org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport readRedundancySupport() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the RedundancySupport Node from the server and update the local value if the operation succeeds.- Returns:
- the
RedundancySupportvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeRedundancySupport
void writeRedundancySupport(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the RedundancySupport Node to the server and update the local value if the operation succeeds.- Parameters:
value- theRedundancySupportvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readRedundancySupportAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport> readRedundancySupportAsync()An asynchronous implementation ofreadRedundancySupport().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeRedundancySupportAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeRedundancySupportAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport value) An asynchronous implementation ofwriteRedundancySupport(org.eclipse.milo.opcua.stack.core.types.enumerated.RedundancySupport).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getRedundancySupportNode
Get the RedundancySupportPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the RedundancySupport
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getRedundancySupportNodeAsync
CompletableFuture<? extends PropertyType> getRedundancySupportNodeAsync()Asynchronous implementation ofgetRedundancySupportNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
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.
- 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.
- 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.- 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.- 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().- 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[]).- 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.
- 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().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-