Пример #1
0
        public void BasicQos()
        {
            int prefetchSize, prefetchCount;

            if (!int.TryParse(PrefetchSize.text, out prefetchSize))
            {
                prefetchSize = 0;
            }
            if (!int.TryParse(PrefetchCount.text, out prefetchCount))
            {
                prefetchCount = 0;
            }

            AmqpClient.BasicQos((uint)prefetchSize, (ushort)prefetchCount, PrefetchGlobal.isOn);
        }