Example #1
0
        public void MatchReport(IOStream f)
        {
            if (options.verbose <= 1)
            {
                return;
            }

            string report = "total: matches=" + totalMatches + "  tagHits=" + totalTagHits + "  falseAlarms=" +
                            totalFalseAlarms + " data=" + Options.stats.literalData;

            Log.WriteLine(report);
            if (options.amServer)
            {
                f.MplexWrite(MsgCode.MSG_INFO, ASCIIEncoding.ASCII.GetBytes(report), report.Length);
            }
        }
Example #2
0
		public void MatchReport(IOStream f)
		{
			if (options.verbose <= 1)
				return;

			string report = "total: matches=" + totalMatches + "  tagHits=" + totalTagHits +"  falseAlarms=" +
				totalFalseAlarms + " data=" + Options.stats.literalData;

			Log.WriteLine(report);
			if(options.amServer)
			{
				f.MplexWrite(MsgCode.MSG_INFO,ASCIIEncoding.ASCII.GetBytes(report),report.Length);
			}
		}