Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables 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.

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 to catch the exception, ensure it is rethrown. Otherwise the reconnection attempt will not be aborted successfully.

Exceptions
InvalidOperationExceptionThe 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: