MCPcopy Create free account
hub / github.com/boostorg/asio / deliver

Method deliver

example/cpp11/timeouts/server.cpp:187–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 }
186
187 void deliver(const std::string& msg) override
188 {
189 output_queue_.push_back(msg + "\n");
190
191 // Signal that the output queue contains messages. Modifying the expiry
192 // will wake the output actor, if it is waiting on the timer.
193 non_empty_output_queue_.expires_at(steady_timer::time_point::min());
194 }
195
196 void read_line()
197 {

Callers

nothing calls this directly

Calls 1

expires_atMethod · 0.45

Tested by

no test coverage detected