Diffusion C API  6.7.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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. More...
 
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. More...
 
void free_reconnection_strategy (RECONNECTION_STRATEGY_T *strategy)
 Frees memory associated with a reconnection strategy. More...
 
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. More...
 

Detailed Description

Functions relating to session reconnection.