C# 클래스 Examples.ClientReconnection.MyReconnectionStrategy

This is a custom reconnection strategy that will try to reconnect to the server up to 3 times and then abort.
상속: IReconnectionStrategy
파일 보기 프로젝트 열기: pushtechnology/diffusion-examples

공개 메소드들

메소드 설명
PerformReconnection ( IReconnectionAttempt reconnectionAttempt ) : System.Threading.Tasks.Task

Here we put our actual reconnection logic. The async keyword should always be added since it makes things easier for a void return type.

메소드 상세

PerformReconnection() 공개 메소드

Here we put our actual reconnection logic. The async keyword should always be added since it makes things easier for a void return type.
public PerformReconnection ( IReconnectionAttempt reconnectionAttempt ) : System.Threading.Tasks.Task
reconnectionAttempt IReconnectionAttempt The reconnection attempt wil be given by the session.
리턴 System.Threading.Tasks.Task