* This method returns the plain answer received from the socket. Useful for log purposes.
* @return a std::string containing the plain answer received from the socket.
*/
conststd::stringgetPlainAnswer()const
{
std::shared_lock<std::shared_mutex>lock(m_mutex);
returnthis->get<std::string>("PLAIN_ANSWER");
}
protected:
/**
* Shared mutex to control read and write accesses. Multiple reading access are permitted and will only block writing access. Writing access will block all accesses