C# Class Netty.AspServerListener

Inheritance: System.MarshalByRefObject, IDisposable, IRegisteredObject
Exibir arquivo Open project: Cayan-LLC/netty Class Usage Examples

Public Methods

Method Description
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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Method Description
InitializeLifetimeService ( ) : object
ProcessRequest ( ) : void

Method Details

ApplyConfiguration() public method

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.
return void

Dispose() public method

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

Dispose() protected method

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. ///
return void

StartListening() public method

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

Stop() public method

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.
return void

StopListening() public method

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