Class VariableTypeTreeBuilder

java.lang.Object
org.eclipse.milo.opcua.sdk.client.typetree.VariableTypeTreeBuilder

public class VariableTypeTreeBuilder extends Object
Builds a VariableTypeTree by recursively browsing the VariableType hierarchy starting at NodeIds0.BaseVariableType.
  • Constructor Details

    • VariableTypeTreeBuilder

      public VariableTypeTreeBuilder()
  • Method Details

    • build

      public static org.eclipse.milo.opcua.sdk.core.typetree.VariableTypeTree build(OpcUaClient client) throws org.eclipse.milo.opcua.stack.core.UaException
      Build a VariableTypeTree by recursively browsing the VariableType hierarchy starting at NodeIds0.BaseVariableType.
      Parameters:
      client - a connected OpcUaClient.
      Returns:
      a VariableTypeTree.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException
    • buildAsync

      public static CompletableFuture<org.eclipse.milo.opcua.sdk.core.typetree.VariableTypeTree> buildAsync(OpcUaClient client)
      Build a VariableTypeTree by recursively browsing the VariableType hierarchy starting at NodeIds0.BaseVariableType.
      Parameters:
      client - a connected OpcUaClient.
      Returns:
      a CompletableFuture that completes successfully with a VariableTypeTree, or completes exceptionally if an error occurs.