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

Implementation of Listener that uses UNIX domain sockets as its transport.
Inheritance: Listener
Show file Open project: Starcounter/KestrelHttpServer

Public Methods

Method Description
PipeListener ( 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

PipeListener() public method

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