iw4madminapplicationmisc MasterCommunication - RaidMax/IW4M-Admin GitHub Wiki
Internal class
MasterCommunication Description
implementation of IMasterCommunication talks to the master server
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.Misc
IW4MAdmin.Application.Misc.MasterCommunication[MasterCommunication](/RaidMax/IW4M-Admin/wiki/MasterCommunication)
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IMasterCommunication[IMasterCommunication](/RaidMax/IW4M-Admin/wiki/IMasterCommunication)
class SharedLibraryCore.Interfaces.IMasterCommunication interfaceStyle;
end
SharedLibraryCore.Interfaces.IMasterCommunication --> IW4MAdmin.Application.Misc.MasterCommunication
Members
Methods
Public methods
Returns | Name |
---|---|
Task |
CheckVersion ()checks for latest version of the application notifies user if an update is available |
Task |
RunUploadStatus (CancellationToken token) |
Details
Summary
implementation of IMasterCommunication talks to the master server
Inheritance
Constructors
MasterCommunication
public MasterCommunication(ILogger<MasterCommunication> logger, ApplicationConfiguration appConfig, ITranslationLookup translationLookup, IMasterApi apiInstance, IManager manager)
Arguments
Type | Name | Description |
---|---|---|
ILogger <MasterCommunication > |
logger | |
ApplicationConfiguration |
appConfig | |
ITranslationLookup |
translationLookup | |
IMasterApi |
apiInstance | |
IManager |
manager |
Methods
CheckVersion
public virtual async Task CheckVersion()
Summary
checks for latest version of the application notifies user if an update is available
Returns
RunUploadStatus
public virtual async Task RunUploadStatus(CancellationToken token)
Arguments
Type | Name | Description |
---|---|---|
CancellationToken |
token |
Generated with ModularDoc