void vortex_connection_set_on_close_full ( VortexConnection connection,
VortexConnectionOnCloseFull  on_close_handler,
axlPointer  data 

Extended version for vortex_connection_set_on_close handler which also support receiving a user data pointer.

See vortex_connection_set_on_close for more details. This function could be called several times to install several handlers.

Once a handler is installed, you can use vortex_connection_remove_on_close_full to uninstall the handler if it is required to avoid getting more notifications.

connection The connection that is required to get close notifications.
on_close_handler The handler to be executed once the event is produced.
data User defined data to be passed to the handler.