use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class OF10FlowRemovedMessageFactoryTest method startUp.
/**
* Initializes deserializer registry and lookups correct deserializer.
*/
@Before
public void startUp() {
DeserializerRegistry registry = new DeserializerRegistryImpl();
registry.init();
flowFactory = registry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 11, FlowRemovedMessage.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class OF10PacketOutInputMessageFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 13, PacketOutInput.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class PortStatusMessageFactoryTest method startUp.
/**
* Initializes deserializer registry and lookups correct deserializer.
*/
@Before
public void startUp() {
DeserializerRegistry registry = new DeserializerRegistryImpl();
registry.init();
statusFactory = registry.getDeserializer(new MessageCodeKey(EncodeConstants.OF13_VERSION_ID, 12, PortStatusMessage.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class MultipartReplyFlowTest method startUp.
/**
* Initializes deserializer registry and lookups correct deserializer.
*/
@Before
public void startUp() {
DeserializerRegistry registry = new DeserializerRegistryImpl();
registry.init();
factory = registry.getDeserializer(new MessageCodeKey(EncodeConstants.OF13_VERSION_ID, 19, MultipartReplyMessage.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class OF10StatsRequestInputPortStatsFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 16, MultipartRequestInput.class));
}
Aggregations