| 28 | |
| 29 | |
| 30 | Sessions::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 | |
| 38 | Sessions::~Sessions() { |
| 39 | // delete sessions |
nothing calls this directly
no outgoing calls
no test coverage detected