| 2267 | } |
| 2268 | |
| 2269 | std::shared_ptr<Stream> StreamingDestination::CreateNewIncomingStream (uint32_t receiveStreamID) |
| 2270 | { |
| 2271 | auto s = std::make_shared<Stream> (m_Owner->GetService (), *this); |
| 2272 | std::unique_lock<std::mutex> l(m_StreamsMutex); |
| 2273 | m_Streams.emplace (s->GetRecvStreamID (), s); |
| 2274 | m_IncomingStreams.emplace (receiveStreamID, s); |
| 2275 | return s; |
| 2276 | } |
| 2277 | |
| 2278 | void StreamingDestination::DeleteStream (std::shared_ptr<Stream> stream) |
| 2279 | { |
nothing calls this directly
no test coverage detected