private static final int NXM_FIELD_CODE = 6;
public static final MatchEntrySerializerKey<Nxm1Class, NxmNxReg6> SERIALIZER_KEY = new MatchEntrySerializerKey<>(
- EncodeConstants.OF_VERSION_1_3, Nxm1Class.class, NxmNxReg6.class);
+ EncodeConstants.OF_VERSION_1_3, Nxm1Class.VALUE, NxmNxReg6.VALUE);
public static final MatchEntryDeserializerKey DESERIALIZER_KEY = new MatchEntryDeserializerKey(
EncodeConstants.OF_VERSION_1_3, OxmMatchConstants.NXM_1_CLASS, NXM_FIELD_CODE);
}
@Override
- public Class<? extends MatchField> getNxmField() {
- return NxmNxReg6.class;
+ public MatchField getNxmField() {
+ return NxmNxReg6.VALUE;
}
-
}