use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class MeterModInputMessageFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF13_VERSION_ID, 29, MeterModInput.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class MultipartRequestFlowInputMessageFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF13_VERSION_ID, 18, MultipartRequestInput.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class MultipartRequestMeterConfigInputMessageFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF13_VERSION_ID, 18, MultipartRequestInput.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class OF10FeaturesRequestMessageFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 5, GetFeaturesInput.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class OF10HelloMessageFactoryTest method startUp.
/**
* Initializes deserializer registry and lookups correct deserializer.
*/
@Before
public void startUp() {
DeserializerRegistry registry = new DeserializerRegistryImpl();
registry.init();
helloFactory = registry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 0, HelloMessage.class));
}
Aggregations