MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / GetAllStreams

Method GetAllStreams

libi2pd/Destination.cpp:1397–1409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

ShowLocalDestinationFunction · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected