18 lines
394 B
C#
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();
|
|
}
|
|
}
|