477 if (bytes_received==0 || err)
479 if (err==ba::error::eof)
482 msg <<
"Connection closed by remote host (BIAS, fSendCounter=" <<
fSendCounter <<
")";
488 if (err && err!=ba::error::eof &&
489 err!=ba::error::basic_errors::not_connected &&
490 err!=ba::error::basic_errors::operation_aborted)
493 str <<
"Reading from " <<
URL() <<
": " << err.message() <<
" (" << err <<
")";
502 if (bytes_received%3)
504 Error(
"Number of received bytes not a multiple of 3, can't read data.");
530 switch (command&0xff)
vector< uint8_t > fBuffer
void CloseImp(int64_t delay=0)
vector< uint8_t > fBufferRamp
vector< uint8_t > fBufferUpdate
void HandleReceivedData(const vector< uint8_t > &buf, size_t bytes_received, int command, int send_counter)
int Error(const std::string &str)
int Warn(const std::string &str)