Skip to content

Commit

Permalink
Generate DataTypeInitializer to register static struct codecs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinherron committed Sep 8, 2022
1 parent fac2198 commit 9525f0c
Show file tree
Hide file tree
Showing 6 changed files with 5,440 additions and 3,654 deletions.
Expand Up @@ -4,7 +4,7 @@
import org.eclipse.milo.opcua.stack.core.serialization.codecs.OpcUaBinaryDataTypeCodec;
import org.eclipse.milo.opcua.stack.core.serialization.codecs.OpcUaXmlDataTypeCodec;

public abstract class AbstractDataTypeInitializer {
public abstract class AbstractDataTypeDictionaryInitializer {

private static final String BINARY_DICTIONARY_URI = "http://opcfoundation.org/UA/";

Expand Down Expand Up @@ -44,7 +44,7 @@ public void initialize(
initializeEnums(namespaceTable, binaryDictionary, xmlDictionary);
initializeStructs(namespaceTable, binaryDictionary, xmlDictionary);
} catch (Exception e) {
throw new RuntimeException("DataType initialization failed", e);
throw new RuntimeException("DataTypeDictionary initialization failed", e);
}

dataTypeManager.registerTypeDictionary(binaryDictionary);
Expand Down

0 comments on commit 9525f0c

Please sign in to comment.