use of org.opendaylight.openflowjava.protocol.api.extensibility.DeserializerRegistry in project openflowplugin by opendaylight.
the class MultipartReplyMessageFactoryTest method startUp.
/**
* Initializes deserializer registry and lookups correct deserializer.
*/
@Before
public void startUp() {
DeserializerRegistry registry = new DeserializerRegistryImpl();
registry.init();
multipartFactory = registry.getDeserializer(new MessageCodeKey(EncodeConstants.OF13_VERSION_ID, 19, MultipartReplyMessage.class));
}
use of org.opendaylight.openflowjava.protocol.api.extensibility.DeserializerRegistry in project openflowplugin by opendaylight.
the class MultipartRequestQueueInputMessageFactoryTest 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.api.extensibility.DeserializerRegistry in project openflowplugin by opendaylight.
the class MultipartRequestTableInputMessageFactoryTest 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.api.extensibility.DeserializerRegistry in project openflowplugin by opendaylight.
the class OF10FlowModInputMessageFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 14, FlowModInput.class));
}
use of org.opendaylight.openflowjava.protocol.api.extensibility.DeserializerRegistry in project openflowplugin by opendaylight.
the class OF10GetQueueConfigInputMessageFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 20, GetQueueConfigInput.class));
}
Aggregations