C# 클래스 SuperSocket.SocketEngine.ProcessAppServer

상속: SuperSocket.SocketEngine.IsolationAppServer, IProcessServer
파일 보기 프로젝트 열기: kerryjiang/SuperSocket

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
OnStopped ( ) : void
Start ( ) : IManagedAppBase
Stop ( ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

CollectServerStatus() 공개 메소드

public CollectServerStatus ( StatusInfoCollection nodeStatus ) : StatusInfoCollection
nodeStatus StatusInfoCollection
리턴 StatusInfoCollection

OnStopped() 보호된 메소드

protected OnStopped ( ) : void
리턴 void

ProcessAppServer() 공개 메소드

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.
리턴 System

Setup() 공개 메소드

public Setup ( IBootstrap bootstrap, IServerConfig config ) : bool
bootstrap IBootstrap
config IServerConfig
리턴 bool

Start() 보호된 메소드

protected Start ( ) : IManagedAppBase
리턴 IManagedAppBase

Stop() 보호된 메소드

protected Stop ( ) : void
리턴 void