Class NetworkModule
The networking module entry point that registers the QUIC transport with the server. First-party, so it is compiled in and registered explicitly by the host. Connections are NOT accepted until the server is ready: the listener is bound in response to ServerReadyEvent after all eligible module starts and failed or blocked module cleanup finish.
public sealed class NetworkModule : BaseModule, IModule
- Inheritance
-
NetworkModule
- Implements
- Inherited Members
Constructors
NetworkModule(IPEndPoint)
public NetworkModule(IPEndPoint bindEndpoint)
Parameters
bindEndpointIPEndPoint
Properties
Manifest
Gets the module's identity and dependency declaration.
public override ModuleManifest Manifest { get; }
Property Value
Methods
OnQuiesceAsync()
Stops new work and completes work already accepted by the module.
protected override Task OnQuiesceAsync()
Returns
OnSetup()
Called during synchronous module setup after the module context has been assigned.
protected override void OnSetup()
OnShutdown()
Called in reverse load order after quiescence. This hook is skipped if setup does not complete; use IDisposable for cleanup required on every ownership path.
protected override void OnShutdown()