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

Method CloseStreams

libi2pd_client/SAM.cpp:1360–1366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1358 }
1359
1360 void SAMSession::CloseStreams ()
1361 {
1362 for(const auto & itr : m_Bridge.ListSockets(Name))
1363 {
1364 itr->Terminate(nullptr);
1365 }
1366 }
1367
1368 SAMSingleSession::SAMSingleSession (SAMBridge & parent, std::string_view name, SAMSessionType type, std::shared_ptr<ClientDestination> dest):
1369 SAMSession (parent, name, type),

Callers

nothing calls this directly

Calls 2

ListSocketsMethod · 0.80
TerminateMethod · 0.45

Tested by

no test coverage detected