Diffusion C API 6.11.5
Loading...
Searching...
No Matches
reconnect.h File Reference

Functions relating to session reconnection. More...

Functions

RECONNECTION_STRATEGY_Tmake_reconnection_strategy_repeating_attempt (long retry_count, long retry_delay)
 Creates a reconnection strategy that will retry a connection for a given number of times, with a delay between retry attempts.
 
RECONNECTION_STRATEGY_Tmake_reconnection_strategy_user_function (PERFORM_RECONNECTION_CB reconnect_cb, void *args, PERFORM_RECONNECTION_AFTER_ACTION_CB success_cb, PERFORM_RECONNECTION_AFTER_ACTION_CB failure_cb)
 Create a new reconnection strategy whose behavior is determined by a user-supplied function.
 
void free_reconnection_strategy (RECONNECTION_STRATEGY_T *strategy)
 Frees memory associated with a reconnection strategy.
 
void reconnection_strategy_set_timeout (RECONNECTION_STRATEGY_T *strategy, long timeout)
 Explicitly requests the length of time that a session is available on the server in the event that this client is disconnected.
 

Detailed Description

Functions relating to session reconnection.