void vortex_channel_set_close_handler ( VortexChannel channel,
VortexOnCloseChannel  close,
axlPointer  user_data 

Allows to set close channel handler for the given channel.

Set the handler to be executed on this channel when a close channel event arrives. Each call done to this function will repleace previous close handler configuration.

channel the channel to configure
close the close handler to execute
user_data the user data to pass to close execution