Automatic Reconnect

When a temporary network outage disconnects an eFTL client from the server, the client library automatically attempts to reconnect to the server.

This feature is transparent to the client application and to the developer.

During the disconnect, the client library buffers messages that the application publishes. Upon reconnect, the client library transmits those messages to the server.

Similarly, during the disconnect, the server buffers outbound messages to the client’s subscribers. Upon reconnect, the server transmits those messages.

Reconnection attempts continue for approximately half a minute. If automatic reconnect fails, then both client and server discard buffered messages, and the application’s disconnect callback determines its response to the longer network outage.