public SingleThreadedStrategyImpl(MessagesReader reader) : base(reader.LogMedia, reader.StreamEncoding, CloneRegex(reader.formatInfo.HeadRe).Regex, reader.formatInfo.HeadRe.GetHeaderReSplitterFlags(), reader.formatInfo.TextStreamPositioningParams) { this.reader = reader; this.callback = reader.CreateMessageBuilderCallback(); this.bodyRegex = reader.formatInfo.BodyRe.Regex; }
public MultiThreadedStrategyImpl(MessagesReader reader) : base(reader.LogMedia, reader.StreamEncoding, reader.formatInfo.HeadRe.Regex, reader.formatInfo.HeadRe.GetHeaderReSplitterFlags(), reader.formatInfo.TextStreamPositioningParams, null) { this.reader = reader; }