MCPcopy Create free account
hub / github.com/Tencent/phxsql / IORoutine

Method IORoutine

phxsqlproxy/io_routine.cpp:77–85  ·  view source on GitHub ↗

IORoutine begin

Source from the content-addressed store, hash-verified

75
76//IORoutine begin
77IORoutine::IORoutine(IORoutineMgr * routine_mgr) :
78 req_uniq_id_(0),
79 io_routine_mgr_(routine_mgr),
80 io_router_(nullptr),
81 io_channel_(nullptr),
82 proxy_protocol_handler_(nullptr),
83 client_fd_(-1),
84 sqlsvr_fd_(-1) {
85}
86
87IORoutine::~IORoutine() {
88 ReleaseFD(client_fd_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected