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
Task

A System.Threading.Tasks.Task that holds the current status of the asynchronous operation.

Back to top