use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class PortStatusMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, PortStatusMessage.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class MultipartReplyMessageFactoryTest method startUp.
@Before
public void startUp() throws Exception {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, MultipartReplyMessage.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10PortModInputMessageFactoryTest method startUp.
/**
* Initializes serializer registry and stores correct factory in field.
*/
@Before
public void startUp() {
registry = new SerializerRegistryImpl();
registry.init();
portModFactory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, PortModInput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10QueueGetConfigInputMessageFactoryTest method startUp.
/**
* Initializes serializer registry and stores correct factory in field.
*/
@Before
public void startUp() {
registry = new SerializerRegistryImpl();
registry.init();
queueFactory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, GetQueueConfigInput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10StatsReplyMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, MultipartReplyMessage.class));
}
Aggregations