10 connections_[name] = nextConnection;
11 return nextConnection;
17 for (
auto& keyValue : connections_) {
18 if (keyValue.second == connection) {
19 channel = keyValue.first;
23 if (channel.length() > 0) {
24 connections_.erase(channel);
32 return connection > 0;