public void UpdateManifestList(List <String> manifestDelta, Boolean isAddingToList) { ManifestListUpdateState state = ManifestListUpdateState.Delete; if (isAddingToList) { state = ManifestListUpdateState.Add; } ManifestListUpdate listUpdate = new ManifestListUpdate(manifestDelta, state); List <String> callbacks = new List <String>(); lock (m_ClientListLock) { foreach (String awsId in m_Callbacks.Keys) { try { m_Callbacks[awsId].Callback.UpdatedManifestList(listUpdate); } catch (Exception) { callbacks.Add(awsId); } } } RemoveCallBacks(callbacks); }
public ManifestListUpdate(List <String> list, ManifestListUpdateState state) { m_List = list; m_State = state; }
public ManifestListUpdate(List<String> list, ManifestListUpdateState state) { m_List = list; m_State = state; }
public ManifestListUpdate() { m_List = new List <String>(); m_State = ManifestListUpdateState.Add; }
public ManifestListUpdate() { m_List = new List<String>(); m_State = ManifestListUpdateState.Add; }