C# Class AcManager.Tools.Helpers.Api.KunosApiProvider

Afficher le fichier Open project: gro-ove/actools

Méthodes publiques

Свойство Type Description
OptionForceDisabledCache bool
OptionIgnoreSystemProxy bool
OptionLanPollTimeout int
OptionLanSocketTimeout int
OptionSaveResponses bool
OptionUseWebClient bool
OptionWebRequestTimeout int

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ParseAddress() public static méthode

public static ParseAddress ( string address, string &ip, int &port ) : bool
address string
ip string
port int
Résultat bool

TryToGetLanList() public static méthode

public static TryToGetLanList ( ) : AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
Résultat AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]

TryToGetLanList() public static méthode

public static TryToGetLanList ( IEnumerable ports ) : AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]
ports IEnumerable
Résultat AcManager.Tools.Helpers.Api.Kunos.ServerInformation[]

TryToGetLanList() public static méthode

public static TryToGetLanList ( Action foundCallback ) : void
foundCallback Action
Résultat void

TryToGetLanList() public static méthode

public static TryToGetLanList ( Action foundCallback, IEnumerable ports ) : void
foundCallback Action
ports IEnumerable
Résultat void

Property Details

OptionForceDisabledCache public_oe static_oe property

public static bool OptionForceDisabledCache
Résultat bool

OptionIgnoreSystemProxy public_oe static_oe property

public static bool OptionIgnoreSystemProxy
Résultat bool

OptionLanPollTimeout public_oe static_oe property

public static int OptionLanPollTimeout
Résultat int

OptionLanSocketTimeout public_oe static_oe property

public static int OptionLanSocketTimeout
Résultat int

OptionSaveResponses public_oe static_oe property

public static bool OptionSaveResponses
Résultat bool

OptionUseWebClient public_oe static_oe property

public static bool OptionUseWebClient
Résultat bool

OptionWebRequestTimeout public_oe static_oe property

public static int OptionWebRequestTimeout
Résultat int