/// <summary>
 /// Initializes a new instance of the <see cref="HttpTrafficLog"/> class.
 /// </summary>
 /// <param name="theOther">The other log.</param>
 public HttpTrafficLog(HttpTrafficLog theOther)
 {
     this.httpLogs = new List<HttpHeaderLogItem>(theOther.httpLogs);
     this.TotalSizeDataReceived = theOther.TotalSizeDataReceived;
     this.TotalSizeHeadersReceived = theOther.TotalSizeHeadersReceived;
     this.TotalSizeHeadersSent = theOther.TotalSizeHeadersSent;
     this.TotalCountRequestSent = theOther.TotalCountRequestSent;
     this.TotalCountResponseReceived = theOther.TotalCountResponseReceived;
     this.LogTitle = theOther.LogTitle;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpTrafficLog"/> class.
 /// </summary>
 /// <param name="theOther">The other log.</param>
 public HttpTrafficLog(HttpTrafficLog theOther)
 {
     this.exclusiveLock              = new object();
     this.httpLogs                   = new List <HttpHeaderLogItem>(theOther.httpLogs);
     this.TotalSizeDataReceived      = theOther.TotalSizeDataReceived;
     this.TotalSizeHeadersReceived   = theOther.TotalSizeHeadersReceived;
     this.TotalSizeHeadersSent       = theOther.TotalSizeHeadersSent;
     this.TotalCountRequestSent      = theOther.TotalCountRequestSent;
     this.TotalCountResponseReceived = theOther.TotalCountResponseReceived;
     this.LogTitle                   = theOther.LogTitle;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StatisticsSnapshot"/> struct.
 /// </summary>
 /// <param name="http">The HTTP statistics.</param>
 public StatisticsSnapshot(HttpTrafficLog http)
 {
     this.splusmLog = null;
     this.httpLog = new HttpTrafficLog(http);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StatisticsSnapshot"/> struct.
 /// </summary>
 /// <param name="totals">The SM statistics.</param>
 public StatisticsSnapshot(ProtocolMonitorLog totals)
 {
     this.splusmLog = new ProtocolMonitorLog(totals);
     this.httpLog = null;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StatisticsSnapshot"/> struct.
 /// </summary>
 /// <param name="http">The HTTP statistics.</param>
 /// <param name="dur">The time  span.</param>
 public StatisticsSnapshot(HttpTrafficLog http, TimeSpan dur)
 {
     this.duration = dur;
     this.splusmLog = null;
     this.httpLog = new HttpTrafficLog(http);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StatisticsSnapshot"/> struct.
 /// </summary>
 /// <param name="totals">The Protocol statistics.</param>
 /// <param name="dur">The time span.</param>
 public StatisticsSnapshot(ProtocolMonitorLog totals, TimeSpan dur)
 {
     this.duration = dur;
     this.splusmLog = new ProtocolMonitorLog(totals);
     this.httpLog = null;
 }