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

Inheritance: UvStreamHandle
Afficher le fichier Open project: Starcounter/KestrelHttpServer Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Bind ( ServerAddress address ) : void
address ServerAddress
Résultat void

CreateIPEndpoint() public static méthode

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
Résultat System.Net.IPEndPoint

Init() public méthode

public Init ( Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle loop ) : void
loop Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle
Résultat void

Init() public méthode

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

NoDelay() public méthode

public NoDelay ( bool enable ) : void
enable bool
Résultat void

Open() public méthode

public Open ( IntPtr hSocket ) : void
hSocket System.IntPtr
Résultat void

UvTcpHandle() public méthode

public UvTcpHandle ( IKestrelTrace logger ) : System
logger IKestrelTrace
Résultat System