public ConnectionFlowProcessor(
            BleDeviceManager deviceManager,
            IHesAppConnection hesConnection,
            IWorkstationUnlocker workstationUnlocker,
            IScreenActivator screenActivator,
            IClientUiManager ui,
            IHesAccessManager hesAccessManager,
            ISettingsManager <ServiceSettings> serviceSettingsManager,
            ConnectionFlowSubprocessorsStruct subprocs,
            ILog log)
            : base(nameof(ConnectionFlowProcessor), log)
        {
            _deviceManager       = deviceManager;
            _workstationUnlocker = workstationUnlocker;
            _screenActivator     = screenActivator;
            _ui                     = ui;
            _hesConnection          = hesConnection;
            _hesAccessManager       = hesAccessManager;
            _serviceSettingsManager = serviceSettingsManager;

            _subp = subprocs;

            _hesAccessManager.AccessRetractedEvent  += HesAccessManager_AccessRetractedEvent;
            SessionSwitchMonitor.SessionSwitch      += SessionSwitchMonitor_SessionSwitch;
            _serviceSettingsManager.SettingsChanged += ServiceSettingsManager_SettingsChanged;
        }
Example #2
0
 public ConnectionFlowProcessorFactory(
     BleDeviceManager deviceManager,
     BondManager bondManager,
     IHesAppConnection hesConnection,
     IWorkstationUnlocker workstationUnlocker,
     IScreenActivator screenActivator,
     IClientUiManager ui,
     IHesAccessManager hesAccessManager,
     ISettingsManager <ServiceSettings> serviceSettingsManager,
     ILocalDeviceInfoCache localDeviceInfoCache,
     ILog log)
 {
     _deviceManager       = deviceManager;
     _bondManager         = bondManager;
     _hesConnection       = hesConnection;
     _workstationUnlocker = workstationUnlocker;
     _screenActivator     = screenActivator;
     _ui = ui;
     _hesAccessManager       = hesAccessManager;
     _serviceSettingsManager = serviceSettingsManager;
     _localDeviceInfoCache   = localDeviceInfoCache;
     _log = log;
 }
 public ActivationProcessor(IHesAppConnection hesConnection, IClientUiManager ui, ILog log)
     : base(nameof(ActivationProcessor), log)
 {
     _hesConnection = hesConnection;
     _ui            = ui;
 }
Example #4
0
 public StateUpdateProcessor(IHesAppConnection hesConnection, ILog log)
     : base(nameof(StateUpdateProcessor), log)
 {
     _hesConnection = hesConnection;
 }
 public LicensingProcessor(IHesAppConnection hesConnection, IClientUiManager ui, ILog log)
     : base(nameof(LicensingProcessor), log)
 {
     _hesConnection = hesConnection;
     _ui            = ui;
 }
Example #6
0
 public VaultAuthorizationProcessor(IHesAppConnection hesConnection, IClientUiManager ui, ILog log)
     : base(nameof(VaultAuthorizationProcessor), log)
 {
     _hesConnection = hesConnection;
     _ui            = ui;
 }
 public AccountsUpdateProcessor(IHesAppConnection hesConnection, ILog log)
     : base(nameof(AccountsUpdateProcessor), log)
 {
     _hesConnection = hesConnection;
 }