MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / Sessions

Method Sessions

MonaCore/sources/Sessions.cpp:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30Sessions::Sessions() {
31 onAddressChanged = [this](Session& session, const SocketAddress& oldAddress) {
32 INFO("Session ",session.name()," has changed its address, ",oldAddress.toString()," -> ",session.peer.address.toString());
33 removeByAddress(oldAddress, session);
34 addByAddress(session);
35 };
36}
37
38Sessions::~Sessions() {
39 // delete sessions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected