public InsightsClientFactory( IInsightsMessageFactory <InsightsStartupData> startupMessageFactory, IInsightsMessageFactory <InsightsStatusData> statusMessageFactory) { _startupMessageFactory = startupMessageFactory; _statusMessageFactory = statusMessageFactory; }
public InsightsClient( IInternalCluster cluster, IInternalSession session, IInsightsMessageFactory <InsightsStartupData> startupMessageFactory, IInsightsMessageFactory <InsightsStatusData> statusMessageFactory) { _cluster = cluster; _session = session; _monitorReportingOptions = cluster.Configuration.MonitorReportingOptions; _startupMessageFactory = startupMessageFactory; _statusMessageFactory = statusMessageFactory; }