示例#1
0
 public MixWebCallFactoryFactory(AbstractLogger logger, string hostUrl, string mixClientToken, IWwwCallFactory wwwCallFactory, IMixWebCallQueue webCallQueue, IEpochTime epochTime, IDatabase database)
 {
     this.logger         = logger;
     this.hostUrl        = hostUrl;
     this.mixClientToken = mixClientToken;
     this.wwwCallFactory = wwwCallFactory;
     this.webCallQueue   = webCallQueue;
     this.epochTime      = epochTime;
     this.database       = database;
 }
示例#2
0
 public MixWebCallFactory(AbstractLogger logger, string host, IWwwCallFactory wwwCallFactory, IWebCallEncryptor webCallEncryptor, string swid, string guestControllerAccessToken, string mixClientToken, IMixWebCallQueue webCallQueue, ISessionRefresher sessionRefresher, IEpochTime epochTime, IDatabase database)
 {
     this.logger                     = logger;
     this.host                       = host;
     this.wwwCallFactory             = wwwCallFactory;
     this.webCallEncryptor           = webCallEncryptor;
     this.swid                       = swid;
     this.guestControllerAccessToken = guestControllerAccessToken;
     this.mixClientToken             = mixClientToken;
     this.webCallQueue               = webCallQueue;
     this.sessionRefresher           = sessionRefresher;
     this.epochTime                  = epochTime;
     this.database                   = database;
     webCalls = new List <IDisposable>();
 }
 public SessionRefresher(IMixWebCallQueue webCallQueue, IGuestControllerClient guestControllerClient, IMixSessionStarter mixSessionStarter)
 {
     this.webCallQueue          = webCallQueue;
     this.guestControllerClient = guestControllerClient;
     this.mixSessionStarter     = mixSessionStarter;
 }
 public SessionRefresherFactory(IMixWebCallQueue webCallQueue)
 {
     this.webCallQueue = webCallQueue;
 }