public override uint _Private_QueueDelete(string queue, bool ifUnused, bool ifEmpty, bool nowait)
        {
            QueueDelete method = new QueueDelete(queue, ifUnused, ifEmpty, nowait);

            if (nowait)
            {
                ModelSend(method);
                return(0xFFFFFFFF);
            }

            return(ModelRpc <QueueDeleteOk>(method)._messageCount);
        }
Esempio n. 2
0
        public override uint _Private_QueueDelete(string queue, bool ifUnused, bool ifEmpty, bool nowait)
        {
            QueueDelete method = new QueueDelete(queue, ifUnused, ifEmpty, nowait);

            if (nowait)
            {
                ModelSend(method);
                return(0xFFFFFFFF);
            }

            return(ModelRpc(method, ProtocolCommandId.QueueDeleteOk, memory => new QueueDeleteOk(memory.Span)._messageCount));
        }