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
Afficher le fichier Open project: Starcounter/KestrelHttpServer Class Usage Examples

Private Properties

Свойство Type Description
OnListenPipe void

Méthodes publiques

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

Méthodes protégées

Méthode Description
DispatchConnection ( UvStreamHandle socket ) : void
ListenerPrimary ( ServiceContext serviceContext ) : System

Private Methods

Méthode Description
OnListenPipe ( UvStreamHandle pipe, int status, Exception error, object state ) : void

Method Details

DispatchConnection() protected méthode

protected DispatchConnection ( UvStreamHandle socket ) : void
socket Microsoft.AspNet.Server.Kestrel.Networking.UvStreamHandle
Résultat void

ListenerPrimary() protected méthode

protected ListenerPrimary ( ServiceContext serviceContext ) : System
serviceContext ServiceContext
Résultat System

StartAsync() public méthode

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