14 lines
331 B
C#
14 lines
331 B
C#
using System.Threading.Tasks;
|
|
using JiShe.CollectBus.Protocol.Contracts.Models;
|
|
using TouchSocket.Sockets;
|
|
|
|
namespace JiShe.CollectBus.Protocol.Contracts.Interfaces
|
|
{
|
|
public interface IProtocolPlugin
|
|
{
|
|
Task<ProtocolInfo> GetAsync();
|
|
|
|
Task AnalyzeAsync(MessageReceivedEvent messageReceivedEvent);
|
|
}
|
|
}
|