Interface IReconnectionStrategy
- Assembly
- Diffusion.Client.dll
A reconnection strategy that gets applied after the connection failure notification.
public interface IReconnectionStrategy
Methods
PerformReconnection(IReconnectionAttempt)
Performs reconnection by supplying a IReconnectionAttempt interface to the strategy.
Task PerformReconnection(IReconnectionAttempt reconnectionAttempt)
Parameters
reconnectionAttemptIReconnectionAttemptThe interface that is able to start or abort the reconnection attempt.
Returns
- Task
A
System.Threading.Tasks.Taskthat holds the current status of the asynchronous operation.