diff options
Diffstat (limited to 'cpp/lib/broker/TxAck.h')
-rw-r--r-- | cpp/lib/broker/TxAck.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/lib/broker/TxAck.h b/cpp/lib/broker/TxAck.h index d6ff8fea9c..88c321c445 100644 --- a/cpp/lib/broker/TxAck.h +++ b/cpp/lib/broker/TxAck.h @@ -37,13 +37,15 @@ namespace qpid { class TxAck : public TxOp{ AccumulatedAck& acked; std::list<DeliveryRecord>& unacked; + const std::string* const xid; + public: /** * @param acked a representation of the accumulation of * acks received * @param unacked the record of delivered messages */ - TxAck(AccumulatedAck& acked, std::list<DeliveryRecord>& unacked); + TxAck(AccumulatedAck& acked, std::list<DeliveryRecord>& unacked, const std::string* const xid = 0); virtual bool prepare(TransactionContext* ctxt) throw(); virtual void commit() throw(); virtual void rollback() throw(); |