public class TypeToClassInitHelper extends Object
Constructor and Description |
---|
TypeToClassInitHelper(short version,
Map<TypeToClassKey,Class<?>> messageClassMap)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
registerTypeToClass(short type,
Class<?> clazz)
Registers Class int the type to class mapping.
|
public TypeToClassInitHelper(short version, Map<TypeToClassKey,Class<?>> messageClassMap)
version
- protocol wire versionmessageClassMap
- map which stores type to class mappingpublic void registerTypeToClass(short type, Class<?> clazz)
type
- code value for message type / classclazz
- class corresponding to the codeCopyright © 2020 OpenDaylight. All rights reserved.