C# Class PlaygroundKeeper.Playground

Afficher le fichier Open project: Starcounter/PlaygroundKeeper Class Usage Examples

Méthodes publiques

Свойство Type Description
Created System.DateTime
DatabaseName string
HostName string
Owner Simplified.Ring3.SystemUser
PlaygroundHost PlaygroundHost
Updated System.DateTime
UserHttpPort ushort

Méthodes publiques

Méthode Description
AddReverseProxy ( System.Action completionCallback = null, Action errorCallback = null ) : void

Add reverse proxy

AddUriAlias ( System.Action completionCallback = null, Action errorCallback = null ) : void

Add uri alias

AllocatedPortnumber ( System.Action completionCallback = null, Action errorCallback = null ) : void

Allocate and set port number

CreateDatabase ( System.Action completionCallback = null, Action errorCallback = null ) : void

Create database

DeleteDatabase ( System.Action completionCallback = null, Action errorCallback = null ) : void

Delete database

InstallSoftware ( string depotKey, string appId, System.Action completionCallback = null, Action errorCallback = null ) : void

Install software

RegisterHooks ( ) : void

Register database hooks

RemoveReverseProxy ( System.Action completionCallback = null, Action errorCallback = null ) : void

Remove reverse proxy

RemoveUriAlias ( System.Action completionCallback = null, Action errorCallback = null ) : void

Remove uri alias

StartAllApplications ( System.Action completionCallback = null, Action errorCallback = null ) : void

Start all applications in a hive (auto-started apps)

StartDatabase ( System.Action completionCallback = null, Action errorCallback = null ) : void

Start database

UnInstallSoftware ( string depotKey, string appId, System.Action completionCallback = null, Action errorCallback = null ) : void

Uninstall software

Not implmented

Private Methods

Méthode Description
InstallApplicationsLoop ( ConcurrentStack softwareVersionsToInstall, System.Action completionCallback = null, Action errorCallback = null ) : void

TODO: Make thread safe

Method Details

AddReverseProxy() public méthode

Add reverse proxy
public AddReverseProxy ( System.Action completionCallback = null, Action errorCallback = null ) : void
completionCallback System.Action
errorCallback Action
Résultat void

AddUriAlias() public méthode

Add uri alias
public AddUriAlias ( System.Action completionCallback = null, Action errorCallback = null ) : void
completionCallback System.Action
errorCallback Action
Résultat void

AllocatedPortnumber() public méthode

Allocate and set port number
public AllocatedPortnumber ( System.Action completionCallback = null, Action errorCallback = null ) : void
completionCallback System.Action
errorCallback Action
Résultat void

CreateDatabase() public méthode

Create database
public CreateDatabase ( System.Action completionCallback = null, Action errorCallback = null ) : void
completionCallback System.Action
errorCallback Action
Résultat void

DeleteDatabase() public méthode

Delete database
public DeleteDatabase ( System.Action completionCallback = null, Action errorCallback = null ) : void
completionCallback System.Action
errorCallback Action
Résultat void

InstallSoftware() public méthode

Install software
public InstallSoftware ( string depotKey, string appId, System.Action completionCallback = null, Action errorCallback = null ) : void
depotKey string
appId string
completionCallback System.Action
errorCallback Action
Résultat void

RegisterHooks() public static méthode

Register database hooks
public static RegisterHooks ( ) : void
Résultat void

RemoveReverseProxy() public méthode

Remove reverse proxy
public RemoveReverseProxy ( System.Action completionCallback = null, Action errorCallback = null ) : void
completionCallback System.Action
errorCallback Action
Résultat void

RemoveUriAlias() public méthode

Remove uri alias
public RemoveUriAlias ( System.Action completionCallback = null, Action errorCallback = null ) : void
completionCallback System.Action
errorCallback Action
Résultat void

StartAllApplications() public méthode

Start all applications in a hive (auto-started apps)
public StartAllApplications ( System.Action completionCallback = null, Action errorCallback = null ) : void
completionCallback System.Action
errorCallback Action
Résultat void

StartDatabase() public méthode

Start database
public StartDatabase ( System.Action completionCallback = null, Action errorCallback = null ) : void
completionCallback System.Action
errorCallback Action
Résultat void

UnInstallSoftware() public méthode

Uninstall software
Not implmented
public UnInstallSoftware ( string depotKey, string appId, System.Action completionCallback = null, Action errorCallback = null ) : void
depotKey string
appId string
completionCallback System.Action
errorCallback Action
Résultat void

Property Details

Created public_oe property

public DateTime,System Created
Résultat System.DateTime

DatabaseName public_oe property

Database name, "party-854"
public string DatabaseName
Résultat string

HostName public_oe property

Hostname, "party-854.mysampleapp.com"
public string HostName
Résultat string

Owner public_oe property

Playground owner/creator, null if anonymous
public SystemUser,Simplified.Ring3 Owner
Résultat Simplified.Ring3.SystemUser

PlaygroundHost public_oe property

Host machine
public PlaygroundHost,PlaygroundKeeper PlaygroundHost
Résultat PlaygroundHost

Updated public_oe property

public DateTime,System Updated
Résultat System.DateTime

UserHttpPort public_oe property

Database port, 7000 (see port range on the playground host)
public ushort UserHttpPort
Résultat ushort