/// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="messageBus">MessageBus object</param>
 /// <param name="configuration">DeviceHive configuration</param>
 /// <param name="deviceNotificationRepository">IDeviceNotificationRepository object</param>
 /// <param name="deviceCommandRepository">IDeviceCommandRepository object</param>
 public MessageManager(MessageBus messageBus, DeviceHiveConfiguration configuration,
                       IDeviceNotificationRepository deviceNotificationRepository, IDeviceCommandRepository deviceCommandRepository)
 {
     _messageBus    = messageBus;
     _configuration = configuration;
     _deviceNotificationRepository = deviceNotificationRepository;
     _deviceCommandRepository      = deviceCommandRepository;
     _messageHandlerInfos          = new List <MessageHandlerInfo>();
 }
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="messageBus">MessageBus object</param>
 /// <param name="configuration">DeviceHive configuration</param>
 /// <param name="deviceNotificationRepository">IDeviceNotificationRepository object</param>
 /// <param name="deviceCommandRepository">IDeviceCommandRepository object</param>
 public MessageManager(MessageBus messageBus, DeviceHiveConfiguration configuration,
     IDeviceNotificationRepository deviceNotificationRepository, IDeviceCommandRepository deviceCommandRepository)
 {
     _messageBus = messageBus;
     _configuration = configuration;
     _deviceNotificationRepository = deviceNotificationRepository;
     _deviceCommandRepository = deviceCommandRepository;
     _messageHandlerInfos = new List<MessageHandlerInfo>();
 }