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

Method Close

libi2pd_client/SAM.cpp:1389–1395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1387 }
1388
1389 void SAMMasterSession::Close ()
1390 {
1391 SAMSingleSession::Close ();
1392 for (const auto& it: subsessions)
1393 m_Bridge.CloseSession (it);
1394 subsessions.clear ();
1395 }
1396
1397 SAMSubSession::SAMSubSession (std::shared_ptr<SAMMasterSession> master, std::string_view name, SAMSessionType type, uint16_t port):
1398 SAMSession (master->m_Bridge, name, type), masterSession (master), inPort (port)

Callers 4

TerminateMethod · 0.45
HandleAcceptMethod · 0.45
StopMethod · 0.45
CloseSessionMethod · 0.45

Calls 1

CloseSessionMethod · 0.80

Tested by

no test coverage detected