| 159 | } |
| 160 | |
| 161 | void run() override { |
| 162 | // When binding to explicit port, allow retrying to workaround bind failures on ports in use |
| 163 | int retryCount = port ? 10 : 0; |
| 164 | pServerSocketFactory = createServerSocketFactory(); |
| 165 | startServer(retryCount); |
| 166 | } |
| 167 | |
| 168 | void readyBarrier() { |
| 169 | // block until server is listening and ready to accept connections |
nothing calls this directly
no test coverage detected