C# 클래스 Microsoft.AspNet.Server.Kestrel.Http.TcpListenerPrimary

An implementation of ListenerPrimary using TCP sockets.
상속: ListenerPrimary
파일 보기 프로젝트 열기: Starcounter/KestrelHttpServer

공개 메소드들

메소드 설명
TcpListenerPrimary ( ServiceContext serviceContext ) : System

보호된 메소드들

메소드 설명
CreateListenSocket ( ) : UvStreamHandle

Creates the socket used to listen for incoming connections

OnConnection ( UvStreamHandle listenSocket, int status ) : void

Handles an incoming connection

메소드 상세

CreateListenSocket() 보호된 메소드

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

OnConnection() 보호된 메소드

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
리턴 void

TcpListenerPrimary() 공개 메소드

public TcpListenerPrimary ( ServiceContext serviceContext ) : System
serviceContext ServiceContext
리턴 System