NetMQ.Zyre.Zyre.Receive C# (CSharp) Method

Receive() public method

Receive next message from network; the message may be a control. message (ENTER, EXIT, JOIN, LEAVE, STOP, EVASIVE) or data (WHISPER, SHOUT).
public Receive ( ) : NetMQMessage
return NetMQMessage
        public NetMQMessage Receive()
        {
            if (_useEvents)
            {
                throw new Exception("Disallowed due to the constructor used. Receive via events instead.");
            }
            return _inbox.ReceiveMultipartMessage();
        }