C# Class SuperSocket.SocketEngine.ProcessAppServer

Inheritance: SuperSocket.SocketEngine.IsolationAppServer, IProcessServer
Exibir arquivo Open project: kerryjiang/SuperSocket

Public Methods

Method Description
CollectServerStatus ( StatusInfoCollection nodeStatus ) : StatusInfoCollection
ProcessAppServer ( string serverTypeName, SuperSocket.SocketBase.Metadata.AppServerMetadata serverMetadata ) : System

Initializes a new instance of the ProcessAppServer class.

Setup ( IBootstrap bootstrap, IServerConfig config ) : bool

Protected Methods

Method Description
OnStopped ( ) : void
Start ( ) : IManagedAppBase
Stop ( ) : void

Private Methods

Method Description
GetRemoteServer ( string remoteUri ) : IRemoteManagedApp
ShutdownProcess ( ) : void
m_WorkingProcess_ErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void
m_WorkingProcess_Exited ( object sender, EventArgs e ) : void
m_WorkingProcess_OutputDataReceived ( object sender, DataReceivedEventArgs e ) : void

Method Details

CollectServerStatus() public method

public CollectServerStatus ( StatusInfoCollection nodeStatus ) : StatusInfoCollection
nodeStatus StatusInfoCollection
return StatusInfoCollection

OnStopped() protected method

protected OnStopped ( ) : void
return void

ProcessAppServer() public method

Initializes a new instance of the ProcessAppServer class.
public ProcessAppServer ( string serverTypeName, SuperSocket.SocketBase.Metadata.AppServerMetadata serverMetadata ) : System
serverTypeName string Name of the server type.
serverMetadata SuperSocket.SocketBase.Metadata.AppServerMetadata The server metadata.
return System

Setup() public method

public Setup ( IBootstrap bootstrap, IServerConfig config ) : bool
bootstrap IBootstrap
config IServerConfig
return bool

Start() protected method

protected Start ( ) : IManagedAppBase
return IManagedAppBase

Stop() protected method

protected Stop ( ) : void
return void