C# Class PlaygroundKeeper.WarehouseManager

显示文件 Open project: Starcounter/PlaygroundKeeper

Public Methods

Method Description
GetCompatibleSoftwareVersions ( string depotKey, string appId, PlaygroundHost host, Action completionCallback, Action errorCallback = null ) : void

Retrive a list of compatible software Version for a specific host The result can be multiple versions of the software content's if it's a suite.

GetSoftware ( string ip, ushort port, string depotKey, string appId, Action completionCallback, Action errorCallback = null ) : void

Get Software information from warehouse

Private Methods

Method Description
GetCompatibleSoftwareVersion ( string warehouseIP, ushort warehousePort, string depotKey, string appId, string scVersion, Action completionCallback, Action errorCallback = null ) : void

Retrive a list of compatible software Version for a specific starcounter version. The result can be multiple versions of the software content's if it's a suite.

Method Details

GetCompatibleSoftwareVersions() public static method

Retrive a list of compatible software Version for a specific host The result can be multiple versions of the software content's if it's a suite.
public static GetCompatibleSoftwareVersions ( string depotKey, string appId, PlaygroundHost host, Action completionCallback, Action errorCallback = null ) : void
depotKey string
appId string
host PlaygroundHost
completionCallback Action
errorCallback Action
return void

GetSoftware() public static method

Get Software information from warehouse
public static GetSoftware ( string ip, ushort port, string depotKey, string appId, Action completionCallback, Action errorCallback = null ) : void
ip string
port ushort
depotKey string
appId string
completionCallback Action
errorCallback Action
return void