Search in sources :

Example 1 with OF10MatchSerializer

use of org.opendaylight.openflowjava.protocol.impl.util.OF10MatchSerializer in project openflowplugin by opendaylight.

the class SerializerRegistryImpl method init.

@Override
public void init() {
    registry = new HashMap<>();
    // Openflow message type serializers
    MessageFactoryInitializer.registerMessageSerializers(this);
    // Register Additional serializers
    AdditionalMessageFactoryInitializer.registerMessageSerializers(this);
    // match structure serializers
    registerSerializer(new MessageTypeKey<>(OF10, MatchV10.class), new OF10MatchSerializer());
    registerSerializer(new MessageTypeKey<>(OF13, Match.class), new OF13MatchSerializer());
    // match entry serializers
    MatchEntriesInitializer.registerMatchEntrySerializers(this);
    // action serializers
    ActionsInitializer.registerActionSerializers(this);
    // instruction serializers
    InstructionsInitializer.registerInstructionSerializers(this);
}
Also used : OF10MatchSerializer(org.opendaylight.openflowjava.protocol.impl.util.OF10MatchSerializer) OF13MatchSerializer(org.opendaylight.openflowjava.protocol.impl.util.OF13MatchSerializer) MatchV10(org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.v10.grouping.MatchV10) Match(org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.grouping.Match)

Aggregations

OF10MatchSerializer (org.opendaylight.openflowjava.protocol.impl.util.OF10MatchSerializer)1 OF13MatchSerializer (org.opendaylight.openflowjava.protocol.impl.util.OF13MatchSerializer)1 Match (org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.grouping.Match)1 MatchV10 (org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.v10.grouping.MatchV10)1