C# 클래스 withSIX.Sync.Core.Transfer.MirrorSelectors.ScoreMirrorSelector

상속: IMirrorSelector, IDisposable
파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
FailedScoreIncreaseEvery System.TimeSpan

공개 메소드들

메소드 설명
Dispose ( ) : void
Failure ( Uri host ) : void
GetHost ( ) : Uri
ProgramFailure ( ) : void
ScoreMirrorSelector ( IHostChecker hostChecker ) : System
ScoreMirrorSelector ( IHostChecker hostChecker, IReadOnlyCollection hostPool ) : System
ScoreMirrorSelector ( int scoreLimit, IHostChecker hostChecker ) : System
ScoreMirrorSelector ( int scoreLimit, IHostChecker hostChecker, IReadOnlyCollection hostPool ) : System
Success ( Uri host ) : void

비공개 메소드들

메소드 설명
ConfirmHostExists ( Uri host ) : void
ConfirmHostValidity ( HostState state ) : void
ConfirmProgramFailures ( ) : void
DecreaseScore ( HostState hostState ) : void
GetFirstHost ( ) : HostState>.KeyValuePair
GetStatesToIncrease ( ) : IEnumerable
IncreaseScore ( HostState hostState ) : void
IncreaseScoresWhenNeeded ( ) : void
ThrowWhenHostPoolIsNullOrEmpty ( IEnumerable hostPool ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Failure() 공개 메소드

public Failure ( Uri host ) : void
host System.Uri
리턴 void

GetHost() 공개 메소드

public GetHost ( ) : Uri
리턴 System.Uri

ProgramFailure() 공개 메소드

public ProgramFailure ( ) : void
리턴 void

ScoreMirrorSelector() 공개 메소드

public ScoreMirrorSelector ( IHostChecker hostChecker ) : System
hostChecker IHostChecker
리턴 System

ScoreMirrorSelector() 공개 메소드

public ScoreMirrorSelector ( IHostChecker hostChecker, IReadOnlyCollection hostPool ) : System
hostChecker IHostChecker
hostPool IReadOnlyCollection
리턴 System

ScoreMirrorSelector() 공개 메소드

public ScoreMirrorSelector ( int scoreLimit, IHostChecker hostChecker ) : System
scoreLimit int
hostChecker IHostChecker
리턴 System

ScoreMirrorSelector() 공개 메소드

public ScoreMirrorSelector ( int scoreLimit, IHostChecker hostChecker, IReadOnlyCollection hostPool ) : System
scoreLimit int
hostChecker IHostChecker
hostPool IReadOnlyCollection
리턴 System

Success() 공개 메소드

public Success ( Uri host ) : void
host System.Uri
리턴 void

프로퍼티 상세

FailedScoreIncreaseEvery 보호되어 있는 프로퍼티

protected TimeSpan,System FailedScoreIncreaseEvery
리턴 System.TimeSpan