예제 #1
0
        public void AddVariantStream(String variantStreamname, ConfigurationVariantStream variantStreamConfig, EventAdapterService eventAdapterService, EventTypeIdGenerator eventTypeIdGenerator)
        {
            var variantSpec = ValidateVariantStream(variantStreamname, variantStreamConfig, eventAdapterService);
            var processor   = new VAEVariantProcessor(eventAdapterService, variantSpec, eventTypeIdGenerator, variantStreamConfig, _lockManager);

            eventAdapterService.AddTypeByName(variantStreamname, processor.ValueAddEventType);
            VariantProcessors.Put(variantStreamname, processor);
        }