protected PipeChannel(ChannelOptions <TPackage> options, PipePackageFilter <TPackage> packageFilter) : base(options) { Outgoing = new Pipe(); Incoming = new Pipe(); _packageFilter = packageFilter; _logger = options.ApplicationServices.GetRequiredService <ILogger <PipeChannel <TPackage> > >(); }
public TcpChannelListenerFactory(ILogger <TcpChannelListenerFactory <TPackage, TPackageFilter> > logger, PipePackageFilter <TPackage> pipePackageFilter) { _logger = logger; _pipePackageFilter = pipePackageFilter; }
public TcpPipeChannel(Socket socket, ChannelOptions <TPackage> options, PipePackageFilter <TPackage> pipePackageFilter) : base(options, pipePackageFilter) { _socket = socket; }