Search in sources :

Example 1 with OF10MatchDeserializer

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

the class DeserializerRegistryImpl method init.

/**
 * Decoder table provisioning.
 */
@Override
public void init() {
    registry = new HashMap<>();
    // register message deserializers
    MessageDeserializerInitializer.registerMessageDeserializers(this);
    // register additional message deserializers
    AdditionalMessageDeserializerInitializer.registerMessageDeserializers(this);
    // register common structure deserializers
    registerDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, EncodeConstants.EMPTY_VALUE, MatchV10.class), new OF10MatchDeserializer());
    registerDeserializer(new MessageCodeKey(EncodeConstants.OF13_VERSION_ID, EncodeConstants.EMPTY_VALUE, Match.class), new MatchDeserializer());
    // register match entry deserializers
    MatchEntryDeserializerInitializer.registerMatchEntryDeserializers(this);
    // register action deserializers
    ActionDeserializerInitializer.registerDeserializers(this);
    // register instruction deserializers
    InstructionDeserializerInitializer.registerDeserializers(this);
}
Also used : MessageCodeKey(org.opendaylight.openflowjava.protocol.api.keys.MessageCodeKey) OF10MatchDeserializer(org.opendaylight.openflowjava.protocol.impl.util.OF10MatchDeserializer) MatchDeserializer(org.opendaylight.openflowjava.protocol.impl.util.MatchDeserializer) OF10MatchDeserializer(org.opendaylight.openflowjava.protocol.impl.util.OF10MatchDeserializer) 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

MessageCodeKey (org.opendaylight.openflowjava.protocol.api.keys.MessageCodeKey)1 MatchDeserializer (org.opendaylight.openflowjava.protocol.impl.util.MatchDeserializer)1 OF10MatchDeserializer (org.opendaylight.openflowjava.protocol.impl.util.OF10MatchDeserializer)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