| 1622 | } |
| 1623 | |
| 1624 | std::shared_ptr<SAMSession> SAMBridge::FindSession (std::string_view id) const |
| 1625 | { |
| 1626 | std::unique_lock<std::mutex> l(m_SessionsMutex); |
| 1627 | auto it = m_Sessions.find (id); |
| 1628 | if (it != m_Sessions.end ()) |
| 1629 | return it->second; |
| 1630 | return nullptr; |
| 1631 | } |
| 1632 | |
| 1633 | std::list<std::shared_ptr<SAMSocket> > SAMBridge::ListSockets(std::string_view id) const |
| 1634 | { |
no outgoing calls
no test coverage detected