MCPcopy Create free account
hub / github.com/apache/thrift / ~ServerThread

Method ~ServerThread

lib/cpp/test/processor/ServerThread.h:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 uint16_t getPort() const { return port_; }
88
89 ~ServerThread() {
90 if (running_) {
91 try {
92 stop();
93 } catch (...) {
94 TOutput::instance().printf("error shutting down server");
95 }
96 }
97 }
98
99protected:
100 // Annoying. thrift forces us to use shared_ptr, so we have to use

Callers

nothing calls this directly

Calls 1

printfMethod · 0.80

Tested by

no test coverage detected