private void RemoveNotificatoinsOf(ObserveRelation relation) { if (log.IsDebugEnabled) { log.Debug("Remove all remaining NON-notifications of observe relation"); } foreach (Response previous in relation.ClearNotifications()) { Exchange.KeyID keyId = new Exchange.KeyID(previous.ID, previous.Destination); _exchangesByID.Remove(keyId); } }
private void RemoveNotificatoinsOf(ObserveRelation relation) { if (_Log.IsDebugEnabled) { _Log.Debug("Remove all remaining NON-notifications of observe relation"); } foreach (Response previous in relation.ClearNotifications()) { // notifications are local MID namespace Exchange.KeyID keyId = new Exchange.KeyID(previous.ID, null, null); _exchangesByID.Remove(keyId); } }