C# Класс Netty.AspServerListener

Наследование: System.MarshalByRefObject, IDisposable, IRegisteredObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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