use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10BarrierInputMessageFactoryTest method startUp.
/**
* Initializes serializer registry and stores correct factory in field.
*/
@Before
public void startUp() {
registry = new SerializerRegistryImpl();
registry.init();
barrierFactory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, BarrierInput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10FeaturesReplyMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, GetFeaturesOutput.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10FlowRemovedMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, FlowRemovedMessage.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class OF10PacketInMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, PacketInMessage.class));
}
use of org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey in project openflowplugin by opendaylight.
the class PortModInputMessageFactoryTest 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.OF13_VERSION_ID, PortModInput.class));
}
Aggregations