Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public ManifestListUpdate(List <String> list, ManifestListUpdateState state)
 {
     m_List  = list;
     m_State = state;
 }
Esempio n. 3
0
 public ManifestListUpdate(List<String> list, ManifestListUpdateState state)
 {
     m_List = list;
     m_State = state;
 }
Esempio n. 4
0
 public ManifestListUpdate()
 {
     m_List  = new List <String>();
     m_State = ManifestListUpdateState.Add;
 }
Esempio n. 5
0
 public ManifestListUpdate()
 {
     m_List = new List<String>();
     m_State = ManifestListUpdateState.Add;
 }