| 32 | size_t ReadServer(std::vector<uint8_t> & destination); |
| 33 | template <typename Container> |
| 34 | void WriteServer(Container const & answer) |
| 35 | { |
| 36 | std::lock_guard<std::mutex> lg(m_inputMutex); |
| 37 | m_input.insert(m_input.begin(), std::begin(answer), std::end(answer)); |
| 38 | m_inputCondition.notify_one(); |
| 39 | } |
| 40 | |
| 41 | private: |
| 42 | std::atomic<bool> m_isConnected = {false}; |
no test coverage detected