Interface TransparentRedundancyType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode,ServerRedundancyType
- All Known Implementing Classes:
TransparentRedundancyTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String>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.ServerRedundancyType
REDUNDANCY_SUPPORT -
Method Summary
Modifier and TypeMethodDescriptionGet the local value of the CurrentServerId Node.Get the CurrentServerIdPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetCurrentServerIdNode().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().Read the value of the CurrentServerId Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadCurrentServerId().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().voidsetCurrentServerId(String value) Set the local value of the CurrentServerId Node.voidsetRedundantServerArray(org.eclipse.milo.opcua.stack.core.types.structured.RedundantServerDataType[] value) Set the local value of the RedundantServerArray Node.voidwriteCurrentServerId(String value) Write a new value for the CurrentServerId Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeCurrentServerIdAsync(String value) An asynchronous implementation ofwriteCurrentServerId(java.lang.String).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, 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 -
CURRENT_SERVER_ID
-
-
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.
-
getCurrentServerId
Get the local value of the CurrentServerId Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the CurrentServerId Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CurrentServerId Node.
-
setCurrentServerId
Set the local value of the CurrentServerId Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the CurrentServerId Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CurrentServerId Node.
-
readCurrentServerId
Read the value of the CurrentServerId 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.
-
writeCurrentServerId
Write a new value for the CurrentServerId 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.
-
readCurrentServerIdAsync
CompletableFuture<? extends String> readCurrentServerIdAsync()An asynchronous implementation ofreadCurrentServerId().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeCurrentServerIdAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeCurrentServerIdAsync(String value) An asynchronous implementation ofwriteCurrentServerId(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getCurrentServerIdNode
Get the CurrentServerIdPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the CurrentServerId
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getCurrentServerIdNodeAsync
CompletableFuture<? extends PropertyType> getCurrentServerIdNodeAsync()Asynchronous implementation ofgetCurrentServerIdNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-