Definition at line 166 of file Connection.cc.
References Debug, Error(), HandleWriteTimeout(), PostMessage(), and str.
Referenced by AsyncWait(), and AsyncWrite().
168 if (error==ba::error::basic_errors::operation_aborted)
171 if (error && error != ba::error::not_connected)
174 str <<
"Writing to " <<
URL() <<
": " << error.message() <<
" (" << error <<
")";
181 if (error == ba::error::not_connected)
184 msg << n <<
" bytes could not be sent to " <<
URL() <<
" due to missing connection.";
196 msg << n <<
" bytes successfully sent to " <<
URL();
int Debug(const std::string &str)
void CloseImp(bool restart=true)
int Error(const std::string &str)
int Warn(const std::string &str)
boost::asio::deadline_timer fOutTimeout