C# 클래스 PlaygroundKeeper.HiveManager

파일 보기 프로젝트 열기: Starcounter/PlaygroundKeeper

공개 메소드들

메소드 설명
CreateHive ( PlaygroundHost host, Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void

Create a new hive on a host

The hive name is the current signed in user username.

CreateHiveAndInstallSoftware ( PlaygroundHost host, string depotKey, string appId, Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void

Create a new hive on a host and install software in a new hive

DeleteHive ( Playground hive, System.Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void

Delete a hive

InstallSoftware ( string depotKey, string appId, Playground hive, Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void

Install software in a hive

SyncHives ( ) : void

Sync local hives with it's real database on the hosts

비공개 메소드들

메소드 설명
ProcessTasks ( ConcurrentQueue tasks, ConcurrentStack revertList, System.Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void

Process task list

ProcessTasksLoop ( int initialNumberOfTasks, ConcurrentQueue tasks, ConcurrentStack revertList, System.Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void

SyncHive ( Playground hive, System.Action completionCallback, Action errorCallback ) : void
SyncHost ( PlaygroundHost host, System.Action completionCallback, Action errorCallback ) : void

메소드 상세

CreateHive() 공개 정적인 메소드

Create a new hive on a host
The hive name is the current signed in user username.
public static CreateHive ( PlaygroundHost host, Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void
host PlaygroundHost
completionCallback Action
progressCallback double>.Action
errorCallback Action
리턴 void

CreateHiveAndInstallSoftware() 공개 정적인 메소드

Create a new hive on a host and install software in a new hive
public static CreateHiveAndInstallSoftware ( PlaygroundHost host, string depotKey, string appId, Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void
host PlaygroundHost
depotKey string
appId string
completionCallback Action
progressCallback double>.Action
errorCallback Action
리턴 void

DeleteHive() 공개 정적인 메소드

Delete a hive
public static DeleteHive ( Playground hive, System.Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void
hive Playground
completionCallback System.Action
progressCallback double>.Action
errorCallback Action
리턴 void

InstallSoftware() 공개 정적인 메소드

Install software in a hive
public static InstallSoftware ( string depotKey, string appId, Playground hive, Action completionCallback = null, double>.Action progressCallback = null, Action errorCallback = null ) : void
depotKey string
appId string
hive Playground
completionCallback Action
progressCallback double>.Action
errorCallback Action
리턴 void

SyncHives() 공개 정적인 메소드

Sync local hives with it's real database on the hosts
public static SyncHives ( ) : void
리턴 void