Ejemplo n.º 1
0
        private void ProcessNextQueueItem()
        {
            if (IncommingInstructions.Count > 0)
            {
                Debug($"Processing next instruction...: {IncommingInstructions[0].Key}", DebugParams);

                Debug(LibraryExec(ParseMessage(IncommingInstructions[0].Key), IncommingInstructions[0].Value)[0].ToString(), DebugParams);
                IncommingInstructions.RemoveAt(0);
            }
        }
Ejemplo n.º 2
0
 private void ProcessNextInstruction()
 {
     if (IncommingInstructions.Count > 0)
     {
         IncommingInstructions[0].Instruction.Execute();
         IncommingInstructions.RemoveAt(0);
     }
     // TODO
     // Check if User is Authenticated
     // Else Reply to Client with the same message as sent,
     // and the error that the user is not authenticated
 }