public PomeliumServer( IPomeliumHubLocator pomeliumHubLocator, ISession session, IServiceProvider serviceProvider, ISemaphoreProvider semaphoreProvider, IHubActivitor hubActivitor, IClientCollection clientCollection, INodeProvider nodeProvider, IGarbageCollector garbageCollector) { _pomeliumHubLocator = pomeliumHubLocator; _session = session; _serviceProvider = serviceProvider; _semaphoreProvider = semaphoreProvider; _hubActivitor = hubActivitor; _clientCollection = clientCollection; _nodeProvider = nodeProvider; _heartbeatTimer = new Timer(TimerCallback, null, 0, 5000); }
public DefaultHubActivitor(IPomeliumHubLocator pomeliumHubLocator, IServiceProvider serviceProvider, ISession session) { _pomeliumHubLocator = pomeliumHubLocator; _serviceProvider = serviceProvider; _session = session; }