Exemple #1
0
 public SendProcessLogic(IPushProcessHistoryService pushProcessHistoryService
                         , IMapper mapper
                         , IConfigLogic configLogic
                         , IPushSendProcessService pushSendProcessService
                         , IChannelLogic channelLogic
                         , ITokenBrandLogic tokenBrandLogic
                         )
 {
     _pushProcessHistoryService = pushProcessHistoryService;
     _mapper                 = mapper;
     _configLogic            = configLogic;
     _pushSendProcessService = pushSendProcessService;
     _channelLogic           = channelLogic;
     _tokenBrandLogic        = tokenBrandLogic;
 }
Exemple #2
0
        //private ILoggerFactory _loggerFactory;

        public MsgService(IConfigLogic configLogic
                          , IMapper mapper
                          , ITokenBrandLogic tokenBrandLogic
                          , IPushTokenBrandService pushTokenBrandService
                          , ISendProcessLogic sendProcessLogic
                          , IPushSendProcessService pushSendProcessService
                          , IEventNotification eventNotification
                          //, ILoggerFactory loggerFactory
                          )
        {
            _configLogic            = configLogic;
            _mapper                 = mapper;
            _tokenBrandLogic        = tokenBrandLogic;
            _pushTokenBrandService  = pushTokenBrandService;
            _sendProcessLogic       = sendProcessLogic;
            _pushSendProcessService = pushSendProcessService;
            _eventNotification      = eventNotification;
            //_loggerFactory = loggerFactory;
            //初始化信号量
            InitSemaphore();
            //初始化队列
            InitQueue();
        }
Exemple #3
0
 public RegisterService(ITokenBrandLogic tokenBrandLogic, IPushTokenBrandService pushTokenBrandService, IMapper mapper)
 {
     _tokenBrandLogic       = tokenBrandLogic;
     _pushTokenBrandService = pushTokenBrandService;
     _mapper = mapper;
 }