Interface IReconnectionStrategy
A reconnection strategy that gets applied after the connection failure notification.
Namespace: PushTechnology.ClientInterface.Client.Session.Reconnection
Assembly: Diffusion.Client.dll
Syntax
public interface IReconnectionStrategy
Methods
PerformReconnection(IReconnectionAttempt)
Performs reconnection by supplying a IReconnectionAttempt interface to the strategy.
Declaration
Task PerformReconnection(IReconnectionAttempt reconnectionAttempt)
Parameters
| Type | Name | Description |
|---|---|---|
| IReconnectionAttempt | reconnectionAttempt | The interface that is able to start or abort the reconnection attempt. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A |