| 186 | } |
| 187 | |
| 188 | SlaveIORoutine::SlaveIORoutine(IORoutineMgr * routine_mgr, GroupStatusCache * group_status_cache) : |
| 189 | IORoutine(routine_mgr) { |
| 190 | PHXSqlProxyConfig * config = routine_mgr->GetConfig(); |
| 191 | WorkerConfig_t * worker_config = config->GetSlaveWorkerConfig(); |
| 192 | io_router_ = new SlaveIORouter(config, worker_config, group_status_cache); |
| 193 | io_channel_ = new SlaveIOChannel(config, worker_config, group_status_cache); |
| 194 | proxy_protocol_handler_ = new ProxyProtocolHandler(config, worker_config, group_status_cache); |
| 195 | } |
| 196 | |
| 197 | SlaveIORoutine::~SlaveIORoutine() { |
| 198 | } |
nothing calls this directly
no test coverage detected