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

public interface NetworkAddressType extends BaseObjectType
See Also:
  • Method Details

    • getNetworkInterface

      String getNetworkInterface() throws org.eclipse.milo.opcua.stack.core.UaException
      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

      void setNetworkInterface(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      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

      String readNetworkInterface() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the NetworkInterface Node from the server and update the local value if the operation succeeds.
      Returns:
      the String value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeNetworkInterface

      void writeNetworkInterface(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the NetworkInterface Node to the server and update the local value if the operation succeeds.
      Parameters:
      value - the String value 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 of readNetworkInterface().
      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 of writeNetworkInterface(java.lang.String).
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getNetworkInterfaceNode

      SelectionListType getNetworkInterfaceNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the NetworkInterface SelectionListType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Returns:
      the NetworkInterface SelectionListType Node, or null if 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 of getNetworkInterfaceNode().
      Returns:
      a CompletableFuture that completes successfully with the SelectionListType Node or completes exceptionally if an error occurs creating or getting the Node.