| 1893 | } |
| 1894 | |
| 1895 | std::shared_ptr<NTCP2Session> NTCP2Server::FindNTCP2Session (const i2p::data::IdentHash& ident) |
| 1896 | { |
| 1897 | auto it = m_NTCP2Sessions.find (ident); |
| 1898 | if (it != m_NTCP2Sessions.end ()) |
| 1899 | return it->second; |
| 1900 | return nullptr; |
| 1901 | } |
| 1902 | |
| 1903 | void NTCP2Server::Connect(std::shared_ptr<NTCP2Session> conn) |
| 1904 | { |
nothing calls this directly
no outgoing calls
no test coverage detected