Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public RegisterClientAction(Guid clientId, IClientsManagement clientsManagement, INotificationFactory notificationFactory)
 {
     _clientId            = clientId;
     _clientsManagement   = clientsManagement;
     _notificationFactory = notificationFactory;
 }
Exemplo n.º 3
0
 public SampleOperationAction(IClientsManagement clientsManagement, INotificationFactory notificationFactory)
 {
     _clientsManagement   = clientsManagement;
     _sampleOperations    = new SampleOperations();
     _notificationFactory = notificationFactory;
 }
Exemplo n.º 4
0
 public UpdateChannelAction(Guid clientId, IClientsManagement clientsManagement)
 {
     _clientId          = clientId;
     _clientsManagement = clientsManagement;
 }
Exemplo n.º 5
0
 public UnregisterClientAction(Guid clientId, IClientsManagement clientsManagement)
 {
     _clientId          = clientId;
     _clientsManagement = clientsManagement;
 }