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

Method subscribe

cpp/examples/broker.cpp:179–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 tryToSend();
178 }
179 void subscribe(Sender* s) {
180 DOUT(std::cerr << "Queue: " << this << "(" << name_ << ") subscribe Sender: " << s << "\n";);
181 subscriptions_[s] = 0;
182 }
183 void unsubscribe(Sender* s) {
184 DOUT(std::cerr << "Queue: " << this << "(" << name_ << ") unsubscribe Sender: " << s << "\n";);
185 // If we're about to erase the current subscription move on

Callers 1

boundQueueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected