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

Method stop

example/cpp11/timeouts/server.cpp:171–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169
170private:
171 void stop()
172 {
173 channel_.leave(shared_from_this());
174
175 boost::system::error_code ignored_error;
176 socket_.close(ignored_error);
177 input_deadline_.cancel();
178 non_empty_output_queue_.cancel();
179 output_deadline_.cancel();
180 }
181
182 bool stopped() const
183 {

Callers

nothing calls this directly

Calls 3

leaveMethod · 0.45
closeMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected