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

An implementation of ListenerPrimary using UNIX sockets.
Inheritance: ListenerPrimary
Mostra file Open project: Starcounter/KestrelHttpServer

Public Methods

Method Description
PipeListenerPrimary ( ServiceContext serviceContext ) : System

Protected Methods

Method 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 method

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

OnConnection() protected method

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
return void

PipeListenerPrimary() public method

public PipeListenerPrimary ( ServiceContext serviceContext ) : System
serviceContext ServiceContext
return System