public KestrelStackTransport( KestrelServerWithStack server, IEndPointInformation endPointInformation, IConnectionDispatcher dispatcher, IApplicationLifetime applicationLifetime, int ioQueueCount, ISocketsTrace trace) { Debug.Assert(endPointInformation != null); Debug.Assert(endPointInformation.Type == ListenType.IPEndPoint); Debug.Assert(dispatcher != null); Debug.Assert(applicationLifetime != null); Debug.Assert(trace != null); EndPointInformation = endPointInformation; Dispatcher = dispatcher; AppLifetime = applicationLifetime; Trace = trace; this.Server = server; }
public KestrelStackConnectionListener(KestrelServerWithStack server, EndPoint endpoint, SocketTransportOptions options) { this.Server = server; this.EndPoint = endpoint; this._options = options; }
public void SetServer(KestrelServerWithStack server) { this.Server = server; }