use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class FlowModInputMessageFactoryTest 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.OF13_VERSION_ID, FlowModInput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class GetAsyncReplyMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, GetAsyncOutput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class GetConfigReplyMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, GetConfigOutput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class GetFeaturesOutputFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, GetFeaturesOutput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class MeterModInputMessageFactoryTest method startUp.
/**
* Initializes serializer registry and stores correct factory in field.
*/
@Before
public void startUp() {
registry = new SerializerRegistryImpl();
registry.init();
meterModFactory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, MeterModInput.class));
}
Aggregations