| 1395 | } |
| 1396 | |
| 1397 | std::vector<std::shared_ptr<const i2p::stream::Stream> > ClientDestination::GetAllStreams () const |
| 1398 | { |
| 1399 | std::vector<std::shared_ptr<const i2p::stream::Stream> > ret; |
| 1400 | if (m_StreamingDestination) |
| 1401 | { |
| 1402 | for (auto& it: m_StreamingDestination->GetStreams ()) |
| 1403 | ret.push_back (it.second); |
| 1404 | } |
| 1405 | for (auto& it: m_StreamingDestinationsByPorts) |
| 1406 | for (auto& it1: it.second->GetStreams ()) |
| 1407 | ret.push_back (it1.second); |
| 1408 | return ret; |
| 1409 | } |
| 1410 | |
| 1411 | void ClientDestination::PersistTemporaryKeys (std::shared_ptr<i2p::crypto::LocalEncryptionKey> keys) |
| 1412 | { |
no test coverage detected