| 174 | //IORoutine end |
| 175 | |
| 176 | MasterIORoutine::MasterIORoutine(IORoutineMgr * routine_mgr, GroupStatusCache * group_status_cache) : |
| 177 | IORoutine(routine_mgr) { |
| 178 | PHXSqlProxyConfig * config = routine_mgr->GetConfig(); |
| 179 | WorkerConfig_t * worker_config = config->GetMasterWorkerConfig(); |
| 180 | io_router_ = new MasterIORouter(config, worker_config, group_status_cache); |
| 181 | io_channel_ = new MasterIOChannel(config, worker_config, group_status_cache); |
| 182 | proxy_protocol_handler_ = new ProxyProtocolHandler(config, worker_config, group_status_cache); |
| 183 | } |
| 184 | |
| 185 | MasterIORoutine::~MasterIORoutine() { |
| 186 | } |
nothing calls this directly
no test coverage detected