Interface NetworkAddressUrlType
- All Superinterfaces:
BaseObjectType,NetworkAddressType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- All Known Implementing Classes:
NetworkAddressUrlTypeNode
-
Method Summary
Modifier and TypeMethodDescriptiongetUrl()Get the local value of the Url Node.Get the UrlBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableType>Asynchronous implementation ofgetUrlNode().readUrl()Read the value of the Url Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadUrl().voidSet the local value of the Url Node.voidWrite a new value for the Url Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeUrlAsync(String value) An asynchronous implementation ofwriteUrl(java.lang.String).Methods inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.NetworkAddressType
getNetworkInterface, getNetworkInterfaceNode, getNetworkInterfaceNodeAsync, readNetworkInterface, readNetworkInterfaceAsync, setNetworkInterface, writeNetworkInterface, writeNetworkInterfaceAsyncMethods 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
-
Method Details
-
getUrl
Get the local value of the Url Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the Url Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Url Node.
-
setUrl
Set the local value of the Url Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the Url Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Url Node.
-
readUrl
Read the value of the Url 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.
-
writeUrl
Write a new value for the Url 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.
-
readUrlAsync
CompletableFuture<? extends String> readUrlAsync()An asynchronous implementation ofreadUrl().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeUrlAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeUrlAsync(String value) An asynchronous implementation ofwriteUrl(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getUrlNode
Get the UrlBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Url
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getUrlNodeAsync
CompletableFuture<? extends BaseDataVariableType> getUrlNodeAsync()Asynchronous implementation ofgetUrlNode().- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-