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

An implementation of ListenerPrimary using TCP sockets.
Inheritance: ListenerPrimary
Afficher le fichier Open project: Starcounter/KestrelHttpServer

Méthodes publiques

Méthode Description
TcpListenerPrimary ( ServiceContext serviceContext ) : System

Méthodes protégées

Méthode Description
CreateListenSocket ( ) : UvStreamHandle

Creates the socket used to listen for incoming connections

OnConnection ( UvStreamHandle listenSocket, int status ) : void

Handles an incoming connection

Method Details

CreateListenSocket() protected méthode

Creates the socket used to listen for incoming connections
protected CreateListenSocket ( ) : UvStreamHandle
Résultat Microsoft.AspNet.Server.Kestrel.Networking.UvStreamHandle

OnConnection() protected méthode

Handles an incoming connection
protected OnConnection ( UvStreamHandle listenSocket, int status ) : void
listenSocket Microsoft.AspNet.Server.Kestrel.Networking.UvStreamHandle Socket being used to listen on
status int Connection status
Résultat void

TcpListenerPrimary() public méthode

public TcpListenerPrimary ( ServiceContext serviceContext ) : System
serviceContext ServiceContext
Résultat System