| 41 | namespace phxsqlproxy { |
| 42 | |
| 43 | AcceptThread::AcceptThread(PHXSqlProxyConfig * config, const std::vector<WorkerThread *> & worker_threads, |
| 44 | int listen_fd) { |
| 45 | for (size_t i = 0; i < worker_threads.size(); ++i) { |
| 46 | worker_threads_.push_back(worker_threads[i]); |
| 47 | } |
| 48 | config_ = config; |
| 49 | listen_fd_ = listen_fd; |
| 50 | } |
| 51 | |
| 52 | AcceptThread::~AcceptThread() { |
| 53 | } |
nothing calls this directly
no outgoing calls
no test coverage detected