use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10BarrierReplyMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, BarrierOutput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10FlowModInputMessageFactoryTest method startUp.
/**
* Initializes serializer registry and stores correct factory in field.
*/
@Before
public void startUp() {
registry = new SerializerRegistryImpl();
registry.init();
flowModFactory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, FlowModInput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10QueueGetConfigReplyMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, GetQueueConfigOutput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10StatsRequestInputFactoryTest method startUp.
/**
* Initializes serializer registry and stores correct factory in field.
*/
@Before
public void startUp() {
registry = new SerializerRegistryImpl();
registry.init();
multipartFactory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, MultipartRequestInput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class MultipartRequestGroupFeaturesTest method startUp.
/**
* Initializes serializer registry and stores correct factory in field.
*/
@Before
public void startUp() {
registry = new SerializerRegistryImpl();
registry.init();
multipartFactory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, MultipartRequestInput.class));
}
Aggregations