Functions
MyQttd Connection Manager: a module that controls all connections created under the myqttd execution

Functions

axlList * myqttd_conn_mgr_conn_list (MyQttdCtx *ctx, MyQttPeerRole role, const char *filter)
 Allows to get a list of connections registered on the connection manager, matching the providing role and then filtered by the provided filter string. More...
 
int myqttd_conn_mgr_count (MyQttdCtx *ctx)
 Allows to get number of connections currently handled by this process. More...
 
MyQttConnmyqttd_conn_mgr_find_by_id (MyQttdCtx *ctx, int conn_id)
 Allows to get a reference to the registered connection with the provided id. More...
 
axl_bool myqttd_conn_mgr_proxy_on_parent (MyQttConn *conn)
 Allows to check if the provided connection has to be proxied on the parent master process in the case it is required to be sent to a child process due to domain configuration. More...
 
int myqttd_conn_mgr_setup_proxy_on_parent (MyQttdCtx *ctx, MyQttConn *conn)
 Setups the necessary configuration to start proxing content of that connection passing all bytes into the returned socket. More...
 

Detailed Description