C# 클래스 Netty.AspServerListener

상속: System.MarshalByRefObject, IDisposable, IRegisteredObject
파일 보기 프로젝트 열기: Cayan-LLC/netty 1 사용 예제들

공개 메소드들

메소드 설명
ApplyConfiguration ( IAspServerConfiguration configuration, IAspInitializer initializer ) : void

Applies the configuration of the server to the instance.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

StartListening ( ) : void

Starts the instance listening to requests.

Stop ( bool immediate ) : void

Requests a registered object to unregister.

StopListening ( ) : void

Stops the instance from listening for requests.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

비공개 메소드들

메소드 설명
InitializeLifetimeService ( ) : object
ProcessRequest ( ) : void

메소드 상세

ApplyConfiguration() 공개 메소드

Applies the configuration of the server to the instance.
public ApplyConfiguration ( IAspServerConfiguration configuration, IAspInitializer initializer ) : void
configuration IAspServerConfiguration /// The used to initialize the instance. ///
initializer IAspInitializer The initializer used to setup the pipeline for this instance.
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool /// true to release both managed and unmanaged resources; false to release only unmanaged resources. ///
리턴 void

StartListening() 공개 메소드

Starts the instance listening to requests.
public StartListening ( ) : void
리턴 void

Stop() 공개 메소드

Requests a registered object to unregister.
public Stop ( bool immediate ) : void
immediate bool true to indicate the registered object should unregister from the hosting environment before returning; otherwise, false.
리턴 void

StopListening() 공개 메소드

Stops the instance from listening for requests.
public StopListening ( ) : void
리턴 void