C# 클래스 Zetbox.Server.Wcf.WcfServer

상속: System.MarshalByRefObject, IZetboxAppDomain, IService, IDisposable
파일 보기 프로젝트 열기: daszat/zetbox

공개 메소드들

메소드 설명
Dispose ( ) : void
Start ( ) : void
Start ( ZetboxConfig config ) : void

Starts the WCF Server in the background. If the server hasn't started successfully within 40 seconds, it is aborted and an InvalidOperationException is thrown.

Stop ( ) : void

Stops the WCF Server.

WcfServer ( Autofac.Integration.Wcf.AutofacServiceHostFactory factory, Autofac.Integration.Wcf.AutofacWebServiceHostFactory webFactory, ZetboxConfig config ) : System

비공개 메소드들

메소드 설명
RunWCFServer ( ) : void

Executes the actual WcfHost in a separate thread and waits until shutdown.

host_Closed ( object sender, EventArgs e ) : void
host_Faulted ( object sender, EventArgs e ) : void
host_Opened ( object sender, EventArgs e ) : void
host_UnknownMessageReceived ( object sender, System.ServiceModel.UnknownMessageReceivedEventArgs e ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Start() 공개 메소드

Starts the WCF Server in the background. If the server hasn't started successfully within 40 seconds, it is aborted and an InvalidOperationException is thrown.
public Start ( ZetboxConfig config ) : void
config Zetbox.API.Configuration.ZetboxConfig the loaded configuration for the Server
리턴 void

Stop() 공개 메소드

Stops the WCF Server.
public Stop ( ) : void
리턴 void

WcfServer() 공개 메소드

public WcfServer ( Autofac.Integration.Wcf.AutofacServiceHostFactory factory, Autofac.Integration.Wcf.AutofacWebServiceHostFactory webFactory, ZetboxConfig config ) : System
factory Autofac.Integration.Wcf.AutofacServiceHostFactory
webFactory Autofac.Integration.Wcf.AutofacWebServiceHostFactory
config Zetbox.API.Configuration.ZetboxConfig
리턴 System