Class DataTypeManagerFactory.DefaultInitializer

java.lang.Object
org.eclipse.milo.opcua.sdk.client.typetree.DataTypeManagerFactory.DefaultInitializer
All Implemented Interfaces:
DataTypeManagerFactory.Initializer
Enclosing interface:
DataTypeManagerFactory

public static class DataTypeManagerFactory.DefaultInitializer extends Object implements DataTypeManagerFactory.Initializer
The default DataTypeManagerFactory.Initializer implementation that traverses the DataType hierarchy and registers codecs for all structure types with a DataTypeManager.

Uses DynamicCodecFactory by default, but can be configured with a custom CodecFactory.

  • Constructor Details

  • Method Details

    • initialize

      public void initialize(org.eclipse.milo.opcua.stack.core.NamespaceTable namespaceTable, org.eclipse.milo.opcua.sdk.core.typetree.DataTypeTree dataTypeTree, org.eclipse.milo.opcua.stack.core.types.DataTypeManager dataTypeManager)
      Description copied from interface: DataTypeManagerFactory.Initializer
      Register codecs for custom data types.
      Specified by:
      initialize in interface DataTypeManagerFactory.Initializer
      Parameters:
      namespaceTable - the Server's NamespaceTable.
      dataTypeTree - the Client's DataTypeTree.
      dataTypeManager - the DataTypeManager to register codecs with.