MCPcopy Create free account
hub / github.com/apache/brpc / StopAndJoin

Method StopAndJoin

test/brpc_builtin_service_unittest.cpp:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 virtual void TearDown() { StopAndJoin(); }
167
168 void StopAndJoin() {
169 _server.Stop(0);
170 _server.Join();
171 _server.ClearServices();
172 }
173
174 void SetUpController(brpc::Controller* cntl, bool use_html) const {
175 cntl->_server = &_server;

Callers

nothing calls this directly

Calls 3

ClearServicesMethod · 0.80
StopMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected