void myqtt_listener_shutdown ( MyQttConn listener,
axl_bool  also_created_conns 

Allows to shutdown the listener provided and all connections that were created due to its function.

The function perform a shutdown (no MQTT close session phase) on the listener and connections created.

listenerThe listener to shutdown.
also_created_connsaxl_true to shutdown all connections

References myqtt_async_queue_pop(), myqtt_async_queue_unref(), myqtt_conn_get_ctx(), myqtt_conn_get_id(), myqtt_conn_is_ok(), myqtt_conn_ref(), myqtt_conn_unref(), and MyQttOk.