Search in sources :

Example 56 with DeserializerRegistryImpl

use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.

the class AbstractDeserializerTest method setUp.

@Before
public void setUp() throws Exception {
    registry = new DeserializerRegistryImpl();
    registry.init();
    factory = new DeserializationFactory(registry);
    provider = new DeserializerExtensionProviderImpl(registry, factory);
    DeserializerInjector.injectDeserializers(provider);
    MessageDeserializerInjector.injectLegacyDeserializers(provider);
    init();
}
Also used : DeserializerRegistryImpl(org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl) DeserializationFactory(org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializationFactory) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)56 DeserializerRegistryImpl (org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl)56 MessageCodeKey (org.opendaylight.openflowjava.protocol.api.keys.MessageCodeKey)52 DeserializerRegistry (org.opendaylight.openflowjava.protocol.api.extensibility.DeserializerRegistry)51 DeserializationFactory (org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializationFactory)1