2024-10-25 19:11:43 +08:00

18 lines
394 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 LoadAsync();
Task ReceivedAsync(ITcpSessionClient client, ReceivedDataEventArgs e);
Task SendAsync();
}
}