Interface NetworkAddressType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- All Known Subinterfaces:
NetworkAddressUrlType
- All Known Implementing Classes:
NetworkAddressTypeNode,NetworkAddressUrlTypeNode
-
Method Summary
Modifier and TypeMethodDescriptionGet the local value of the NetworkInterface Node.Get the NetworkInterfaceSelectionListTypeNode, ornullif it does not exist.CompletableFuture<? extends SelectionListType>Asynchronous implementation ofgetNetworkInterfaceNode().Read the value of the NetworkInterface Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadNetworkInterface().voidsetNetworkInterface(String value) Set the local value of the NetworkInterface Node.voidwriteNetworkInterface(String value) Write a new value for the NetworkInterface Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeNetworkInterfaceAsync(String value) An asynchronous implementation ofwriteNetworkInterface(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, setEventNotifier
-
Method Details
-
getNetworkInterface
Get the local value of the NetworkInterface Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the NetworkInterface Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the NetworkInterface Node.
-
setNetworkInterface
Set the local value of the NetworkInterface Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the NetworkInterface Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the NetworkInterface Node.
-
readNetworkInterface
Read the value of the NetworkInterface 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.
-
writeNetworkInterface
Write a new value for the NetworkInterface 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.
-
readNetworkInterfaceAsync
CompletableFuture<? extends String> readNetworkInterfaceAsync()An asynchronous implementation ofreadNetworkInterface().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeNetworkInterfaceAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNetworkInterfaceAsync(String value) An asynchronous implementation ofwriteNetworkInterface(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getNetworkInterfaceNode
Get the NetworkInterfaceSelectionListTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the NetworkInterface
SelectionListTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getNetworkInterfaceNodeAsync
CompletableFuture<? extends SelectionListType> getNetworkInterfaceNodeAsync()Asynchronous implementation ofgetNetworkInterfaceNode().- Returns:
- a CompletableFuture that completes successfully with the SelectionListType Node or completes exceptionally if an error occurs creating or getting the Node.
-