public ViewRefreshFromRemoteEventHandler( ViewsHolder viewHolder, IClientNotifier clientNotifier) { _viewHolder = viewHolder; _clientNotifier = clientNotifier; }
public NewClientConnectedHandler( ViewHolder viewHolder, IClientNotifier clientNotifier) { _viewHolder = viewHolder; _clientNotifier = clientNotifier; }
public ViewRefreshFromCustomerQueueEventHandler( ViewHolder viewHolder, IClientNotifier clientNotifier) { _viewHolder = viewHolder; _clientNotifier = clientNotifier; }
public SystemSettingService(ISystemSettingRepository repo, IUnitOfWork unitOfWork , IMemoryCache memoryCache, IClientNotifier clientNotifier) : base(repo, unitOfWork) { _repo = repo; _memoryCache = memoryCache; _clientNotifier = clientNotifier; }
public AmendmentService(IAmendmentRepository repository, IUnitOfWork unitOfWork, IClientNotifier clientNotifier, IScreenControlService screenControlService , IUserService userService) : base(repository, unitOfWork) { _repository = repository; _unitOfWork = unitOfWork; _clientNotifier = clientNotifier; _screenControlService = screenControlService; _userService = userService; }
public ScreenControlService(IClientNotifier clientNotifier, IAmendmentRepository amendmentRepository, IAmendmentBodyRepository amendmentBodyRepository, IUnitOfWork unitOfWork, IMapper mapper, IUserService userService) { _clientNotifier = clientNotifier; _amendmentRepository = amendmentRepository; _amendmentBodyRepository = amendmentBodyRepository; _unitOfWork = unitOfWork; _mapper = mapper; _userService = userService; }
public QuerySideInitializer( IEventStore eventStore, ViewsHolder viewHolder, IDomainEventBus domainEventBus, IClientNotifier clientNotifier) { _eventStore = eventStore; _viewHolder = viewHolder; _domainEventBus = domainEventBus; _clientNotifier = clientNotifier; }
internal AsyncPeer(UserId id, X509Certificate2 certificate, IApi api, IClientNotifier notifier, Logger logger) { _id = id; _localCertificate = certificate; _peers = new Dictionary <UserId, RemotePeer>(); _syncContext = new EngineSyncContext(); _requestQueue = new RequestQueue(api); _api = api; _notifier = notifier; _logger = logger; }
public ClientOperationsDispatcher( ISiteStorage siteStorage, ITrackingTimer trackingTimer, IIdGenerator idGenerator, IClientNotifier clientNotifier) { _siteStorage = siteStorage; _trackingTimer = trackingTimer; _idGenerator = idGenerator; _clientNotifier = clientNotifier; }
public QuerySideInitializer( IEventStoreSubscription <CustomerQueueSubscription> customerQueueEventStoreSubscription, IDomainEventBus domainEventBus, IClientNotifier clientNotifier, ViewHolder viewHolder) { _customerQueueEventStoreSubscription = customerQueueEventStoreSubscription; _domainEventBus = domainEventBus; _clientNotifier = clientNotifier; _viewHolder = viewHolder; }
public ConfigurationService( IConfigurationRepository configurationRepository, IClientNotifier clientNotifier) { this.configurationRepository = configurationRepository; this.clientNotifier = clientNotifier; var settings = ServerSettings.Current(); systemKey = settings.App.SystemKey ?? "system"; defaultKey = settings.App.DefaultKey ?? "default"; }
public ImageServiceClientManager(IImageService imageService, IClientNotifier notifyer, Action autoUpdateCallback) { ImageServiceProxy = imageService; Notifier = notifyer; faultProcessor = new NotifierExceptionProcessor(notifyer); if (autoUpdateCallback != null) { callBackAction = autoUpdateCallback; StartUpdateThread(); } }
internal AsyncPeer(IApi api, IClientNotifier notifier, Logger logger) { _waitingCommands = new Dictionary <string, List <WaitingCommandContainer> >(); _packers = new Dictionary <string, Packer>(); _syncContext = new EngineSyncContext(); _requestQueue = new RequestQueue(api); _api = api; _diffieHellman = new ECDiffieHellmanCng(KeySize); _diffieHellman.KeyDerivationFunction = ECDiffieHellmanKeyDerivationFunction.Hash; _diffieHellman.HashAlgorithm = CngAlgorithm.Sha256; _notifier = notifier; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="Controller"/> class. /// </summary> public Controller(IClientNotifier notifier) { this.model = new MultiModel(this); this.notifier = notifier; //initialize the dictionary this.commandSet = new Dictionary <string, ICommand>(); this.commandSet.Add("start", new StartCommand(model)); this.commandSet.Add("list", new ListCommand(model)); this.commandSet.Add("join", new JoinCommand(model)); this.commandSet.Add("play", new PlayCommand(model)); this.commandSet.Add("close", new CloseCommand(model)); }
public AsyncClient(string id, IApi api, IClientNotifier notifier, Logger logger) { Id = id; _api = api; _requestQueue = new RequestQueue(api); _requestQueue.Error += OnRequestQueueError; _notifier = notifier; _timer = new Timer(OnTimer, null, SystemTimerInterval, -1); _reconnect = true; _reconnecting = false; _logger = logger; }
public AsyncClient(UserId id, CertificatesStorage trustedCertificates, X509Certificate2 certificate, IApi api, IClientNotifier notifier, Logger logger) : base(trustedCertificates, certificate, logger) { Id = id; _api = api; _requestQueue = new RequestQueue(api); _requestQueue.Error += OnRequestQueueError; _notifier = notifier; _reconnect = true; _reconnecting = false; _logger = logger; }
public PlayersController(IPlayerService playerService, IClientNotifier clientNotifier) { this.playerService = playerService; this.clientNotifier = clientNotifier; }
public NotifierExceptionProcessor(IClientNotifier notifier) { Notifier = notifier; }
public ClientCertificatesStorage(string path, IClientNotifier notifier, Logger logger) : base(path, logger) { _notifier = notifier; }
public ExternalEventHandler(ICommandRouter commandRouter, IClientNotifier clientNotifier) { _commandRouter = commandRouter; _clientNotifier = clientNotifier; }
public TimerAction(ISiteStatusChecker siteStatusChecker, ISiteStorage siteStorage, IClientNotifier clientNotifier) { _siteStatusChecker = siteStatusChecker; _siteStorage = siteStorage; _clientNotifier = clientNotifier; }
public LobbiesController(ILobbyService lobbyService, IClientNotifier clientNotifier) { this.lobbyService = lobbyService; this.clientNotifier = clientNotifier; }
public SolutionCommandHandler(ISolutionWriteRepository solutionWriteRepository, IClientNotifier clientNotifier) { _solutionWriteRepository = solutionWriteRepository; _clientNotifier = clientNotifier; }
public AddMessageHandler(IMapperService mapper, GaverContext context, IClientNotifier clientNotifier) { this.mapper = mapper; this.context = context; _clientNotifier = clientNotifier; }
public static string GetLastError(this IClientNotifier notifier) { return(((WebNotifier)notifier).LastError); }
public static string GetLastMessage(this IClientNotifier notifier) { return(((WebNotifier)notifier).LastMessage); }
public static string GetLastWarning(this IClientNotifier notifier) { return(((WebNotifier)notifier).LastWarning); }