C# Class EvHttpSharp.EventHttpMultiworkerListener

Inheritance: IEventHttpListener
Datei anzeigen Open project: kekekeks/evhttp-sharp Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
EventHttpMultiworkerListener ( EventHttpListener cb, int workers ) : System
Shutdown ( ) : System.Threading.Tasks.Task
Start ( IntPtr sharedSocket ) : void
Start ( string host, ushort port ) : void
StopListeningAsync ( ) : System.Threading.Tasks.Task
WaitForPendingConnections ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
Aggregate ( IEnumerable tasks ) : System.Threading.Tasks.Task
CheckAlreadyListening ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

EventHttpMultiworkerListener() public method

public EventHttpMultiworkerListener ( EventHttpListener cb, int workers ) : System
cb EventHttpListener
workers int
return System

Shutdown() public method

public Shutdown ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Start() public method

public Start ( IntPtr sharedSocket ) : void
sharedSocket System.IntPtr
return void

Start() public method

public Start ( string host, ushort port ) : void
host string
port ushort
return void

StopListeningAsync() public method

public StopListeningAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

WaitForPendingConnections() public method

public WaitForPendingConnections ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task