| 70 | } |
| 71 | |
| 72 | void onReceived(const void* buffer, size_t size) override |
| 73 | { |
| 74 | _received += size; |
| 75 | timestamp_stop = Timestamp::nano(); |
| 76 | total_bytes += size; |
| 77 | |
| 78 | receive(buffer, size); |
| 79 | } |
| 80 | |
| 81 | void onError(int error, const std::string& category, const std::string& message) override |
| 82 | { |
nothing calls this directly
no outgoing calls
no test coverage detected