Exemplo n.º 1
0
 public void AsyncDispatch(IQSimpleCommand cmd)
 {
     lock (_QLock)
     {
         if (!(cmd is HsmEventHolder))
         {
             if (!(cmd is SimpleTransactionalCmd))
             {
                 cmd = new SimpleTransactionalCmd(cmd);
             }
         }
         _BottomQueue.Enqueue(cmd);
     }
     _WaitHandle.Set();
 }
 public void AsyncDispatch(IQSimpleCommand cmd)
 {
     lock (_QLock)
     {
         if (!(cmd is HsmEventHolder))
         {
             if (!(cmd is SimpleTransactionalCmd))
             {
                 cmd = new SimpleTransactionalCmd (cmd);
             }
         }
         _BottomQueue.Enqueue (cmd);
     }
     _WaitHandle.Set ();
 }