public override void _Private_QueueDeclare(
 string @queue,
 bool @passive,
 bool @durable,
 bool @exclusive,
 bool @autoDelete,
 bool @nowait,
 System.Collections.Generic.IDictionary<string, object> @arguments)
   {
       QueueDeclare __req = new QueueDeclare();
         __req.m_queue = @queue;
         __req.m_passive = @passive;
         __req.m_durable = @durable;
         __req.m_exclusive = @exclusive;
         __req.m_autoDelete = @autoDelete;
         __req.m_nowait = @nowait;
         __req.m_arguments = @arguments;
         if (nowait) {
       ModelSend(__req,null,null);
       return;
         }
         ModelSend(__req,null,null);
   }
Пример #2
0
 public override System.String QueueDeclare(
   System.String @queue,
   System.Boolean @passive,
   System.Boolean @durable,
   System.Boolean @exclusive,
   System.Boolean @autoDelete,
   System.Boolean @nowait,
   System.Collections.IDictionary @arguments)
 {
   QueueDeclare __req = new QueueDeclare();
   __req.m_queue = @queue;
   __req.m_passive = @passive;
   __req.m_durable = @durable;
   __req.m_exclusive = @exclusive;
   __req.m_autoDelete = @autoDelete;
   __req.m_nowait = @nowait;
   __req.m_arguments = @arguments;
   if (nowait) {
     ModelSend(__req,null,null);
     return null;
   }
   RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null);
   QueueDeclareOk __rep = __repBase as QueueDeclareOk;
   if (__rep == null) throw new UnexpectedMethodException(__repBase);
   return __rep.m_queue;
 }
 public override void _Private_QueueDeclare(
     System.String @queue,
     System.Boolean @passive,
     System.Boolean @durable,
     System.Boolean @exclusive,
     System.Boolean @autoDelete,
     System.Boolean @nowait,
     System.Collections.IDictionary @arguments)
 {
     QueueDeclare __req = new QueueDeclare();
       __req.m_queue = @queue;
       __req.m_passive = @passive;
       __req.m_durable = @durable;
       __req.m_exclusive = @exclusive;
       __req.m_autoDelete = @autoDelete;
       __req.m_nowait = @nowait;
       __req.m_arguments = @arguments;
       if (nowait) {
     ModelSend(__req,null,null);
     return;
       }
       ModelSend(__req,null,null);
 }