Function libaeron_sys::aeron_subscription_channel_status

source ยท
pub unsafe extern "C" fn aeron_subscription_channel_status(
    subscription: *mut aeron_subscription_t
) -> i64
Expand description

Get the status of the media channel for this subscription.

The status will be ERRORED (-1) if a socket exception occurs on setup and ACTIVE (1) if all is well.

@param subscription to check status of. @return 1 for ACTIVE, -1 for ERRORED