Class ManagedApp
Represents an application managed by the HostGovernorService instance - the Sky application that gets installed/updated/executed by the Sky Governor Process. The standard service's Start/Stop commands launch the actual application process
Inheritance
System.Object
ManagedApp
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Sky.Apps.HostGovernor
Assembly: Azos.Sky.dll
Syntax
public sealed class ManagedApp : Daemon<HostGovernorService>, IDisposable, IDaemon, IDaemonView, IApplicationComponent, INamed, IConfigurable, ILocalizedTimeProvider
Fields
APP_PROCESS_LAUNCH_TIMEOUT_MS
Declaration
public const int APP_PROCESS_LAUNCH_TIMEOUT_MS = 20000
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
AppInfo
Returns the AppInfo as feteched from the metabase
Declaration
public Metabank.SectionRole.AppInfo AppInfo { get; }
Property Value
Type | Description |
---|---|
Metabank.SectionRole.AppInfo |
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ExeArgs
Returns executable launch command arguments obtained from the role, or if it is blank from app itself
Declaration
public string ExeArgs { get; }
Property Value
Type | Description |
---|---|
System.String |
ExeFile
Returns executable launch command obtained from the role, or if it is blank from app itself
Declaration
public string ExeFile { get; }
Property Value
Type | Description |
---|---|
System.String |
Packages
Returns packages that this application have
Declaration
public IEnumerable<Metabank.SectionApplication.AppPackage> Packages { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Metabank.SectionApplication.AppPackage> |
StartOrder
Returns the start order of this app - when it was launched relative to others
Declaration
public int StartOrder { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
DoSignalStop()
Declaration
protected override void DoSignalStop()
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
Implements
System.IDisposable