helper.registerTypeToClass((short) 0, HelloMessage.class);
helper.registerTypeToClass((short) 2, EchoRequestMessage.class);
helper.registerTypeToClass((short) 3, EchoOutput.class);
+ helper.registerTypeToClass((short) 8, GetConfigOutput.class);
// init OF v1.5 mapping
helper = new TypeToClassInitHelper(EncodeConstants.OF15_VERSION_ID, messageClassMap);
helper.registerTypeToClass((short) 0, HelloMessage.class);
helper.registerTypeToClass((short) 2, EchoRequestMessage.class);
helper.registerTypeToClass((short) 3, EchoOutput.class);
+ helper.registerTypeToClass((short) 8, GetConfigOutput.class);
}
/**
helper.registerTypeToClass((short) 26, GetAsyncInput.class);
helper.registerTypeToClass((short) 28, SetAsyncInput.class);
helper.registerTypeToClass((short) 29, MeterModInput.class);
+
+ // init OF v1.4 mapping
+ helper = new TypeToClassInitHelper(EncodeConstants.OF14_VERSION_ID, messageClassMap);
+ helper.registerTypeToClass((short) 7, GetConfigInput.class);
+ helper.registerTypeToClass((short) 9, SetConfigInput.class);
+
+ // init OF v1.5 mapping
+ helper = new TypeToClassInitHelper(EncodeConstants.OF15_VERSION_ID, messageClassMap);
+ helper.registerTypeToClass((short) 7, GetConfigInput.class);
+ helper.registerTypeToClass((short) 9, SetConfigInput.class);
}
}