| 215 | } |
| 216 | |
| 217 | void 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 | |
| 224 | void TServerFramework::newlyConnectedClient(const shared_ptr<TConnectedClient>& pClient) { |
| 225 | { |
nothing calls this directly
no test coverage detected