487 if (bytes_received==0 || err)
489 if (err==ba::error::eof)
490 Warn(
"Connection closed by remote host (cosy).");
494 if (err && err!=ba::error::eof &&
495 err!=ba::error::basic_errors::not_connected &&
496 err!=ba::error::basic_errors::operation_aborted)
499 str <<
"Reading from " <<
URL() <<
": " << err.message() <<
" (" << err <<
")";
502 PostClose(err!=ba::error::basic_errors::operation_aborted);
512 Out() << line << endl;
516 if (line.substr(0, 13)==
"DRIVE-STATUS ")
522 if (line.substr(0, 13)==
"STARG-REPORT ")
528 if (line.substr(0, 14)==
"TPOINT-REPORT ")
534 if (line.substr(0, 13)==
"DRIVE-REPORT ")
void PostClose(bool restart=true)
bool ProcessDriveReport(const string &line)
bool ProcessTpointReport(const string &line)
int Error(const std::string &str)
int Warn(const std::string &str)
void ProcessDriveStatus(const string &line)
bool ProcessStargReport(const string &line)