qpid::client::AckPolicy Class Reference
[Application API for an AMQP client.]

Policy for automatic acknowledgement of messages. More...

#include <AckPolicy.h>

List of all members.

Public Member Functions

 AckPolicy (size_t n=1)
 Sends accepts and marks completion of received transfers.
void ack (const Message &msg, AsyncSession session)
void ackOutstanding (AsyncSession session)


Detailed Description

Policy for automatic acknowledgement of messages.

Definition at line 37 of file AckPolicy.h.


Constructor & Destructor Documentation

qpid::client::AckPolicy::AckPolicy ( size_t  n = 1  ) 

Sends accepts and marks completion of received transfers.

Parameters:
n,: acknowledge every n messages. n==0 means no automatic acknowledgement.


The documentation for this class was generated from the following file:

Generated on Thu Oct 16 13:38:19 2008 for Qpid by  doxygen 1.5.6