TcpServerFactory Type

Instance members

Instance member Description

this.create (maxOps, bufferSize, binding, runtime, cancellationToken, healthCheckEnabled, healthCheckIntervalMs, maxConnectionAgeSeconds, acceptorCount, webPart)

Full Usage: this.create (maxOps, bufferSize, binding, runtime, cancellationToken, healthCheckEnabled, healthCheckIntervalMs, maxConnectionAgeSeconds, acceptorCount, webPart)

Parameters:
Returns: TcpServer
Modifiers: abstract

Overload that allows the caller to request more than one accept loop per binding (kernel SO_REUSEPORT load-balancing). Implementations may silently fall back to a single acceptor on platforms without SO_REUSEPORT support.

maxOps : int
bufferSize : int
binding : SocketBinding
runtime : HttpRuntime
cancellationToken : CancellationToken
healthCheckEnabled : bool
healthCheckIntervalMs : int
maxConnectionAgeSeconds : int
acceptorCount : int
webPart : WebPart
Returns: TcpServer

this.create (maxOps, bufferSize, binding, runtime, cancellationToken, healthCheckEnabled, healthCheckIntervalMs, maxConnectionAgeSeconds, webPart)

Full Usage: this.create (maxOps, bufferSize, binding, runtime, cancellationToken, healthCheckEnabled, healthCheckIntervalMs, maxConnectionAgeSeconds, webPart)

Parameters:
Returns: TcpServer
Modifiers: abstract

This is the factory's factory method. It's almost like OOP again!

maxOps : int
bufferSize : int
binding : SocketBinding
runtime : HttpRuntime
cancellationToken : CancellationToken
healthCheckEnabled : bool
healthCheckIntervalMs : int
maxConnectionAgeSeconds : int
webPart : WebPart
Returns: TcpServer