public ChatController( ISentimentSnapshotsStorage sentimentSnapshotsStorage, IChatMessageStorage chatMessageStorage, ILogger <ChatController> logger) { this.sentimentSnapshotsStorage = sentimentSnapshotsStorage; this.chatMessageStorage = chatMessageStorage; this.logger = logger; }
public SentimentReportGenerator( IAmazonSQS sqs, ISentimentReporter reporter, AnalyticsResources analyticsResources, IUserIdsStorageManager userIdsStorageManager, ISentimentSnapshotsStorage sentimentSnapshotsStorage, ILogger <SentimentReportGenerator> logger) { this.sqs = sqs; this.reporter = reporter; this.logger = logger; this.userIdsStorageManager = userIdsStorageManager; this.sentimentSnapshotsStorage = sentimentSnapshotsStorage; this.queueUrl = analyticsResources.SentimentReportJobQueueUrl; }
public KinesisMessageArchiver( IAmazonKinesisFirehose firehose, IAmazonComprehend comprehend, IChatMessageStorage storage, IUserIdsStorageManager userIdsStorage, ISentimentSnapshotsStorage sentimentSnapshotsStorage, IAlertBroadcaster broadcaster, ILogger <KinesisMessageArchiver> logger, string deliveryStreamName) { this.firehose = firehose; this.comprehend = comprehend; this.userIdsStorage = userIdsStorage; this.sentimentSnapshotsStorage = sentimentSnapshotsStorage; this.chatMessageStorage = storage; this.broadcaster = broadcaster; this.logger = logger; this.deliveryStreamName = deliveryStreamName; }