예제 #1
0
 public MasterControlConsumer(IConnectionFactory factory, IMasterControlProcessor processor, string exchange, List <string> routeKeys, string readableName = null) : base(factory, exchange, routeKeys, readableName)
 {
     _processor = processor;
     //InitJsonSettings();
 }
예제 #2
0
        //private Dictionary<string, Type> ResponseDictionary = new Dictionary<string, Type>(StringComparer.OrdinalIgnoreCase)
        //{
        //    {"status_check_response", typeof(StatusCheck)},
        //    {"start_poll_response", typeof(StartPoll) }
        //};

        #endregion

        #region Properties

        #endregion

        #region Constructors
        public MasterControlConsumer(IConnection conn, IMasterControlProcessor processor, string exchange, string routeKey) : base(conn, exchange, routeKey)
        {
            _processor = processor;
            //InitJsonSettings();
        }