typedef void(* VortexOnClosedChannel)(VortexChannel *channel, axlPointer user_data)

Handler definition that allows to get a notification that the channel is being disconnected from the connection (because the connection is closed and in process of being deallocated).

This function is used by:

NOTE: The connection reference holding the channel should not be used from inside this handler.

channel The channel about to be unrefered (the reference owned by the connection).
user_data User defined pointer configured at: vortex_channel_set_closed_handler.
See also: