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.
 
 
 

16 lines
465 B

  1. using System.Threading.Tasks;
  2. namespace JT808.DotNetty.Abstractions
  3. {
  4. /// <summary>
  5. /// 源包分发器
  6. /// 自定义源包分发器业务
  7. /// ConfigureServices:
  8. /// services.Replace(new ServiceDescriptor(typeof(IJT808SourcePackageDispatcher),typeof(JT808SourcePackageDispatcherDefaultImpl),ServiceLifetime.Singleton));
  9. /// </summary>
  10. public interface IJT808SourcePackageDispatcher
  11. {
  12. Task SendAsync(byte[] data);
  13. }
  14. }