Example #1
0
 void IRepository.AddHosting(HostingInfo info)
 {
     _hostings[info.Tag] = info;
     _counters.ProxyPeer_State_AliveHostings++;
 }
Example #2
0
        void IRepository.RemoveHosting(HostingInfo info)
        {
            bool wasThere = _hostings.Remove(info.Tag);

            if (wasThere)
                _counters.ProxyPeer_State_AliveHostings--;
        }