You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
651 B
23 lines
651 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using CoreAgent.ProtocolClient.Models;
|
|
|
|
namespace CoreAgent.ProtocolClient.BuildProtocolParser
|
|
{
|
|
|
|
/// <summary>
|
|
/// 解析器接口,定义通用的解析方法
|
|
/// </summary>
|
|
public interface IGeneralProtocolParser
|
|
{
|
|
/// <summary>
|
|
/// 解析原始数据,返回解析后的日志对象集合
|
|
/// </summary>
|
|
/// <param name="rawData">原始数据</param>
|
|
/// <returns>解析后的日志对象集合</returns>
|
|
void GeneralParse(ref BuildProtocolLog log);
|
|
}
|
|
}
|
|
|