C# Class PlaygroundKeeper.PlaygroundHost

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

Méthodes publiques

Свойство Type Description
ApiIP string
ApiPort ushort
BeginPortRange ushort
Created System.DateTime
Description string
EndPortRange ushort
EntryPoint string
HostName string
HostPort ushort
Information ServerInformation
Name string
Password string
Updated System.DateTime
Username string

Méthodes publiques

Méthode Description
GenerateUniqueDatabaseName ( string name, Action completionCallback, Action errorCallback = null ) : void

GetAvailablePort ( Action completionCallback, Action errorCallback = null ) : void

Get next available port on a host for a database TODO: Make thread safe

RegisterHooks ( ) : void

Register Hooks

Method Details

GenerateUniqueDatabaseName() public méthode

public GenerateUniqueDatabaseName ( string name, Action completionCallback, Action errorCallback = null ) : void
name string
completionCallback Action
errorCallback Action
Résultat void

GetAvailablePort() public méthode

Get next available port on a host for a database TODO: Make thread safe
public GetAvailablePort ( Action completionCallback, Action errorCallback = null ) : void
completionCallback Action
errorCallback Action
Résultat void

RegisterHooks() public static méthode

Register Hooks
public static RegisterHooks ( ) : void
Résultat void

Property Details

ApiIP public_oe property

Playground Admin API IP, "127.0.0.1"
public string ApiIP
Résultat string

ApiPort public_oe property

Playground Admin API Port, 8181
public ushort ApiPort
Résultat ushort

BeginPortRange public_oe property

Database begin port range, 7000
public ushort BeginPortRange
Résultat ushort

Created public_oe property

public DateTime,System Created
Résultat System.DateTime

Description public_oe property

public string Description
Résultat string

EndPortRange public_oe property

Database end port range, 7999
public ushort EndPortRange
Résultat ushort

EntryPoint public_oe property

root entry point
public string EntryPoint
Résultat string

HostName public_oe property

Playground hostname, "myplayground.com"
public string HostName
Résultat string

HostPort public_oe property

Playground Port, 80
public ushort HostPort
Résultat ushort

Information public_oe property

public ServerInformation,PlaygroundKeeper Information
Résultat ServerInformation

Name public_oe property

public string Name
Résultat string

Password public_oe property

RemotePlayground credentials
public string Password
Résultat string

Updated public_oe property

public DateTime,System Updated
Résultat System.DateTime

Username public_oe property

RemotePlayground credentials
public string Username
Résultat string