Function qpid_proton_sys::pn_messenger_get[][src]

pub unsafe extern "C" fn pn_messenger_get(
    messenger: *mut pn_messenger_t,
    message: *mut pn_message_t
) -> i32
Expand description

Get the next message from the head of a messenger’s incoming queue. The get operation copies the message data from the head of the messenger’s incoming queue into the provided pn_message_t object. If provided pn_message_t pointer is NULL, the head message will be discarded. This operation will return PN_EOS if there are no messages left on the incoming queue.