[][src]Function qpid_proton_sys::pn_messenger_stop

pub unsafe extern "C" fn pn_messenger_stop(
    messenger: *mut pn_messenger_t
) -> i32

Stops a messenger. Stopping a messenger will perform an orderly shutdown of all underlying connections. This may require some time. If the messenger is in non blocking mode (see pn_messenger_is_blocking), this operation will return PN_INPROGRESS if it cannot finish immediately. In that case, you can use pn_messenger_stopped() to determine when the messenger has finished stopping.