Exemple #1
0
 public MqAdmin(MqConfig config)
 {
     this.broker        = config.broker;
     this.mq            = config.mq;
     this.accessToken   = config.accessToken;
     this.registerToken = config.registerToken;
     this.mode          = config.mode;
 }
Exemple #2
0
        public static void Main_MqConfig(string[] args)
        {
            MqConfig config  = new MqConfig();
            MqConfig config2 = (MqConfig)config.Clone();

            config2.accessToken = "access";

            System.Console.ReadKey();
        }
Exemple #3
0
 public Consumer(MqConfig config)
     : base(config)
 {
     this.topic = config.topic;
 }
Exemple #4
0
 public Caller(MqConfig config)
     : base(config)
 {
 }
Exemple #5
0
 public Producer(MqConfig config)
     : base(config)
 {
 }