void vortex_ctx_set_on_finish ( VortexCtx ctx,
VortexOnFinishHandler  finish_handler,
axlPointer  user_data 
)

Allows to configure a finish handler which is called once the process (vortex reader) detects no more pending connections are available.

Parameters
ctxThe context where the finish handler will be installed.
finish_handlerFinish handler to be called as described by VortexOnFinishHandler. If the value passed is NULL, then the handler will be unconfigured. Calling again with a handler will unconfigure previous one and set the value passed.
user_dataUser defined data to be passed to the handler.