public SubscriptionHubConnection(HomeHubConnection homeHubConnection, LoggerHost logger)
 {
     _logger     = logger;
     _connection = new HubConnectionBuilder()
                   .WithUrl($"{homeHubConnection.GetUrlForSignalRHubs()}/subscriptionshub")
                   .Build();
     OpenHubConnection();
     _connection.Closed += ConnectionClosed;
 }
 protected HomeControllerHostBase(SentinelHost sentinelHost, HomeConnectionServer homeConnectionServer)
 {
     SentinelHost      = sentinelHost;
     HomeHubConnection = new HomeHubConnection(homeConnectionServer);
     Logger            = LoggerHost.GetLoggerHost(sentinelHost, homeConnectionServer);
 }