C# Class NRack.Server.Isolation.ProcessIsolation.ProcessApp

Inheritance: NRack.Server.Isolation.IsolationApp
Datei anzeigen Open project: kerryjiang/NRack

Public Methods

Method Description
ProcessApp ( AppServerMetadata metadata, string startupConfigFile ) : System
Setup ( IBootstrap bootstrap, IServerConfig config ) : bool

Setups with the the specified bootstrap and configuration.

Protected Methods

Method Description
CollectStatus ( ) : StatusInfoCollection
CreateAndStartServerInstance ( ) : IManagedAppBase
OnStopped ( ) : void
Stop ( ) : void

Private Methods

Method Description
GetRemoteServer ( string remoteUri ) : IRemoteManagedApp
ShutdownProcess ( ) : void
WorkingProcess_ErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void
WorkingProcess_Exited ( object sender, EventArgs e ) : void
WorkingProcess_OutputDataReceived ( object sender, DataReceivedEventArgs e ) : void

Method Details

CollectStatus() protected method

protected CollectStatus ( ) : StatusInfoCollection
return StatusInfoCollection

CreateAndStartServerInstance() protected method

protected CreateAndStartServerInstance ( ) : IManagedAppBase
return IManagedAppBase

OnStopped() protected method

protected OnStopped ( ) : void
return void

ProcessApp() public method

public ProcessApp ( AppServerMetadata metadata, string startupConfigFile ) : System
metadata NRack.Base.AppServerMetadata
startupConfigFile string
return System

Setup() public method

Setups with the the specified bootstrap and configuration.
public Setup ( IBootstrap bootstrap, IServerConfig config ) : bool
bootstrap IBootstrap The bootstrap.
config IServerConfig The configuration.
return bool

Stop() protected method

protected Stop ( ) : void
return void