Beispiel #1
0
 /// <summary>
 /// Dispatch the unprocessed KCD ANP events.
 /// </summary>
 private void DispatchUnprocessedKcdEvents()
 {
     while (m_ks.NbUnprocessedEvent > 0 &&
            !WmKcdState.QuenchFlag &&
            m_kws.IsOfflineCapable())
     {
         AnpMsg msg = m_kws.GetFirstUnprocessedEventInDb();
         if (msg == null)
         {
             throw new Exception(KwmStrings.Kws + " thinks it has unprocessed events, but DB says there aren't.");
         }
         DispatchKcdEvent(msg);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Return true if the workspace has a level of functionality greater
 /// or equal to the offline mode.
 /// </summary>
 public bool IsOfflineCapable()
 {
     return(Kws.IsOfflineCapable());
 }