예제 #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();
     }
 }
예제 #2
0
 void on_tracker_accept(proton::tracker &t) override {
     confirmed++;
     if (confirmed == total) {
         std::cout << "all messages confirmed" << std::endl;
         t.connection().close();
     }
 }
예제 #3
0
 void on_tracker_accept(proton::tracker &t) override {
     // All done.
     t.connection().close();
 }