示例#1
0
 public SessionFactory(AbstractLogger logger, ICoroutineManager coroutineManager, IStopwatch pollCountdownStopwatch, IEpochTime epochTime, DatabaseCorruptionHandler databaseCorruptionHandler, INotificationQueue notificationQueue, INotificationDispatcher notificationDispatcher, ISessionStatus sessionStatus, IMixWebCallFactoryFactory mixWebCallFactoryFactory, IWebCallEncryptorFactory webCallEncryptorFactory, IMixSessionStarter mixSessionStarter, IKeychain keychain, ISessionRefresherFactory sessionRefresherFactory, IGuestControllerClientFactory guestControllerClientFactory, IRandom random, IEncryptor encryptor, IFileSystem fileSystem, IWwwCallFactory wwwCallFactory, string localStorageDirPath, string clientVersion, IDatabaseDirectoryCreator databaseDirectoryCreator, IDocumentCollectionFactory documentCollectionFactory, IDatabase database)
 {
     this.logger                       = logger;
     this.coroutineManager             = coroutineManager;
     this.pollCountdownStopwatch       = pollCountdownStopwatch;
     this.epochTime                    = epochTime;
     this.databaseCorruptionHandler    = databaseCorruptionHandler;
     this.notificationQueue            = notificationQueue;
     this.notificationDispatcher       = notificationDispatcher;
     this.sessionStatus                = sessionStatus;
     this.mixWebCallFactoryFactory     = mixWebCallFactoryFactory;
     this.webCallEncryptorFactory      = webCallEncryptorFactory;
     this.mixSessionStarter            = mixSessionStarter;
     this.keychain                     = keychain;
     this.sessionRefresherFactory      = sessionRefresherFactory;
     this.guestControllerClientFactory = guestControllerClientFactory;
     this.random                       = random;
     this.encryptor                    = encryptor;
     this.fileSystem                   = fileSystem;
     this.wwwCallFactory               = wwwCallFactory;
     this.localStorageDirPath          = localStorageDirPath;
     this.clientVersion                = clientVersion;
     this.databaseDirectoryCreator     = databaseDirectoryCreator;
     this.documentCollectionFactory    = documentCollectionFactory;
     this.database                     = database;
 }
示例#2
0
 public SessionReuser(AbstractLogger logger, IDatabase database, IMixSessionStarter mixSessionStarter, ISessionFactory sessionFactory)
 {
     this.logger            = logger;
     this.database          = database;
     this.mixSessionStarter = mixSessionStarter;
     this.sessionFactory    = sessionFactory;
 }
示例#3
0
 public SessionRegister(AbstractLogger logger, IGuestControllerClientFactory guestControllerClientFactory, IDatabase database, IMixSessionStarter mixSessionStarter, ISessionFactory sessionFactory)
 {
     this.logger = logger;
     this.guestControllerClientFactory = guestControllerClientFactory;
     this.database          = database;
     this.mixSessionStarter = mixSessionStarter;
     this.sessionFactory    = sessionFactory;
 }
示例#4
0
 public SessionLogin(AbstractLogger logger, IGuestControllerClientFactory guestControllerClientFactory, IMixSessionStarter mixSessionStarter, IDatabase database, ILegalMarketingErrorsBuilder legalMarketingErrorsBuilder, ISessionFactory sessionFactory)
 {
     this.logger = logger;
     this.guestControllerClientFactory = guestControllerClientFactory;
     this.mixSessionStarter            = mixSessionStarter;
     this.database = database;
     this.legalMarketingErrorsBuilder = legalMarketingErrorsBuilder;
     this.sessionFactory = sessionFactory;
 }
 public SessionRefresher(IMixWebCallQueue webCallQueue, IGuestControllerClient guestControllerClient, IMixSessionStarter mixSessionStarter)
 {
     this.webCallQueue          = webCallQueue;
     this.guestControllerClient = guestControllerClient;
     this.mixSessionStarter     = mixSessionStarter;
 }
 public ISessionRefresher Create(IMixSessionStarter mixSessionStarter)
 {
     return(new SessionRefresher(webCallQueue, guestControllerClient, mixSessionStarter));
 }
 public ISessionRefresher Create(IMixSessionStarter mixSessionStarter, IGuestControllerClient guestControllerClient)
 {
     this.guestControllerClient = guestControllerClient;
     return(new SessionRefresher(webCallQueue, guestControllerClient, mixSessionStarter));
 }