DiffusionTM Java API 6.6.0-preview.1
public interface ReconnectionStrategy
A reconnection strategy will be applied when the session enters the
RECOVERING_RECONNECT state, allowing the session to attempt to reconnect and
recover its previous state.
|Modifier and Type||Interface and Description|
A single reconnection attempt that can either be started or aborted.
void performReconnection(ReconnectionStrategy.ReconnectionAttempt reconnection)
ReconnectionStrategy.ReconnectionAttempt.start(), or abort the reconnection by calling
Strategies should avoid blocking operations. The
ReconnectionStrategy.ReconnectionAttempt object can be called either directly or
asynchronously (for example, by a scheduled timer) depending on the
reconnection- A single reconnection attempt that may be either started or aborted
Copyright © 2020 Push Technology Ltd. All Rights Reserved.