Class DataTypeTreeBuilder
java.lang.Object
org.eclipse.milo.opcua.sdk.client.typetree.DataTypeTreeBuilder
Builds a
DataTypeTree by recursively browsing the DataType hierarchy starting at NodeIds0.BaseDataType.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.milo.opcua.sdk.core.typetree.DataTypeTreebuild(OpcUaClient client) Build aDataTypeTreeby recursively browsing the DataType hierarchy starting atNodeIds0.BaseDataType.static CompletableFuture<org.eclipse.milo.opcua.sdk.core.typetree.DataTypeTree>buildAsync(OpcUaClient client) Build aDataTypeTreeby recursively browsing the DataType hierarchy starting atNodeIds0.BaseDataType.
-
Constructor Details
-
DataTypeTreeBuilder
public DataTypeTreeBuilder()
-
-
Method Details
-
build
public static org.eclipse.milo.opcua.sdk.core.typetree.DataTypeTree build(OpcUaClient client) throws org.eclipse.milo.opcua.stack.core.UaException Build aDataTypeTreeby recursively browsing the DataType hierarchy starting atNodeIds0.BaseDataType.- Parameters:
client- a connectedOpcUaClient.- Returns:
- a
DataTypeTree. - Throws:
org.eclipse.milo.opcua.stack.core.UaException
-
buildAsync
public static CompletableFuture<org.eclipse.milo.opcua.sdk.core.typetree.DataTypeTree> buildAsync(OpcUaClient client) Build aDataTypeTreeby recursively browsing the DataType hierarchy starting atNodeIds0.BaseDataType.- Parameters:
client- a connectedOpcUaClient.- Returns:
- a
CompletableFuturethat completes successfully with aDataTypeTree, or completes exceptionally if an error occurs.
-