Type Alias libaeron_sys::aeron_on_new_subscription_t
source · pub type aeron_on_new_subscription_t = Option<unsafe extern "C" fn(clientd: *mut c_void, async_: *mut aeron_async_add_subscription_t, channel: *const c_char, stream_id: i32, correlation_id: i64)>;
Expand description
Function called by aeron_client_t to deliver notification that the media driver has added an aeron_subscription_t successfully.
Implementations should do the minimum work for handing off state to another thread for later processing.
@param clientd to be returned in the call @param async associated with the original aeron_add_async_subscription call @param channel of the subscription @param stream_id within the channel of the subscription @param session_id of the subscription @param correlation_id used by the subscription
Aliased Type§
enum aeron_on_new_subscription_t {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *mut aeron_client_registering_resource_stct, _: *const i8, _: i32, _: i64)),
}