C# Class Microsoft.AspNet.Server.Kestrel.Networking.UvTcpHandle

Inheritance: UvStreamHandle
Mostra file Open project: Starcounter/KestrelHttpServer Class Usage Examples

Public Methods

Method Description
Bind ( ServerAddress address ) : void
CreateIPEndpoint ( ServerAddress address ) : IPEndPoint

Returns an IPEndPoint for the given host an port. If the host parameter isn't "localhost" or an IP address, use IPAddress.Any.

Init ( Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle loop ) : void
Init ( Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle loop, Action queueCloseHandle ) : void
NoDelay ( bool enable ) : void
Open ( IntPtr hSocket ) : void
UvTcpHandle ( IKestrelTrace logger ) : System

Method Details

Bind() public method

public Bind ( ServerAddress address ) : void
address ServerAddress
return void

CreateIPEndpoint() public static method

Returns an IPEndPoint for the given host an port. If the host parameter isn't "localhost" or an IP address, use IPAddress.Any.
public static CreateIPEndpoint ( ServerAddress address ) : IPEndPoint
address ServerAddress
return System.Net.IPEndPoint

Init() public method

public Init ( Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle loop ) : void
loop Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle
return void

Init() public method

public Init ( Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle loop, Action queueCloseHandle ) : void
loop Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle
queueCloseHandle Action
return void

NoDelay() public method

public NoDelay ( bool enable ) : void
enable bool
return void

Open() public method

public Open ( IntPtr hSocket ) : void
hSocket System.IntPtr
return void

UvTcpHandle() public method

public UvTcpHandle ( IKestrelTrace logger ) : System
logger IKestrelTrace
return System