Example #1
0
 public static IUnlaunchClient Create(IUnlaunchDataStore dataStore,
                                      IEventHandler eventHandler,
                                      IEventHandler flagInvocationMetricHandler,
                                      IEventHandler impressionsEventHandler,
                                      CountdownEvent initialDownloadDoneEvent,
                                      AtomicBoolean downloadSuccessful)
 {
     return(new UnlaunchClient(dataStore, eventHandler, flagInvocationMetricHandler, impressionsEventHandler, initialDownloadDoneEvent, downloadSuccessful));
 }
Example #2
0
 private UnlaunchClient(IUnlaunchDataStore dataStore,
                        IEventHandler eventHandler,
                        IEventHandler flagInvocationMetricHandler,
                        IEventHandler impressionsEventHandler,
                        CountdownEvent initialDownloadDoneEvent,
                        AtomicBoolean downloadSuccessful)
 {
     _defaultEventHandler         = eventHandler;
     _flagInvocationMetricHandler = flagInvocationMetricHandler;
     _impressionsEventHandler     = impressionsEventHandler;
     _dataStore = dataStore;
     _initialDownloadDoneEvent = initialDownloadDoneEvent;
     _downloadSuccessful       = downloadSuccessful;
 }