MCPcopy Create free account
hub / github.com/apache/qpid-proton / on_receiver_open

Method on_receiver_open

cpp/src/credit_test.cpp:172–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 void on_receiver_open(proton::receiver &r) override {
173 receiver_ = r;
174 next_idle_ = proton::make_work(&tester::first_idle, this);
175 proton::work call_on_server_idle(make_work(&tester::on_server_idle, this));
176 srv_->notify_on_idle(r.work_queue(), call_on_server_idle);
177 r.add_credit(initial_credit_);
178 }
179
180 void on_message(proton::delivery &d, proton::message &m) override {
181 received_++;

Callers

nothing calls this directly

Calls 4

make_workFunction · 0.85
notify_on_idleMethod · 0.80
work_queueMethod · 0.45
add_creditMethod · 0.45

Tested by

no test coverage detected