Beispiel #1
0
 public ClientManager(IServer server, ICommandQueueService commandQueueService, ICommandSerializer commandSerializer, IStreamIOService streamIoService)
 {
     _server = server;
     _commandQueueService = commandQueueService;
     _commandSerializer = commandSerializer;
     _streamIoService = streamIoService;
 }
Beispiel #2
0
 public HomeController(IVirtualDeviceService virtualDeviceService, ICommandQueueService commandQueueService,
     ILog logger)
 {
     _virtualDeviceService = virtualDeviceService;
     _commandQueueService = commandQueueService;
     _logger = logger;
 }
 public CommandDispatchingService(
     ILogger <CommandDispatchingService> logger,
     ICommandDispatcher commandDispatcher,
     ICommandQueueService commandQueueService
     )
 {
     _logger              = logger;
     _commandDispatcher   = commandDispatcher;
     _commandQueueService = commandQueueService;
 }
Beispiel #4
0
 public OrdersController(
     OrderDbContext context,
     ICommandQueueService commandQueueService,
     ICachingService cachingService
     )
 {
     _context             = context;
     _commandQueueService = commandQueueService;
     _cachingService      = cachingService;
 }
Beispiel #5
0
 public Client(TcpClient tcpClient, IClientInformation clientInformation)
 {
     ClientInformation = clientInformation;
     _commandQueueService = new CommandQueueService();
     _commandQueueService.OnCommandPending += _commandQueueService_OnCommandPending;
     _tcpClient = tcpClient;
     _clientCommandHandler = new ClientCommandHandler(_tcpClient, new CommandSerializer(), this) { ClientInfomation = clientInformation };
     _commandFactory = new CommandFactory();
     _commandSerializer = new CommandSerializer();
 }
Beispiel #6
0
 public VirtualDeviceService(IVirtualDeviceRepository deviceRepo, ICommandRepository commandRepo, ICommandQueueService cqs)
 {
     _deviceRepo = deviceRepo;
     _commandRepo = commandRepo;
     _cqs = cqs;
 }