/// <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; }
public TokenVerifier(IOfflineManager offlineManager, IKuzzle kuzzle) { this.offlineManager = offlineManager; this.kuzzle = kuzzle; this.authController = kuzzle.GetAuth(); }
public SubscriptionRecoverer(IOfflineManager offlineManager, IKuzzle kuzzle) { this.realtimeController = kuzzle.GetRealtime(); kuzzle.GetEventHandler().Subscription += OnSubscriptionEvent; }