Beispiel #1
0
 public CasterHub(ICircuitManager circuitManager,
                  IHubContext <ViewerHub> viewerHubContext,
                  IHubContext <AgentHub> agentHubContext,
                  IApplicationConfig appConfig)
 {
     _circuitManager  = circuitManager;
     ViewerHubContext = viewerHubContext;
     _agentHubContext = agentHubContext;
     _appConfig       = appConfig;
 }
Beispiel #2
0
 public AgentHub(IDataService dataService,
                 IApplicationConfig appConfig,
                 IHubContext <ViewerHub> viewerHubContext,
                 ICircuitManager circuitManager,
                 IExpiringTokenService expiringTokenService)
 {
     _dataService          = dataService;
     _viewerHubContext     = viewerHubContext;
     _appConfig            = appConfig;
     _circuitManager       = circuitManager;
     _expiringTokenService = expiringTokenService;
 }