Beispiel #1
0
 void on_tracker_accept(proton::tracker &t) override {
     confirmed_++;
     t.settle();
     if (confirmed_ == total_) {
         std::cout << "all messages confirmed" << std::endl;
         if (!replying_)
             t.connection().close();
     }
 }
Beispiel #2
0
 void on_tracker_accept(proton::tracker &t) override {
     confirmed++;
     if (confirmed == total) {
         std::cout << "all messages confirmed" << std::endl;
         t.connection().close();
     }
 }
 void on_tracker_accept(proton::tracker &t) override {
     // All done.
     t.connection().close();
 }