예제 #1
0
파일: WSServer.cs 프로젝트: BdGL3/CXPortal
        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);
        }
예제 #2
0
 public virtual void UpdatedManifestList(ManifestListUpdate listupdate)
 {
     throw new NotImplementedException(ErrorMessages.INVALID_FUNCTION);
 }