Пример #1
0
 /// <summary>
 /// Constructor of the QueryReplayer class.
 /// </summary>
 internal QueryReplayer(IOfflineManager offlineManager, IKuzzle kuzzle)
 {
     this.queue                   = new List <TimedQuery>();
     this.offlineManager          = offlineManager;
     this.kuzzle                  = kuzzle;
     this.cancellationTokenSource = new CancellationTokenSource();
     this.ReplayQuery             = ReplayOneQuery;
 }
Пример #2
0
 public TokenVerifier(IOfflineManager offlineManager, IKuzzle kuzzle)
 {
     this.offlineManager = offlineManager;
     this.kuzzle         = kuzzle;
     this.authController = kuzzle.GetAuth();
 }
Пример #3
0
 public SubscriptionRecoverer(IOfflineManager offlineManager, IKuzzle kuzzle)
 {
     this.realtimeController = kuzzle.GetRealtime();
     kuzzle.GetEventHandler().Subscription += OnSubscriptionEvent;
 }