typedef void(* VortexOnNotifyCloseChannel)(VortexChannel *channel, int msg_no, axlPointer user_data)

Async notification for incoming close channel requests.

This handler allows to only receive the notification and defer the decision to close or not the channel.

This is an alternative API to VortexOnCloseChannel, that allows to configure a handler (this one) to be executed to get notification about channel close request (vortex_channel_set_close_notify_handler), and later the request is completed by calling to vortex_channel_notify_close.

Parameters:
channel The channel that was notified to be closed.
user_data User defined data to be passed to the handler execution.