use of org.opendaylight.openflowjava.protocol.impl.serialization.SerializerRegistryImpl in project openflowplugin by opendaylight.
the class SetAsyncInputMessageFactoryTest method startUp.
/**
* Initializes serializer registry and stores correct factory in field.
*/
@Before
public void startUp() {
registry = new SerializerRegistryImpl();
registry.init();
setAsyncFactory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, SetAsyncInput.class));
}
use of org.opendaylight.openflowjava.protocol.impl.serialization.SerializerRegistryImpl in project openflowplugin by opendaylight.
the class RoleReplyMessageFactoryTest method startUp.
@Before
public void startUp() {
SerializerRegistry registry = new SerializerRegistryImpl();
registry.init();
factory = registry.getSerializer(new MessageTypeKey<>(EncodeConstants.OF13_VERSION_ID, RoleRequestOutput.class));
}
use of org.opendaylight.openflowjava.protocol.impl.serialization.SerializerRegistryImpl in project openflowplugin by opendaylight.
the class AbstractSerializerTest method setUp.
@Before
public void setUp() throws Exception {
registry = new SerializerRegistryImpl();
registry.init();
provider = new SerializerExtensionProviderImpl(registry);
SerializerInjector.injectSerializers(provider, false);
init();
}
Aggregations