| 67 | } |
| 68 | |
| 69 | void connect(const std::shared_ptr<dap::Reader>& r, |
| 70 | const std::shared_ptr<dap::Writer>& w) override { |
| 71 | if (isBound.exchange(true)) { |
| 72 | handlers.error("Session::connect called twice"); |
| 73 | return; |
| 74 | } |
| 75 | |
| 76 | reader = dap::ContentReader(r, this->onInvalidData); |
| 77 | writer = dap::ContentWriter(w); |
| 78 | } |
| 79 | |
| 80 | void startProcessingMessages( |
| 81 | const ClosedHandler& onClose /* = {} */) override { |
nothing calls this directly
no test coverage detected