use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class OF10PortStatusMessageFactoryTest 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.OF10_VERSION_ID, 12, PortStatusMessage.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class OF10StatsReplyMessageFactoryTest method startUp.
/**
* Initializes deserializer registry and lookups correct deserializer.
*/
@Before
public void startUp() {
DeserializerRegistry registry = new DeserializerRegistryImpl();
registry.init();
statsFactory = registry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 17, MultipartReplyMessage.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class OF10StatsRequestInputDescFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 16, MultipartRequestInput.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class OF10StatsRequestInputTableFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry desRegistry = new DeserializerRegistryImpl();
desRegistry.init();
factory = desRegistry.getDeserializer(new MessageCodeKey(EncodeConstants.OF10_VERSION_ID, 16, MultipartRequestInput.class));
}
use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl in project openflowplugin by opendaylight.
the class PacketOutInputMessageFactoryTest method startUp.
@Before
public void startUp() {
DeserializerRegistry registry = new DeserializerRegistryImpl();
registry.init();
factory = registry.getDeserializer(new MessageCodeKey(EncodeConstants.OF13_VERSION_ID, 13, PacketOutInput.class));
}
Aggregations