2024-10-25 19:11:43 +08:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using JiShe.CollectBus.Protocol.Contracts.Models;
|
2024-10-12 23:42:15 +08:00
|
|
|
|
using TouchSocket.Sockets;
|
2024-09-30 17:10:43 +08:00
|
|
|
|
|
|
|
|
|
|
namespace JiShe.CollectBus.Protocol.Contracts.Interfaces
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IProtocolPlugin
|
|
|
|
|
|
{
|
2024-10-25 19:11:43 +08:00
|
|
|
|
Task<ProtocolInfo> GetAsync();
|
2024-09-30 17:10:43 +08:00
|
|
|
|
|
2024-10-28 16:23:39 +08:00
|
|
|
|
Task AnalyzeAsync(MessageReceivedEvent messageReceivedEvent);
|
2024-09-30 17:10:43 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|