Inheritance: IFullModel, IRecoverable
示例#1
0
 protected RecordedBinding(AutorecoveringModel channel, string destination, string source, string routingKey, IDictionary <string, object>?arguments)
     : base(channel)
 {
     Destination = destination;
     Source      = source;
     RoutingKey  = routingKey;
     Arguments   = arguments;
 }
 public RecordedExchange(AutorecoveringModel channel, string name, string type, bool durable, bool isAutoDelete, IDictionary <string, object>?arguments)
     : base(channel, name)
 {
     _type        = type;
     _durable     = durable;
     IsAutoDelete = isAutoDelete;
     _arguments   = arguments;
 }
 public RecordedQueue(AutorecoveringModel channel, string name, bool isServerNamed, bool durable, bool exclusive, bool autoDelete, IDictionary <string, object>?arguments)
     : base(channel, name)
 {
     _arguments    = arguments;
     _durable      = durable;
     _exclusive    = exclusive;
     IsAutoDelete  = autoDelete;
     IsServerNamed = isServerNamed;
 }
 public RecordedConsumer(AutorecoveringModel channel, IBasicConsumer consumer, string queue, bool autoAck, string consumerTag, bool exclusive, IDictionary <string, object>?arguments)
 {
     Channel     = channel;
     Consumer    = consumer;
     Queue       = queue;
     AutoAck     = autoAck;
     ConsumerTag = consumerTag;
     Exclusive   = exclusive;
     Arguments   = arguments;
 }
 public void UnregisterModel(AutorecoveringModel model)
 {
     lock (m_models)
     {
         m_models.Remove(model);
     }
 }
 public IModel CreateModel()
 {
     EnsureIsOpen();
     AutorecoveringModel m;
     m = new AutorecoveringModel(this,
         CreateNonRecoveringModel());
     lock (m_models)
     {
         m_models.Add(m);
     }
     return m;
 }
 public RecordedBinding(AutorecoveringModel model)
     : base(model)
 {
 }
 public RecordedEntity(AutorecoveringModel model)
 {
     Model = model;
 }
 public RecordedBinding(AutorecoveringModel model) : base(model)
 {
 }
 public RecordedExchange(AutorecoveringModel model, string name)
     : base(model, name)
 {
 }
 public RecordedExchange(AutorecoveringModel model, string name) : base(model, name)
 {
 }
 public RecordedQueue(AutorecoveringModel model, string name) : base(model, name)
 {
 }
 public RecordedConsumer(AutorecoveringModel model, string queue)
     : base(model)
 {
     Queue = queue;
 }
示例#14
0
 public RecordedExchangeBinding(AutorecoveringModel channel, string destination, string source, string routingKey, IDictionary <string, object>?arguments)
     : base(channel, destination, source, routingKey, arguments)
 {
 }
示例#15
0
 protected RecordedBinding(AutorecoveringModel model) : base(model)
 {
 }
 public RecordedNamedEntity(AutorecoveringModel model, string name)
     : base(model)
 {
     Name = name;
 }
示例#17
0
 public RecordedNamedEntity(AutorecoveringModel model, string name) : base(model)
 {
     this.name = name;
 }
 public RecordedQueue(AutorecoveringModel model, string name)
     : base(model, name)
 {
 }
 public RecordedEntity(AutorecoveringModel model)
 {
     Model = model;
 }
示例#20
0
 public RecordedConsumer(AutorecoveringModel model, string queue) : base(model)
 {
     Queue = queue;
 }