void vortex_ctx_set_frame_received ( VortexCtx ctx,
VortexOnFrameReceived  received,
axlPointer  received_user_data 
)

Allows to configure a global frame received handler where all frames are delivered, overriding first and second level handlers.

The frame handler is executed using the thread created for the vortex reader process, that is, without activing a new thread from the pool. This means that the function must not block the caller because no frame will be received until the handler configured on this function finish.

Parameters
ctxThe context to configure.
receivedThe handler to configure.
received_user_dataUser defined data to be configured associated to the handler. This data will be provided to the frame received handler each time it is activated.

Referenced by vortex_pull_cleanup(), and vortex_pull_init().