1 iw4madminapplicationmisc MasterCommunication
RaidMax edited this page 2023-05-20 22:09:21 -05:00

MasterCommunication Internal class

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]]
  end
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IMasterCommunication[[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

Source code

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

Source code

public virtual async Task CheckVersion()
Summary

checks for latest version of the application notifies user if an update is available

Returns

RunUploadStatus

Source code

public virtual async Task RunUploadStatus(CancellationToken token)
Arguments
Type Name Description
CancellationToken token

Generated with ModularDoc