C# 클래스 AcManager.Tools.Helpers.Api.KunosApiProvider

파일 보기 프로젝트 열기: gro-ove/actools

공개 프로퍼티들

프로퍼티 타입 설명
OptionForceDisabledCache bool
OptionIgnoreSystemProxy bool
OptionLanPollTimeout int
OptionLanSocketTimeout int
OptionSaveResponses bool
OptionUseWebClient bool
OptionWebRequestTimeout int

Private Properties

프로퍼티 타입 설명
BroadcastPing FoundServerInformation
GetBroadcastAddresses IEnumerable
Load string
LoadAsync Task
LoadListUsingRequest AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
LoadUsingClient string
LoadUsingClientAsync Task
LoadUsingRequest string
LoadUsingRequestAsync Task
NextServer void
PrepareLan AcManager.Tools.Helpers.Api.Kunos.ServerInformation
TryToBook AcManager.Tools.Helpers.Api.Kunos.BookingResult
TryToGetCurrentInformation AcManager.Tools.Helpers.Api.Kunos.ServerActualInformation
TryToGetCurrentInformationAsync Task
TryToGetInformation AcManager.Tools.Helpers.Api.Kunos.ServerInformation
TryToGetInformationDirect AcManager.Tools.Helpers.Api.Kunos.ServerInformation
TryToGetInformationDirect AcManager.Tools.Helpers.Api.Kunos.ServerInformation
TryToGetInformationDirectAsync Task
TryToGetList AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
TryToPingServer TimeSpan>.Tuple
TryToPingServerAsync TimeSpan>>.Task
TryToUnbook void

공개 메소드들

메소드 설명
ParseAddress ( string address, string &ip, int &port ) : bool
TryToGetLanList ( ) : AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
TryToGetLanList ( IEnumerable ports ) : AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
TryToGetLanList ( Action foundCallback ) : void
TryToGetLanList ( Action foundCallback, IEnumerable ports ) : void

비공개 메소드들

메소드 설명
BroadcastPing ( IPAddress broadcastAddress, int port ) : FoundServerInformation
GetBroadcastAddresses ( ) : IEnumerable
Load ( string uri ) : string
LoadAsync ( string uri ) : Task
LoadListUsingRequest ( string uri ) : AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
LoadUsingClient ( string uri ) : string
LoadUsingClientAsync ( string uri ) : Task
LoadUsingRequest ( string uri ) : string
LoadUsingRequestAsync ( string uri ) : Task
NextServer ( ) : void
PrepareLan ( ServerInformation result, string ip ) : ServerInformation
TryToBook ( string ip, int portC, string password, string carId, string skinId, string driverName, string teamName ) : BookingResult
TryToGetCurrentInformation ( string ip, int portC ) : ServerActualInformation
TryToGetCurrentInformationAsync ( string ip, int portC ) : Task
TryToGetInformation ( string ip, int port ) : ServerInformation
TryToGetInformationDirect ( [ address ) : ServerInformation
TryToGetInformationDirect ( string ip, int portC ) : ServerInformation
TryToGetInformationDirectAsync ( string ip, int portC ) : Task
TryToGetList ( ) : AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
TryToPingServer ( string ip, int port, int timeout ) : TimeSpan>.Tuple
TryToPingServerAsync ( string ip, int port, int timeout ) : TimeSpan>>.Task
TryToUnbook ( string ip, int portC ) : void

메소드 상세

ParseAddress() 공개 정적인 메소드

public static ParseAddress ( string address, string &ip, int &port ) : bool
address string
ip string
port int
리턴 bool

TryToGetLanList() 공개 정적인 메소드

public static TryToGetLanList ( ) : AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
리턴 AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]

TryToGetLanList() 공개 정적인 메소드

public static TryToGetLanList ( IEnumerable ports ) : AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
ports IEnumerable
리턴 AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]

TryToGetLanList() 공개 정적인 메소드

public static TryToGetLanList ( Action foundCallback ) : void
foundCallback Action
리턴 void

TryToGetLanList() 공개 정적인 메소드

public static TryToGetLanList ( Action foundCallback, IEnumerable ports ) : void
foundCallback Action
ports IEnumerable
리턴 void

프로퍼티 상세

OptionForceDisabledCache 공개적으로 정적으로 프로퍼티

public static bool OptionForceDisabledCache
리턴 bool

OptionIgnoreSystemProxy 공개적으로 정적으로 프로퍼티

public static bool OptionIgnoreSystemProxy
리턴 bool

OptionLanPollTimeout 공개적으로 정적으로 프로퍼티

public static int OptionLanPollTimeout
리턴 int

OptionLanSocketTimeout 공개적으로 정적으로 프로퍼티

public static int OptionLanSocketTimeout
리턴 int

OptionSaveResponses 공개적으로 정적으로 프로퍼티

public static bool OptionSaveResponses
리턴 bool

OptionUseWebClient 공개적으로 정적으로 프로퍼티

public static bool OptionUseWebClient
리턴 bool

OptionWebRequestTimeout 공개적으로 정적으로 프로퍼티

public static int OptionWebRequestTimeout
리턴 int