|Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET||Apache Qpid Documentation|
Flow control works by associating a finite amount of "credit" with a subscription. More...
|FlowControl (uint32_t messages_=0, uint32_t bytes_=0, bool window_=false)|
|bool||operator== (const FlowControl &x)|
|static FlowControl||messageCredit (uint32_t messages_)|
|static FlowControl||messageWindow (uint32_t messages_)|
|static FlowControl||byteCredit (uint32_t bytes_)|
|static FlowControl||byteWindow (uint32_t bytes_)|
|static FlowControl||unlimited ()|
|static FlowControl||zero ()|
|Message credit: subscription can accept up to this many messages. |
|Byte credit: subscription can accept up to this many bytes of message content. |
|Window mode. |
|static const uint32_t||UNLIMITED = 0xFFFFFFFF|
Flow control works by associating a finite amount of "credit" with a subscription.
Credit includes a message count and a byte count. Each message received decreases the message count by one, and the byte count by the size of the message. Either count can have the special value UNLIMITED which is never decreased.
A subscription's credit is exhausted when the message count is 0 or the byte count is too small for the next available message. The subscription will not receive any further messages until is credit is renewed.
In "window mode" credit is automatically renewed when a message is completed (which by default happens when it is accepted). In non-window mode credit is not automatically renewed, it must be explicitly re-set (
|bool qpid::client::FlowControl::operator==||(||const FlowControl &||x||)||
|static FlowControl qpid::client::FlowControl::unlimited||(||)||
|static FlowControl qpid::client::FlowControl::zero||(||)||