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.
 
 
 

26 lines
709 B

  1. using JT808.DotNetty.Abstractions.Dtos;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace JT808.DotNetty.Core.Interfaces
  6. {
  7. /// <summary>
  8. /// JT808 Udp会话服务
  9. /// </summary>
  10. public interface IJT808UdpSessionService
  11. {
  12. /// <summary>
  13. /// 获取会话集合
  14. /// </summary>
  15. /// <returns></returns>
  16. JT808ResultDto<List<JT808UdpSessionInfoDto>> GetAll();
  17. /// <summary>
  18. /// 通过设备终端号移除对应会话
  19. /// </summary>
  20. /// <param name="terminalPhoneNo"></param>
  21. /// <returns></returns>
  22. JT808ResultDto<bool> RemoveByTerminalPhoneNo(string terminalPhoneNo);
  23. }
  24. }