void vortex_channel_set_received_handler VortexChannel channel,
VortexOnFrameReceived  received,
gpointer  user_data
 

Allows to set the frame received handler.

Set the handler to be executed on this channel when a received channel event arrives. If you call several times to this function, the handler and user data will be changed to passed in data. So you can use this function to reset handlers definition on this channel.

See also the following document to get useful information about using this function.

Parameters:
channel the channel to configure.
received the start handler to execute.
user_data the user data to pass to received execution.