Skip to content

Commit 4d791f0

Browse files
author
Petr Matousek
committed
get rid of client dep on transaction_handler, handled in session now
1 parent 69e99e7 commit 4d791f0

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/api/qpid-proton/reactor/handler/TxReceiverHandler.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@
1414
#ifndef TXRECEIVERHANDLER_H
1515
#define TXRECEIVERHANDLER_H
1616

17-
#include <proton/transaction_handler.hpp>
18-
1917
#include "ReceiverHandler.h"
2018

2119
using proton::session;
22-
using proton::transaction_handler;
2320

2421
#ifdef PN_CPP_HAS_STD_FUNCTION
2522
#undef PN_CPP_HAS_STD_FUNCTION
@@ -32,7 +29,7 @@ namespace reactor {
3229
/**
3330
* A proton transaction message handler that handles message receive events
3431
*/
35-
class TxReceiverHandler : public ReceiverHandler, transaction_handler {
32+
class TxReceiverHandler : public ReceiverHandler {
3633
public:
3734
/**
3835
* Constructor

src/api/qpid-proton/reactor/handler/TxSenderHandler.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@
1414
#ifndef TXSENDERHANDLER_H
1515
#define TXSENDERHANDLER_H
1616

17-
#include <proton/transaction_handler.hpp>
18-
1917
#include "SenderHandler.h"
2018

2119
using proton::session;
22-
using proton::transaction_handler;
2320

2421
namespace dtests {
2522
namespace proton {
@@ -30,7 +27,7 @@ using dtests::common::Timer;
3027
/**
3128
* A proton transaction message handler that handles message send events
3229
*/
33-
class TxSenderHandler : public SenderHandler, transaction_handler {
30+
class TxSenderHandler : public SenderHandler {
3431
public:
3532
/**
3633
* Constructor

0 commit comments

Comments
 (0)