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.