C# Class Microsoft.AspNetCore.Server.Kestrel.KestrelThread

Summary description for KestrelThread
显示文件 Open project: lodejard/AllNetCore

Private Properties

Property Type Description
DoPostCloseHandle bool
DoPostWork bool
EnqueueCloseHandle void
OnPost void
OnStopImmediate void
OnStopRude void
Post void
PostCloseHandle void
ThreadStart void

Public Methods

Method Description
AllowStop ( ) : void
KestrelThread ( Microsoft.AspNetCore.Server.Kestrel.KestrelEngine engine ) : System
Post ( Action callback, object state ) : void
PostAsync ( Action callback, object state ) : Task
StartAsync ( ) : Task
Stop ( TimeSpan timeout ) : void
Walk ( Action callback ) : void

Private Methods

Method Description
DoPostCloseHandle ( ) : bool
DoPostWork ( ) : bool
EnqueueCloseHandle ( Action callback, IntPtr handle ) : void
OnPost ( ) : void
OnStopImmediate ( ) : void
OnStopRude ( ) : void
Post ( Action callback ) : void
PostCloseHandle ( Action callback, IntPtr handle ) : void
ThreadStart ( object parameter ) : void

Method Details

AllowStop() public method

public AllowStop ( ) : void
return void

KestrelThread() public method

public KestrelThread ( Microsoft.AspNetCore.Server.Kestrel.KestrelEngine engine ) : System
engine Microsoft.AspNetCore.Server.Kestrel.KestrelEngine
return System

Post() public method

public Post ( Action callback, object state ) : void
callback Action
state object
return void

PostAsync() public method

public PostAsync ( Action callback, object state ) : Task
callback Action
state object
return Task

StartAsync() public method

public StartAsync ( ) : Task
return Task

Stop() public method

public Stop ( TimeSpan timeout ) : void
timeout TimeSpan
return void

Walk() public method

public Walk ( Action callback ) : void
callback Action
return void