void IRepository.AddHosting(HostingInfo info) { _hostings[info.Tag] = info; _counters.ProxyPeer_State_AliveHostings++; }
void IRepository.RemoveHosting(HostingInfo info) { bool wasThere = _hostings.Remove(info.Tag); if (wasThere) _counters.ProxyPeer_State_AliveHostings--; }