MCPcopy Create free account
hub / github.com/apache/thrift / stop

Method stop

lib/cpp/src/thrift/server/TServerFramework.cpp:217–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void TServerFramework::stop() {
218 // Order is important because serve() releases serverTransport_ when it is
219 // interrupted, which closes the socket that interruptChildren uses.
220 serverTransport_->interruptChildren();
221 serverTransport_->interrupt();
222}
223
224void TServerFramework::newlyConnectedClient(const shared_ptr<TConnectedClient>& pClient) {
225 {

Callers

nothing calls this directly

Calls 2

interruptChildrenMethod · 0.45
interruptMethod · 0.45

Tested by

no test coverage detected