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