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
610 B

  1. using JT808.DotNetty.Abstractions.Enums;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace JT808.DotNetty.Abstractions
  7. {
  8. /// <summary>
  9. /// 下行数据包处理接口
  10. /// </summary>
  11. public interface IJT808DownlinkPacket
  12. {
  13. /// <summary>
  14. ///
  15. /// </summary>
  16. /// <param name="data">数据包</param>
  17. /// <param name="protocolType">协议类型:tcp/udp</param>
  18. /// <returns></returns>
  19. Task ProcessorAsync(byte[] data, JT808TransportProtocolType transportProtocolType);
  20. }
  21. }