Ejemplo n.º 1
0
 public ChannelController(
     StargateDbContext dbContext,
     ACTokenManager tokenManager,
     ConnectedCountService connectedCountService,
     LastAccessService lastAccessService,
     ChannelLiveJudger channelLiveJudger)
 {
     _dbContext             = dbContext;
     _tokenManager          = tokenManager;
     _connectedCountService = connectedCountService;
     _lastAccessService     = lastAccessService;
     _channelLiveJudger     = channelLiveJudger;
 }
Ejemplo n.º 2
0
 public ListenController(
     StargateDbContext dbContext,
     StargateMemory memoryContext,
     WebSocketPusher pusher,
     ILogger <ListenController> logger,
     Counter counter,
     AppsContainer appsContainer,
     EventService eventService,
     ConnectedCountService connectedCountService,
     LastAccessService lastAccessService,
     ChannelLiveJudger channelLiveJudger)
 {
     _dbContext             = dbContext;
     _memoryContext         = memoryContext;
     _pusher                = pusher;
     _logger                = logger;
     _counter               = counter;
     _appsContainer         = appsContainer;
     _eventService          = eventService;
     _connectedCountService = connectedCountService;
     _lastAccessService     = lastAccessService;
     _channelLiveJudger     = channelLiveJudger;
 }