NetMQ.Core.Reaper.InEvent C# (CSharp) Method

InEvent() public method

Handle input-ready events, by receiving and processing any commands that are waiting in the mailbox.
public InEvent ( ) : void
return void
        public void InEvent()
        {
            while (true)
            {
                // Get the next command. If there is none, exit.
                Command command;
                if (!m_mailbox.TryRecv(0, out command))
                    break;

                // Process the command.
                command.Destination.ProcessCommand(command);
            }
        }