use of org.opendaylight.openflowplugin.impl.protocol.deserialization.messages.FlowMessageDeserializer in project openflowplugin by opendaylight.
the class MessageDeserializerInjector method injectLegacyDeserializers.
@VisibleForTesting
static void injectLegacyDeserializers(final DeserializerExtensionProvider provider) {
final Function<Integer, Function<Class<? extends OfHeader>, Consumer<OFDeserializer<? extends OfHeader>>>> injector = createInjector(provider, EncodeConstants.OF13_VERSION_ID);
injector.apply(14).apply(FlowMessage.class).accept(new FlowMessageDeserializer());
injector.apply(15).apply(GroupMessage.class).accept(new GroupMessageDeserializer());
injector.apply(29).apply(MeterMessage.class).accept(new MeterMessageDeserializer());
injector.apply(16).apply(PortMessage.class).accept(new PortMessageDeserializer());
}
Aggregations