IAsyncIOService(对应代码里的IAsyncConnector)

这是一个异步IO服务接口,含有一下几个方法。

 

public interface IAsyncConnector : IDisposable
    {
        
void Connect(EndPoint endPoint);
        ConnectionStatus ConnectionStatus { 
get; }
        
void Send<T>(T msg);
        
void Close();
        
void Close(Boolean isImmediately);
        
void Abort();
    }

相关文章:

  • 2021-12-20
  • 2022-12-23
  • 2022-01-05
  • 2021-09-04
  • 2021-10-05
  • 2021-10-03
  • 2022-12-23
  • 2021-07-19
猜你喜欢
  • 2022-01-26
  • 2021-12-14
  • 2021-05-03
  • 2022-12-23
  • 2022-01-11
  • 2021-07-20
  • 2021-10-14
相关资源
相似解决方案