public ServiceActionsHandler(IClientsManagement clientsManagement, INotificationFactory notificationFactory) { _clientsManagement = clientsManagement; _notificationFactory = notificationFactory; _serviceActionsQueueProcessingTimer = new Timer(1000); _serviceActionsQueueProcessingTimer.Elapsed += _executeActionFromQueueOnTimerElapsed; _serviceActionsQueueProcessingTimer.Enabled = true; _serviceActionsQueueProcessingTimer.AutoReset = false; _serviceActionsQueueProcessingTimer.Start(); }
public RegisterClientAction(Guid clientId, IClientsManagement clientsManagement, INotificationFactory notificationFactory) { _clientId = clientId; _clientsManagement = clientsManagement; _notificationFactory = notificationFactory; }
public SampleOperationAction(IClientsManagement clientsManagement, INotificationFactory notificationFactory) { _clientsManagement = clientsManagement; _sampleOperations = new SampleOperations(); _notificationFactory = notificationFactory; }
public UpdateChannelAction(Guid clientId, IClientsManagement clientsManagement) { _clientId = clientId; _clientsManagement = clientsManagement; }
public UnregisterClientAction(Guid clientId, IClientsManagement clientsManagement) { _clientId = clientId; _clientsManagement = clientsManagement; }