Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Session.Reconnection.IReconnectionAttempt Interface Reference

A single reconnection attempt that can either be started or aborted. More...

Inherited by PushTechnology.ClientInterface.Client.Session.Reconnection.ReconnectionAttempt< TConnectionType >.

Public Member Functions

void Start ()
 Starts the reconnection attempt. More...
 
void Abort ()
 Aborts the reconnection attempt. More...
 

Detailed Description

A single reconnection attempt that can either be started or aborted.

Member Function Documentation

void PushTechnology.ClientInterface.Client.Session.Reconnection.IReconnectionAttempt.Abort ( )

Aborts the reconnection attempt.

This method will always throw a InvalidOperationException to indicate that the reconnection attempt has been aborted. If you implement a custom IReconnectionStrategy, do not catch this exception. If for some reason you need catch the exception, ensure it is rethrown. Otherwise the reconnection attempt will not be aborted successfully.

Exceptions
InvalidOperationExceptionThrown as indication that the reconnection attempt has been aborted.
void PushTechnology.ClientInterface.Client.Session.Reconnection.IReconnectionAttempt.Start ( )

Starts the reconnection attempt.


The documentation for this interface was generated from the following file: