Interface NonTransparentRedundancyType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode,ServerRedundancyType
- All Known Subinterfaces:
NonTransparentBackupRedundancyType,NonTransparentNetworkRedundancyType
- All Known Implementing Classes:
NonTransparentBackupRedundancyTypeNode,NonTransparentNetworkRedundancyTypeNode,NonTransparentRedundancyTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String[]>Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.ServerRedundancyType
REDUNDANCY_SUPPORT, REDUNDANT_SERVER_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionString[]Get the local value of the ServerUriArray Node.Get the ServerUriArrayPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetServerUriArrayNode().String[]Read the value of the ServerUriArray Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String[]>An asynchronous implementation ofreadServerUriArray().voidsetServerUriArray(String[] value) Set the local value of the ServerUriArray Node.voidwriteServerUriArray(String[] value) Write a new value for the ServerUriArray Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeServerUriArrayAsync(String[] value) An asynchronous implementation ofwriteServerUriArray(java.lang.String[]).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, setEventNotifierMethods inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.ServerRedundancyType
getRedundancySupport, getRedundancySupportNode, getRedundancySupportNodeAsync, getRedundantServerArray, getRedundantServerArrayNode, getRedundantServerArrayNodeAsync, readRedundancySupport, readRedundancySupportAsync, readRedundantServerArray, readRedundantServerArrayAsync, setRedundancySupport, setRedundantServerArray, writeRedundancySupport, writeRedundancySupportAsync, writeRedundantServerArray, writeRedundantServerArrayAsync
-
Field Details
-
SERVER_URI_ARRAY
-
-
Method Details
-
getServerUriArray
Get the local value of the ServerUriArray Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the ServerUriArray Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ServerUriArray Node.
-
setServerUriArray
Set the local value of the ServerUriArray Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the ServerUriArray Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ServerUriArray Node.
-
readServerUriArray
Read the value of the ServerUriArray Node from the server and update the local value if the operation succeeds.- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeServerUriArray
Write a new value for the ServerUriArray Node to the server and update the local value if the operation succeeds.- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readServerUriArrayAsync
CompletableFuture<? extends String[]> readServerUriArrayAsync()An asynchronous implementation ofreadServerUriArray().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeServerUriArrayAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeServerUriArrayAsync(String[] value) An asynchronous implementation ofwriteServerUriArray(java.lang.String[]).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getServerUriArrayNode
Get the ServerUriArrayPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the ServerUriArray
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getServerUriArrayNodeAsync
CompletableFuture<? extends PropertyType> getServerUriArrayNodeAsync()Asynchronous implementation ofgetServerUriArrayNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-