C# Class Microsoft.AspNet.Server.Kestrel.Http.ListenerPrimary

A primary listener waits for incoming connections on a specified socket. Incoming connections may be passed to a secondary listener to handle.
Inheritance: Listener
Exibir arquivo Open project: Starcounter/KestrelHttpServer Class Usage Examples

Private Properties

Property Type Description
OnListenPipe void

Public Methods

Method Description
StartAsync ( string pipeName, ServerAddress address, KestrelThread thread, Task>.Func application ) : System.Threading.Tasks.Task

Protected Methods

Method Description
DispatchConnection ( UvStreamHandle socket ) : void
ListenerPrimary ( ServiceContext serviceContext ) : System

Private Methods

Method Description
OnListenPipe ( UvStreamHandle pipe, int status, Exception error, object state ) : void

Method Details

DispatchConnection() protected method

protected DispatchConnection ( UvStreamHandle socket ) : void
socket Microsoft.AspNet.Server.Kestrel.Networking.UvStreamHandle
return void

ListenerPrimary() protected method

protected ListenerPrimary ( ServiceContext serviceContext ) : System
serviceContext ServiceContext
return System

StartAsync() public method

public StartAsync ( string pipeName, ServerAddress address, KestrelThread thread, Task>.Func application ) : System.Threading.Tasks.Task
pipeName string
address ServerAddress
thread KestrelThread
application Task>.Func
return System.Threading.Tasks.Task