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

Method do_write

cpp/src/connection_driver_test.cpp:79–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 void do_write() {
80 const_buffer wbuf = write_buffer();
81 if (wbuf.size) {
82 writes.insert(writes.begin(),
83 static_cast<const char*>(wbuf.data),
84 static_cast<const char*>(wbuf.data) + wbuf.size);
85 write_done(wbuf.size);
86 }
87 }
88
89 void check_idle() {
90 spinning = has_events() ? 0 : spinning+1;

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected