void vortex_connection_set_channel_added_handler ( VortexConnection connection,
VortexConnectionOnChannelUpdate  added_handler,
axlPointer  user_data 
)

Allows to configure a handler which is executed once a channel is added to the provided connection.

This could be used to implement some init policy once the channel is added to the connection. The function support adding several handlers.

Parameters:
connection The connection where the handler is going to be installed.
added_handler The handler to be called once the even happens.
user_data A reference to the user data to be passed to the function.