Function libaeron_sys::aeron_subscription_image_by_session_id

source ยท
pub unsafe extern "C" fn aeron_subscription_image_by_session_id(
    subscription: *mut aeron_subscription_t,
    session_id: i32
) -> *mut aeron_image_t
Expand description

Return the image associated with the given session_id under the given subscription.

Note: the returned image is considered retained by the application and thus must be released via aeron_image_release when finished or if the image becomes unavailable.

@param subscription to search. @param session_id associated with the image. @return image associated with the given session_id or NULL if no image exists.