public OutgoingPipe(NodeConnectionInfo connectionInfo, CancellationToken externalToken, PipeOptions options, TcpListenerPiper listenerPiper) : base(externalToken, options) { _connectionInfo = connectionInfo; _listenerPiper = listenerPiper; _description = _connectionInfo.ToString(); _connectionTask = ConnectionTask(); }
public IncomingPipe(CancellationToken externalToken, PipeOptions options, TcpClient client, TcpListenerPiper parent) : base(externalToken, options) { _parent = parent; _description = client.Client.RemoteEndPoint.ToString(); _connectionTask = ConnectionTask(client); }