added TcpServeR::errlogfmt() to report internal operation failures

This commit is contained in:
2019-06-14 05:53:24 +00:00
parent 3f8838afd3
commit d3a0140ab6
2 changed files with 22 additions and 11 deletions

View File

@ -252,6 +252,7 @@ protected:
friend class TcpServer::Worker;
virtual int handle_worker (Worker* worker) = 0;
virtual void errlogfmt (const qse_char_t* fmt, ...) { /* do nothing. subclasses may override this */ }
private:
void delete_all_workers (Worker::State state) QSE_CPP_NOEXCEPT;