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.

channelthe channel to configure
closethe close handler to execute
user_datathe user data to pass to close execution