typedef void(* MyQttIoDispatchFunc)(int fds, MyQttIoWaitingFor wait_to, MyQttConn *connection, axlPointer user_data)

User space handler to implement automatic dispatch for I/O waiting mechanism implemented at myqtt io module.

This handler definition is used by:

Do not confuse this handler definition with MyQttIoDispatch, which is the handler definition for the actual implemenation for the I/O mechanism to implement automatic dispatch.

Parameters
fdsThe socket that is being notified and identified to be dispatched.
wait_toThe purpose of the created I/O waiting mechanism.
connectionConnection where the dispatch operation takes place.
user_dataReference to the user data provided to the dispatch function.