Class VariableTypeTreeBuilder
java.lang.Object
org.eclipse.milo.opcua.sdk.client.typetree.VariableTypeTreeBuilder
Builds a
VariableTypeTree by recursively browsing the VariableType hierarchy starting at
NodeIds0.BaseVariableType.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.milo.opcua.sdk.core.typetree.VariableTypeTreebuild(OpcUaClient client) Build aVariableTypeTreeby recursively browsing the VariableType hierarchy starting atNodeIds0.BaseVariableType.static CompletableFuture<org.eclipse.milo.opcua.sdk.core.typetree.VariableTypeTree>buildAsync(OpcUaClient client) Build aVariableTypeTreeby recursively browsing the VariableType hierarchy starting atNodeIds0.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 aVariableTypeTreeby recursively browsing the VariableType hierarchy starting atNodeIds0.BaseVariableType.- Parameters:
client- a connectedOpcUaClient.- 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 aVariableTypeTreeby recursively browsing the VariableType hierarchy starting atNodeIds0.BaseVariableType.- Parameters:
client- a connectedOpcUaClient.- Returns:
- a
CompletableFuturethat completes successfully with aVariableTypeTree, or completes exceptionally if an error occurs.
-